Skip to content

geos.GEOSArea ⇒ number

Calculate the area of a geometry.

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

ParamTypeDescription
gGEOSGeometryInput geometry
areaNumberPointerPointer to be filled in with area result

geos.GEOSArea_r ⇒ number

Calculate the area of a geometry.

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

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryInput geometry
areaNumberPointerPointer to be filled in with area result