Computes the convex hull of the input geometries
[Visual Basic .NET] Public Function ConvexHull ( _ ByVal pSR As ISpatialReference, _ ByVal pInGeometryArray As IGeometryArray _ ) As IGeometry
[C#] public IGeometry ConvexHull ( ISpatialReference pSR, IGeometryArray pInGeometryArray );
[C++]
HRESULT ConvexHull(
ISpatialReference* pSR,
IGeometryArray* pInGeometryArray,
IGeometry** pHull
);
[C++]Parameters
pSRpSR is a parameter of type ISpatialReference
pInGeometryArraypInGeometryArray is a parameter of type IGeometryArray
pHull [out, retval]pHull is a parameter of type IGeometry
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
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.