tryConvexHull

fun tryConvexHull(geometries: Iterable<Geometry>, merge: Boolean): List<Geometry>

Calculates the minimum bounding geometry (convex hull) for the geometries in the given collection. If merge is true, returns a single convex hull that encloses all the geometries in the collection as a single geometry in an array. If merge is false, returns the minimum bounding geometry that completely encloses each of the geometries in the given collection as an array of geometries. If geometries is empty, returns an empty array.

Return

The minimum bounding geometry that completely encloses the geometries in the given collection.

Since

200.1.0