GM_SpatialIntersects

Performs the Intersects spatial predicate. The layer parameters aLayer1 and aLayer2 must not be NULL.The aParams's mPredicateResultTarget parameter specifies the result target type. If it's equal to GM_PredicateResult_CreateNewLayer, then the aParams' mResultLayerName parameter must not be NULL.

The result layer, if handle is returned in the aParams' mResultLayer member; it will be NULL if the operation fails.

Syntax

C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_SpatialIntersects
(
GM_LayerHandle_t32           aLayer1,     // IN: First layer in predicate
GM_LayerHandle_t32           aLayer2,     // IN: Second layer in predicate
GM_SpatialOps_Params_t*      aParams      // IN: Parameters
)