Spatial Search Boundaries
Specify selection criteria for extracting objects via a spatial boundary.
Developer may specify the “exactness” of the boundary test:
- Point in boundary - only center of object tested
- Box in boundary - box around the object is tested
- Boundary vs. boundary - the geometry of the object is tested
extern SE_STATUS_CODE_ENUM
SE_CreateSpatialSearchBoundary(
const SE_SEARCH_BOUNDS *bounds_ptr,
SE_SEARCH_BOUNDS_CLOSURE_ENUM search_bounds_closure,
SE_SEARCH_QUALITY_ENUM search_quality,
SE_INCLUSION_CHOICE_ENUM inclusion,
SE_SEARCH_DIMENSION_ENUM search_dimension,
SE_SEARCH_BOUNDARY *search_boundary_out_ptr);
Developer may specify whether object must be fully contained by the boundary or merely intersect it.
Supports 2D searches for Geodetic and projected coordinate systems
When done, free using SE_FreeSpatialSearchBoundary().