geos.GEOSWithin ⇒ number
⏏
Tests if geometry g1 is completely within g2, but not wholly contained in the boundary of g2.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
geos.GEOSWithin_r ⇒ number
⏏
Tests if geometry g1 is completely within g2, but not wholly contained in the boundary of g2.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |