Skip to content

geos.GEOSGetNumInteriorRings ⇒ number

Returns the number of interior rings, for a Polygon input, or an exception otherwise.

Kind: global property of geos
Returns: number - Number of interior rings, -1 on exception

ParamTypeDescription
gGEOSGeometryInput Polygon geometry

geos.GEOSGetNumInteriorRings_r ⇒ number

Returns the number of interior rings, for a Polygon input, or an exception otherwise.

Kind: global property of geos
Returns: number - Number of interior rings, -1 on exception

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryInput Polygon geometry