spatialRelationship property

SpatialRelationship spatialRelationship

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

The default spatial relationship is SpatialRelationship.intersects.

Implementation

SpatialRelationship get spatialRelationship {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_QueryParameters_getSpatialRelationship(
      _handle,
      errorHandler,
    );
  });
  return SpatialRelationship._fromCoreValue(
    coreValue,
  );
}
void spatialRelationship=(SpatialRelationship value)

Implementation

set spatialRelationship(SpatialRelationship value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_QueryParameters_setSpatialRelationship(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}