geos.GEOSWithin ⇒ number
⏏
Tests if the first geometry is within the second geometry.
Kind: Exported member
Returns: number
- = 1 if true, 0 if false, -1 on error.
Param | Type | Description |
---|---|---|
g1 | number | The first geometry pointer. |
g2 | number | The second geometry pointer. |
geos.GEOSWithin_r ⇒ number
⏏
Tests if the first geometry is within the second geometry in a given context.
Kind: Exported member
Returns: number
- = 1 if true, 0 if false, -1 on error.
Param | Type | Description |
---|---|---|
context | number | A pointer to the GEOS context handle. |
g1 | number | The first geometry pointer. |
g2 | number | The second geometry pointer. |