PointOnLine Class Reference
Two constraint equations.
More...
#include <Constraint.h>
List of all members.
Detailed Description
Two constraint equations.
This constraint enforces that a point fixed to one body (the "follower body") must travel along a line fixed on another body (the "line body"). The constraint is enforced by an internal (non-working) scalar force acting at the spatial location of the follower point, directed in the plane for which the line is a normal, and equal and opposite on the two bodies.
The assembly condition is the same as the run-time constraint: the point has to be moved onto the line.
Constructor & Destructor Documentation
Member Function Documentation
Vec2 getAccelerationErrors |
( |
const State & |
|
) |
const |
const Vec3& getDefaultFollowerPoint |
( |
|
) |
const |
const UnitVec3& getDefaultLineDirection |
( |
|
) |
const |
const Vec3& getDefaultPointOnLine |
( |
|
) |
const |
MobilizedBodyIndex getFollowerMobilizedBodyIndex |
( |
|
) |
const |
const Vec3& getFollowerPoint |
( |
const State & |
|
) |
const |
const Vec2& getForceOnFollowerPoint |
( |
const State & |
|
) |
const |
Real getLineDisplayHalfLength |
( |
|
) |
const |
MobilizedBodyIndex getLineMobilizedBodyIndex |
( |
|
) |
const |
Real getPointDisplayRadius |
( |
|
) |
const |
const Vec3& getPointOnLine |
( |
const State & |
|
) |
const |
Vec2 getPositionErrors |
( |
const State & |
|
) |
const |
Vec2 getVelocityErrors |
( |
const State & |
|
) |
const |
The documentation for this class was generated from the following file: