Skip to content
On this page

geos.GEOSCoveredBy ⇒ number

Tests whether the first geometry is covered by the second geometry.

Kind: Exported member
Returns: number - 1 if the first geometry is covered by the second geometry, 0 if not, or -1 on error.

ParamTypeDescription
g1numberThe first geometry.
g2numberThe second geometry.

geos.GEOSCoveredBy_r ⇒ number

Tests whether the first geometry is covered by the second geometry in a given context.

Kind: Exported member
Returns: number - 1 if the first geometry is covered by the second geometry, 0 if not, or -1 on error.

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