Skip to content

geos.GEOSisClosed ⇒ number

Tests whether the input geometry is closed. A closed geometry is a linestring or multilinestring with the start and end points being the same.

Kind: global property of geos
Returns: number - 1 on true, 0 on false, 2 on exception

ParamTypeDescription
gGEOSGeometryThe geometry to test

geos.GEOSisClosed_r ⇒ number

Tests whether the input geometry is closed. A closed geometry is a linestring or multilinestring with the start and end points being the same.

Kind: global property of geos
Returns: number - 1 on true, 0 on false, 2 on exception

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe geometry to test