geos.GEOSisRing ⇒ number
⏏
Tests whether the input geometry is a ring. Rings are linestrings, without self-intersections, with start and end point being identical.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
g | GEOSGeometry | The geometry to test |
geos.GEOSisRing_r ⇒ number
⏏
Tests whether the input geometry is a ring. Rings are linestrings, without self-intersections, with start and end point being identical.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g | GEOSGeometry | The geometry to test |