GM_SpatialDifference

Performs the Difference spatial operation. The aLayer1 and aLayer2 layer parameters must not be NULL. The mResultLayerName parameter specifies the result layer name, and may not be NULL.

The result layer 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_SpatialDifference
(
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
)