toGeometry method

Geometry toGeometry()

Returns the geometry this geometry builder is constructing or modifying.

Return Value: A geometry. This is passed to geometry functions.

Implementation

Geometry toGeometry() {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeometryBuilder_toGeometry(_handle, errorHandler);
  });
  return Geometry._fromHandle(objectHandle)!;
}