Skip to content
On this page

geos.GEOSOverlaps ⇒ number

Tests if two geometries overlap in their interior points.

Kind: Exported member
Returns: number - = 1 if true, 0 if false, -1 on error.

ParamTypeDescription
g1numberThe first geometry pointer.
g2numberThe second geometry pointer.

geos.GEOSOverlaps_r ⇒ number

Tests whether two geometries overlap.

Kind: Exported member
Returns: number - 1 if the geometries overlap, 0 if not, or -1 on error.

ParamTypeDescription
handlenumberA pointer to the GEOS context handle.
g1numberThe first geometry.
g2numberThe second geometry.