Maths.Boundary

public static class Maths.Boundary
Methods for finding various kinds of boundaries.

Methods

FindAntipodalPoints

#
Find all antipodal point pairs in a two dimensional set.
public static IEnumerable<(int a, int b)> FindAntipodalPoints(
points,
Points to examine.
convexHull
Convex hull of point set.
)
Array of index pairs.

FindAntipodalPoints

#
Find all antipodal point pairs in a two dimensional set.
public static IEnumerable<(int a, int b)> FindAntipodalPoints(
points
Points to examine.
)
Array of index pairs.

FindConvexHull

#
Compute the convex hull of a set of two-dimensional points, using Andrew's monotone chain algorithm.
public static Maths.Boundary.ConvexHull2D FindConvexHull(
points
Points.
)
Indices of points on hull, counter-clockwise from the lowest point.