Constructs a new constraint.

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

Syntax

C#
public Constraint(
	Edge edge,
	Constraint..::.ConstraintType type
)
Visual Basic (Declaration)
Public Sub New ( _
	edge As Edge, _
	type As Constraint..::.ConstraintType _
)
Visual C++
public:
Constraint(
	Edge^ edge, 
	Constraint..::.ConstraintType type
)

Parameters

edge
Type: ceometric.VectorGeometry..::.Edge
The edge.
type
Type: ceometric.ComputationalGeometry..::.Constraint..::.ConstraintType
The type of the constraint.

See Also