Maths.Boundary.ConvexHull2D

References
public sealed class Maths.Boundary.ConvexHull2D
Encapsulates the indices (in anti-clockwise order) of all the points in a 2D point set which lie on the convex hull polygon.

Properties

Count

#
public int Count { get; }
Gets the number of hull points.

Indexers

this[]

#
public int this[int index] { get; }
Gets the index of the given hull point.
index (int)

Methods

From0

#
public static Maths.Boundary.ConvexHull2D From0()
Create an empty hull.

From1

#
public static Maths.Boundary.ConvexHull2D From1(int index)
Create a hull around a single index.
index (int)

From2

#
public static Maths.Boundary.ConvexHull2D From2(Point2d a, Point2d b, int i, int j)
Create a hull from two points.
a (Point2d)
b (Point2d)
i (int)
j (int)

ToArray

#
public int[] ToArray()
Create an array of hull indices.