Computes the 2d constraint Delaunay triangulation of a set of points and constraints.
Namespace:
ceometric.ComputationalGeometryAssembly: ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
C# |
---|
public void Triangulate() |
Visual Basic (Declaration) |
---|
Public Sub Triangulate |
Visual C++ |
---|
public: void Triangulate() |
Remarks
Bad constraints will not be considered. A constraint is considered bad if start and / or end
point of the constraint is not contained in the triangulation points. Check the BadConstraints
list of bad constraints have been found.
Exceptions
Exception | Condition |
---|---|
System..::.InvalidOperationException | The TriangulationPoints-property has not been set before. |
System..::.IndexOutOfRangeException | The are less than three TriangulationPoints. |