Geometry service ConvexHull method
The ConvexHull method constructs the convex hull of the input geometries.
ConvexHull(SpatialReference SpatialReference, Geometry[] InGeometryArray)
Parameter |
Description |
---|---|
SpatialReference |
The spatial reference of the input polygons and polylines. This cannot be null. |
InGeometryArray |
An array of geometries of mixed type. |
Remarks
The convex hull of a set of geometric features is the smallest polygon which contains all the features in the set and is such that the line segment between any two points in the convex hull is also contained in the convex hull. The convex hull of a set of points, polylines, and polygons is shown below. If all the inputs are collinear, then a polyline will be returned instead of a polygon. If all inputs are located at a single point, then that point will be returned.