geos.GEOSConvexHull ⇒ number
⏏
Computes the convex hull of a geometry. The convex hull is the smallest convex geometry that contains all the points in the input geometry.
Kind: Exported member
Returns: number
- A pointer to a new GEOSGeometry object representing the convex hull, or NULL on exception.
See: https://libgeos.org/doxygen/classgeos_1_1algorithm_1_1ConvexHull.html
Param | Type | Description |
---|---|---|
geom | number | A pointer to a GEOSGeometry object. |
geos.GEOSConvexHull_r ⇒ number
⏏
Computes the convex hull of a geometry using a handle. The convex hull is the smallest convex geometry that contains all the points in the input geometry.
Kind: Exported member
Returns: number
- A pointer to a new GEOSGeometry object representing the convex hull, or NULL on exception.
See: https://libgeos.org/doxygen/classgeos_1_1algorithm_1_1ConvexHull.html
Param | Type | Description |
---|---|---|
handle | number | A pointer to a GEOSContextHandle_t object. |
geom | number | A pointer to a GEOSGeometry object. |