geos.GEOSCovers ⇒ number
⏏
Tests whether the first geometry covers the second geometry.
Kind: Exported member
Returns: number
- 1 if the first geometry covers the second geometry, 0 if not, or -1 on error.
Param | Type | Description |
---|---|---|
g1 | number | The first geometry. |
g2 | number | The second geometry. |
geos.GEOSCovers_r ⇒ number
⏏
Tests whether the first geometry covers the second geometry in a given context.
Kind: Exported member
Returns: number
- 1 if the first geometry covers 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. |