globalmapper.SpatialPredicate(GM_SpatialPredicates_t16 aPredicate, GM_LayerHandle_t32 aLayer1, GM_LayerHandle_t32 aLayer2, GM_SpatialOps_Params_t aParams) GM_Error_t32[source]

General predicate function. Can be used to perform any of the two-layer spatial predicate functions available in Global Mapper. These are functions in which the order of the input layers matter, as opposed to spatial operations, which will have the same result regardless of order.

Currently, the available predicate functions and their parameter values are:

  • aPredicate (GM_SpatialPredicates_t16) – Predicate(s) to use

  • aLayer1 (GM_LayerHandle_t32) – First layer in predicate

  • aLayer2 (GM_LayerHandle_t32) – Second layer in predicate

  • aParams (GM_SpatialOps_Params_t) – Parameters


Error Code

Return type