This document is archived and information here might be outdated.  Recommended version.


ITopologicalOperator.ConvexHull Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

ITopologicalOperator.ConvexHull Method

Constructs the convex hull of this geometry.

[Visual Basic .NET]
Public Function ConvexHull ( _
) As IGeometry
[C#]
public IGeometry ConvexHull (
);
[C++]
HRESULT ConvexHull(
  IGeometry** outHull
);
[C++]

Parameters outHull [out, retval]
outHull is a parameter of type IGeometry

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The ConvexHull of a geometry is the minimal bounding polygon such that all outer angles are convex. The ConvexHull of a point is the point itself.

Remarks

ITopologicalOperator methods must be applied on high-level geometries only. High-Level geometries are point, multipoint, polyline and polygon. To use this method with low-level geometries such as segments (Line, Circular Arc, Elliptic Arc, B�zier Curve), paths or rings, they must be wrapped into high-level geometries types.

This method does not support GeometryBags. 

ConvexHull method does not deal with Z attribute now.

ConvexHull Example

See Also

ITopologicalOperator Interface