geometry property

Geometry? geometry

The geometry used to filter the results.

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

Implementation

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

Implementation

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