Skip to content

geos.GEOSGetInteriorRingN ⇒ number

Returns the N'th ring for a Polygon input.

Kind: global property of geos
Returns: number - LinearRing geometry. Owned by parent geometry, do not free. NULL on exception.

ParamTypeDescription
gGEOSGeometryInput Polygon geometry
nnumberIndex of the desired ring

geos.GEOSGetInteriorRingN_r ⇒ number

Returns the N'th ring for a Polygon input.

Kind: global property of geos
Returns: number - LinearRing geometry. Owned by parent geometry, do not free. NULL on exception.

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryInput Polygon geometry
nnumberIndex of the desired ring