Constraint::PointInPlane Class Reference

#include <Constraint.h>

Inheritance diagram for Constraint::PointInPlane:

Constraint PIMPLHandle

List of all members.


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.

Public Member Functions

 PointInPlane (MobilizedBody &planeBody_B, const UnitVec3 &defaultPlaneNormal_B, Real defaultHeight, MobilizedBody &followerBody_F, const Vec3 &defaultFollowerPoint_F)
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
 SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (PointInPlane, PointInPlaneImpl, Constraint)


Constructor & Destructor Documentation

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


Member Function Documentation

PointInPlane& setPlaneDisplayHalfWidth ( Real   ) 

PointInPlane& setPointDisplayRadius ( Real   ) 

Real getPlaneDisplayHalfWidth (  )  const

Real getPointDisplayRadius (  )  const

PointInPlane& setDefaultPlaneNormal ( const UnitVec3  ) 

PointInPlane& setDefaultPlaneHeight ( Real   ) 

PointInPlane& setDefaultFollowerPoint ( const Vec3  ) 

MobilizedBodyIndex getPlaneMobilizedBodyIndex (  )  const

MobilizedBodyIndex getFollowerMobilizedBodyIndex (  )  const

const UnitVec3& getDefaultPlaneNormal (  )  const

Real getDefaultPlaneHeight (  )  const

const Vec3& getDefaultFollowerPoint (  )  const

const UnitVec3& getPlaneNormal ( const State  )  const

Real getPlaneHeight ( const State  )  const

const Vec3& getFollowerPoint ( 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

SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS ( PointInPlane  ,
PointInPlaneImpl  ,
Constraint   
)


The documentation for this class was generated from the following file:

Generated on Fri Sep 26 07:44:31 2008 for SimTKcore by  doxygen 1.5.6