Class DistanceConstraint
core.Updatable --+
|
Constraint --+
|
DistanceConstraint
Constructs a constraint that keeps a given distance between two
participants.
|
|
Class Hierarchy for DistanceConstraint
|
constructor DistanceConstraint(id1, iPoint1, id2, iPoint2,
iDistance, iDirection, iMarkupOffset):
-
id1 - The identifier of the first participant. (string)
-
iPoint1 - A point on the first participant to help determine
the distance. (Vector2d)
-
id2 - The identifier of the second participant.
(string)
-
iPoint2 - A point on the second participant to help determine
the distance. (Vector2d)
-
iDistance - The distance between the participants. (Expression)
-
iDirection - The direction of the constraint.
{None,Horizontal,Vertical,ParallelToLine,PerpendicularToLine}
(string)
-
iMarkupOffset - The offset to the markup. (float)
|
The direction of the constraint.
{None,Horizontal,Vertical,ParallelToLine,PerpendicularToLine}
- Returns: string
|