Skip to content

geos.GEOSConcaveHull ⇒ GEOSGeometry

Returns a "concave hull" of a geometry. A concave hull is a polygon which contains all the points of the input, but is a better approximation than the convex hull to the area occupied by the input. Frequently used to convert a multi-point into a polygonal area. that contains all the points in the input Geometry.

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the concave hull. NULL on exception.

ParamTypeDescription
gGEOSGeometryThe input geometry
rationumberThe edge length ratio value, between 0 and 1.
allowHolesnumberWhen non-zero, the polygonal output may contain holes.

geos.GEOSConcaveHullByLength ⇒ GEOSGeometry

Returns a "concave hull" of a geometry. A concave hull is a polygon which contains all the points of the input, but is a better approximation than the convex hull to the area occupied by the input. Frequently used to convert a multi-point into a polygonal area. that contains all the points in the input Geometry.

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the concave hull. NULL on exception.

ParamTypeDescription
gGEOSGeometryThe input geometry
lengthnumberThe maximum edge length (0 or greater)
allowHolesnumberWhen non-zero, the polygonal output may contain holes.

geos.GEOSConcaveHullByLength_r ⇒ GEOSGeometry

Returns a "concave hull" of a geometry. A concave hull is a polygon which contains all the points of the input, but is a better approximation than the convex hull to the area occupied by the input. Frequently used to convert a multi-point into a polygonal area. that contains all the points in the input Geometry.

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the concave hull. NULL on exception.

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input geometry
rationumberThe maximum edge length (0 or greater)
allowHolesnumberWhen non-zero, the polygonal output may contain holes.

geos.GEOSConcaveHullOfPolygons ⇒ GEOSGeometry

Constructs a concave hull of a set of polygons, respecting the polygons as constraints.

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the concave hull. NULL on exception.

ParamTypeDescription
gGEOSGeometrythe valid MultiPolygon geometry to process
lengthRationumberspecifies the Maximum Edge Length as a fraction of the difference between the longest and shortest edge lengths between the polygons. This normalizes the Maximum Edge Length to be scale-free. A value of 1 produces the convex hull; a value of 0 produces the original polygons.
isTightnumberis the concave hull allowed to contain holes?
isHolesAllowednumberdoes the hull follow the outer boundaries of the input polygons.

geos.GEOSConcaveHullOfPolygons_r ⇒ GEOSGeometry

Constructs a concave hull of a set of polygons, respecting the polygons as constraints.

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the concave hull. NULL on exception.

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometrythe valid MultiPolygon geometry to process
lengthRationumberspecifies the Maximum Edge Length as a fraction of the difference between the longest and shortest edge lengths between the polygons. This normalizes the Maximum Edge Length to be scale-free. A value of 1 produces the convex hull; a value of 0 produces the original polygons.
isTightnumberis the concave hull allowed to contain holes?
isHolesAllowednumberdoes the hull follow the outer boundaries of the input polygons.

geos.GEOSConcaveHull_r ⇒ GEOSGeometry

Returns a "concave hull" of a geometry. A concave hull is a polygon which contains all the points of the input, but is a better approximation than the convex hull to the area occupied by the input. Frequently used to convert a multi-point into a polygonal area. that contains all the points in the input Geometry.

Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the concave hull. NULL on exception.

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input geometry
rationumberThe edge length ratio value, between 0 and 1.
allowHolesnumberWhen non-zero, the polygonal output may contain holes.