toGeometry method

Geometry toGeometry()

Returns Geometry that the geometry builder is constructing or modifying.

Return Value: A new geometry.

Implementation

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