Triangulation-related routines.
| IEnumerable<ValueTuple<int, int>> | |
Generates a Delaunay triangulation of the input points. |
| ValueTuple<List<PointD>, IEnumerable<ValueTuple<int, int>>, HashSet<ValueTuple<int, int>>> | |
Generates a Delaunay triangulation of the specified polygons, supporting arbitrary nesting of islands and holes,
but not supporting self-intersections. Additional vertices may be inserted only on the polygon edge, to maintain
the Delaunay property. Unless a single convex polygon is passed in, the result includes edges outside the area
defined by the polygons. |
| IEnumerable<ValueTuple<int, int>> | DelaunayEdgesConstrained(List<PointD> vertices, HashSet<ValueTuple<int, int>> requiredEdges, Dictionary<ValueTuple<int, int>, ValueTuple<int, int>> splitEdges = null) |
Generates a Delaunay triangulation of the input points. Ensures that requiredEdges are all
present in the triangulation, by inserting new vertices as necessary. |
| IEnumerable<TriangleD> | |
Generates a Delaunay triangulation of the input points. |
| List<TriangleD> | |
Generates a Delaunay triangulation of the specified polygons. The triangles cover the inside area defined by the
polygons, supporting arbitrary nesting of islands and holes, but not supporting self-intersections. Additional
vertices may be inserted only on the polygon edge, to maintain the Delaunay property. |
| IEnumerable<TriangleD> | |
Generates triangles from a valid triangulation defined by a list of edges. |
| List<ValueTuple<int, int, int>> | |
Finds triangles in a valid triangulation defined by a list of edges. |