Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: IEnumerable<TriangleD> DelaunayConstrained(IEnumerable<PointD>, IEnumerable<EdgeD>)

Declaration

public static IEnumerable<TriangleD> DelaunayConstrained(
    IEnumerable<PointD> vertices,
    IEnumerable<EdgeD> requiredEdges
)

Summary

Constructs a Delaunay-like triangulation constrained to contain all edges listed in requiredEdges. The implementation is naive and very slow for larger meshes, because instead of incrementally re-triangulating only the affected triangles upon an edge split, it performs a full triangulation every time.