PointBuilder.fromPoint constructor

PointBuilder.fromPoint(
  1. ArcGISPoint? point
)

Creates a point builder from the specified point.

The SpatialReference of the new point builder will match that of the specified ArcGISPoint.

Parameters:

  • point — The point object.

Implementation

factory PointBuilder.fromPoint(ArcGISPoint? point) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_PointBuilder_createFromPoint(
        point?._handle ?? ffi.nullptr, errorHandler);
  });
  return PointBuilder._withHandle(handle);
}