Skip to content

geos.GEOSPointOnSurface ⇒ GEOSGeometry

Returns a point that is inside the boundary of a polygonal geometry.

Kind: global property of geos
Returns: GEOSGeometry - A point that is inside the input Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
gGEOSGeometryThe input geometry

geos.GEOSPointOnSurface_r ⇒ GEOSGeometry

Returns a point that is inside the boundary of a polygonal geometry.

Kind: global property of geos
Returns: GEOSGeometry - A point that is inside the input Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input geometry