clearGeometry method

void clearGeometry()

Clears the current geometry being edited.

Sets GeometryEditor.geometry to an empty geometry (Geometry.isEmpty = true). The GeometryType is maintained - to edit a different type of geometry, restart the GeometryEditor with the required type.

Implementation

void clearGeometry() {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GeometryEditor_clearGeometry(
      _handle,
      errorHandler,
    );
  });
}