Ball Class Reference
Three constraint equations.
More...
#include <Constraint.h>
List of all members.
Detailed Description
Three constraint equations.
This constraint enforces coincident location between a point on one body and a point on another body.
The constraint is enforced by an internal (non-working) force applied at the spatial location of the point on body 2, on material points of each body that are coincident with that spatial location. Note that this is somewhat asymmetric when the ball is not properly assembled -- it acts as though the contact occurs at the point on body 2, *not* at the point on body 1.
The assembly condition is the same as the runtime constraint -- the two points can be brought together by driving the perr to zero.
Constructor & Destructor Documentation
Member Function Documentation
Vec3 getAccelerationErrors |
( |
const State & |
|
) |
const |
const Vec3& getBallReactionForceOnBody1 |
( |
const State & |
|
) |
const |
const Vec3& getBallReactionForceOnBody2 |
( |
const State & |
|
) |
const |
MobilizedBodyIndex getBody1MobilizedBodyIndex |
( |
|
) |
const |
MobilizedBodyIndex getBody2MobilizedBodyIndex |
( |
|
) |
const |
const Vec3& getDefaultPointOnBody1 |
( |
|
) |
const |
const Vec3& getDefaultPointOnBody2 |
( |
|
) |
const |
Real getDefaultRadius |
( |
|
) |
const |
const Vec3& getPointOnBody1 |
( |
const State & |
|
) |
const |
const Vec3& getPointOnBody2 |
( |
const State & |
|
) |
const |
Vec3 getPositionErrors |
( |
const State & |
|
) |
const |
Vec3 getVelocityErrors |
( |
const State & |
|
) |
const |
Ball& setDefaultPointOnBody1 |
( |
const Vec3 & |
|
) |
|
Ball& setDefaultPointOnBody2 |
( |
const Vec3 & |
|
) |
|
Ball& setDefaultRadius |
( |
Real |
r |
) |
|
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS |
( |
Ball |
, |
|
|
BallImpl |
, |
|
|
Constraint |
| |
|
) |
| | |
The documentation for this class was generated from the following file: