Skip to content

geos.GEOSConvexHull ⇒ GEOSGeometry

Returns convex hull of a geometry. The smallest convex Geometry that contains all the points in the input Geometry

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the convex hull. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
gGEOSGeometryThe input geometry

geos.GEOSConvexHull_r ⇒ GEOSGeometry

Returns convex hull of a geometry. The smallest convex Geometry that contains all the points in the input Geometry

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the convex hull. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input geometry