Implementation
@visibleForTesting
RT_SpatialRelationship get coreValue => switch (this) {
unknown => RT_SpatialRelationship.RT_SpatialRelationship_unknown,
relate => RT_SpatialRelationship.RT_SpatialRelationship_relate,
equals => RT_SpatialRelationship.RT_SpatialRelationship_equals,
disjoint => RT_SpatialRelationship.RT_SpatialRelationship_disjoint,
intersects => RT_SpatialRelationship.RT_SpatialRelationship_intersects,
touches => RT_SpatialRelationship.RT_SpatialRelationship_touches,
crosses => RT_SpatialRelationship.RT_SpatialRelationship_crosses,
within => RT_SpatialRelationship.RT_SpatialRelationship_within,
contains => RT_SpatialRelationship.RT_SpatialRelationship_contains,
overlaps => RT_SpatialRelationship.RT_SpatialRelationship_overlaps,
envelopeIntersects =>
RT_SpatialRelationship.RT_SpatialRelationship_envelopeIntersects,
indexIntersects =>
RT_SpatialRelationship.RT_SpatialRelationship_indexIntersects,
};