Simbody  3.4 (development)
SimTK::Constraint::PointInPlane Class Reference

One constraint equation. More...

#include <Constraint.h>

+ Inheritance diagram for SimTK::Constraint::PointInPlane:

List of all members.

Public Member Functions

 PointInPlane (MobilizedBody &planeBody_B, const UnitVec3 &defaultPlaneNormal_B, Real defaultHeight, MobilizedBody &followerBody_F, const Vec3 &defaultFollowerPoint_F)
 PointInPlane ()
 Default constructor creates an empty handle.
PointInPlanesetPlaneDisplayHalfWidth (Real)
PointInPlanesetPointDisplayRadius (Real)
Real getPlaneDisplayHalfWidth () const
Real getPointDisplayRadius () const
PointInPlanesetDefaultPlaneNormal (const UnitVec3 &)
PointInPlanesetDefaultPlaneHeight (Real)
PointInPlanesetDefaultFollowerPoint (const Vec3 &)
MobilizedBodyIndex getPlaneMobilizedBodyIndex () const
MobilizedBodyIndex getFollowerMobilizedBodyIndex () const
const UnitVec3getDefaultPlaneNormal () const
Real getDefaultPlaneHeight () const
const Vec3getDefaultFollowerPoint () const
const UnitVec3getPlaneNormal (const State &) const
Real getPlaneHeight (const State &) const
const Vec3getFollowerPoint (const State &) const
Real getPositionError (const State &) const
Real getVelocityError (const State &) const
Real getAccelerationError (const State &) const
Real getMultiplier (const State &) const
Real getForceOnFollowerPoint (const State &) const

Detailed Description

One constraint equation.

This constraint enforces that a point fixed to one body (the "follower body") must travel in a plane fixed on another body (the "plane body"). The constraint is enforced by an internal (non-working) scalar force acting at the spatial location of the follower point, directed along the plane 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 into the plane.


Constructor & Destructor Documentation

SimTK::Constraint::PointInPlane::PointInPlane ( MobilizedBody planeBody_B,
const UnitVec3 defaultPlaneNormal_B,
Real  defaultHeight,
MobilizedBody followerBody_F,
const Vec3 defaultFollowerPoint_F 
)

Default constructor creates an empty handle.


Member Function Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines