Skip to content

geos.GEOSLength ⇒ number

Calculate the length of a geometry.

Kind: global property of geos
Returns: number - 1 on success, 0 on exception.

ParamTypeDescription
gGEOSGeometryInput geometry
lengthNumberPointerPointer to be filled in with length result

geos.GEOSLength_r ⇒ number

Calculate the length of a geometry.

Kind: global property of geos
Returns: number - 1 on success, 0 on exception.

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryInput geometry
lengthNumberPointerPointer to be filled in with length result