Public Sub New()
public DistanceConstraint();
Default constructor. The direction type is set to NotDirected.