Simbody
3.4 (development)
|
Two constraint equations. More...
#include <Constraint.h>
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.
SimTK::Constraint::PointOnLine::PointOnLine | ( | MobilizedBody & | lineBody_B, |
const UnitVec3 & | defaultLineDirection_B, | ||
const Vec3 & | defaultPointOnLine_B, | ||
MobilizedBody & | followerBody_F, | ||
const Vec3 & | defaultFollowerPoint_F | ||
) |
SimTK::Constraint::PointOnLine::PointOnLine | ( | ) | [inline] |
Default constructor creates an empty handle.
Real SimTK::Constraint::PointOnLine::getLineDisplayHalfLength | ( | ) | const |
Real SimTK::Constraint::PointOnLine::getPointDisplayRadius | ( | ) | const |
const UnitVec3& SimTK::Constraint::PointOnLine::getDefaultLineDirection | ( | ) | const |
const Vec3& SimTK::Constraint::PointOnLine::getDefaultPointOnLine | ( | ) | const |
const Vec3& SimTK::Constraint::PointOnLine::getDefaultFollowerPoint | ( | ) | const |
const UnitVec3& SimTK::Constraint::PointOnLine::getLineDirection | ( | const State & | ) | const |
const Vec3& SimTK::Constraint::PointOnLine::getPointOnLine | ( | const State & | ) | const |
const Vec3& SimTK::Constraint::PointOnLine::getFollowerPoint | ( | const State & | ) | const |
Vec2 SimTK::Constraint::PointOnLine::getPositionErrors | ( | const State & | ) | const |
Vec2 SimTK::Constraint::PointOnLine::getVelocityErrors | ( | const State & | ) | const |
Vec2 SimTK::Constraint::PointOnLine::getAccelerationErrors | ( | const State & | ) | const |
Vec2 SimTK::Constraint::PointOnLine::getMultipliers | ( | const State & | ) | const |
const Vec2& SimTK::Constraint::PointOnLine::getForceOnFollowerPoint | ( | const State & | ) | const |