Skip to content

geos.GEOSDisjoint ⇒ number ⏏ ​

Tests if two geometries have no point in common.

Kind: global property of geos
Returns: number - 1 on true, 0 on false, 2 on exception

ParamTypeDescription
g1GEOSGeometryInput geometry
g2GEOSGeometryInput geometry

geos.GEOSDisjointSubsetUnion ⇒ GEOSGeometry ⏏ ​

Optimized union algorithm for inputs that can be divided into subsets that do not intersect. If there is only one such subset, performance can be expected to be worse than GEOSUnionaryUnion.

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the union, or NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
gGEOSGeometryThe input geometry

geos.GEOSDisjointSubsetUnion_r ⇒ GEOSGeometry ⏏ ​

Optimized union algorithm for inputs that can be divided into subsets that do not intersect. If there is only one such subset, performance can be expected to be worse than GEOSUnionaryUnion.

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the union, or NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input geometry

geos.GEOSDisjoint_r ⇒ number ⏏ ​

Tests if two geometries have no point in common.

Kind: global property of geos
Returns: number - 1 on true, 0 on false, 2 on exception

ParamTypeDescription
handleGEOSContextHandle_t-
g1GEOSGeometryInput geometry
g2GEOSGeometryInput geometry