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.
Param | Type | Description |
---|---|---|
g1 | number | The first geometry. |
g2 | number | The 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.
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | The first geometry. |
g2 | number | The second geometry. |