Table of Contents

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

points IEnumerable<GeoPoint3>

Returns

GeoSolid3

Of(IEnumerable<GeoPoint3>, Tolerance)

Gets the convex hull of some points, within a tolerance.

public static GeoSolid3 Of(IEnumerable<GeoPoint3> points, Tolerance tolerance)

Parameters

points IEnumerable<GeoPoint3>

The points.

tolerance Tolerance

The 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.