Skip to main content

PointConstraint

class PointConstraint

Component responsible for interconnecting two objects.


public class PointConstraint extends Component

— Constructors (1) —

ConstructorDescription
PointConstraint()Creates a new instance of PointConstraint.

— Methods (8) —

NameDescription
SpatialObject getObjectA()Returns the PointConstraint object A.
void setObjectA(SpatialObject object)Sets the PointConstraint object A.
SpatialObject getObjectB()Returns the PointConstraint object B.
void setObjectB(SpatialObject object)Sets the PointConstraint object B.
SpatialObject getPointA()Returns the A point of the PointConstraint.
void setPointA(SpatialObject object)Sets the A point of the PointConstraint.
SpatialObject getPointB()Returns the B point of the PointConstraint.
void setPointB(SpatialObject object)Sets the B point of the PointConstraint.