Computes the 2d constraint Delaunay triangulation of a set of points and constraints.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public void Triangulate(
	bool throwOnBadConstraints
)
Visual Basic (Declaration)
Public Sub Triangulate ( _
	throwOnBadConstraints As Boolean _
)
Visual C++
public:
void Triangulate(
	bool throwOnBadConstraints
)

Parameters

throwOnBadConstraints
Type: System..::.Boolean
True if an exception shall be thrown if bad constraints have been found, false otherwise.

Remarks

A constraint is considered bad if start and / or end point of the constraint is not contained in the triangulation points. If bad constraints are found and throwOnBadConstraints is set to false, only valid constraints will be considered.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe TriangulationPoints-property has not been set before.
System..::.IndexOutOfRangeExceptionThe are less than three TriangulationPoints.

See Also