ITopologicalOperator.ConvexHull Method
Constructs the convex hull of this geometry.
[C#]public IGeometry ConvexHull ();
Product Availability
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.

早知道有这个方法,之前就不用那么吃力的去计算了。。。。。。。
本文介绍了ITopologicalOperator接口中的ConvexHull方法,该方法用于构建几何对象的凸包,即最小的凸多边形,使得所有外角都是凸的。凸包方法适用于点、多点、折线和多边形等高级几何类型。对于低级几何类型如线段、路径或环,必须先将其包装为高级几何类型才能使用此方法。

2163

被折叠的 条评论
为什么被折叠?



