Method Of
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
Of(IEnumerable<GeoPoint3>)
Gets the convex hull of some points, using the default tolerance.
public static GeoSolid3 Of(IEnumerable<GeoPoint3> points)
Parameters
pointsIEnumerable<GeoPoint3>
Returns
Of(IEnumerable<GeoPoint3>, Tolerance)
Gets the convex hull of some points, within a tolerance.
public static GeoSolid3 Of(IEnumerable<GeoPoint3> points, Tolerance tolerance)
Parameters
pointsIEnumerable<GeoPoint3>The points.
toleranceToleranceThe tolerance deciding whether a point lies on the hull.
Returns
- GeoSolid3
The hull, closed and wound outwards, its corners taken from the points.
Exceptions
- ArgumentNullException
Thrown when the points are null.
- ArgumentException
Thrown when the points span no volume: fewer than four, or all in one plane.