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. |
Return Value
A single geometry, usually a polygon but possibly a polyline or a point.
Remarks
The convex hull of a set of points, polylines and polygons is shown below. If all the inputs are collinear, than a polyline will be returned instead of a polygon. If all inputs are located at a single point, then that point will be returned.
|
Figure 1 - Convex hull of a set of point, polylines and polygons.