geometry property

Geometry? geometry

The geometry used to filter the results.

The geometry that (along with the QueryParameters.spatialRelationship) defines features to be included in the query.

Implementation

Geometry? get geometry {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_QueryParameters_getGeometry(
      _handle,
      errorHandler,
    );
  });
  return Geometry._fromHandle(
    objectHandle,
  );
}
void geometry=(Geometry? value)

Implementation

set geometry(Geometry? value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_QueryParameters_setGeometry(
      _handle,
      value?._handle ?? ffi.nullptr,
      errorHandler,
    );
  });
}