39 #ifndef sixDoFRigidBodyMotionPointConstraint_H 40 #define sixDoFRigidBodyMotionPointConstraint_H 50 namespace sixDoFRigidBodyMotionConstraints
Six degree of freedom motion for a rigid body.
const word & name() const
Return the name.
virtual ~point()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool read(const dictionary &sDoFRBMCCoeff)
Update properties from given dictionary.
virtual autoPtr< sixDoFRigidBodyMotionConstraint > clone() const
Construct and return a clone.
Base class for defining constraints for sixDoF motions.
virtual void constrainTranslation(pointConstraint &) const
Apply and accumulate translational constraints.
TypeName("point")
Runtime type information.
virtual void constrainRotation(pointConstraint &) const
Apply and accumulate rotational constraints.
A class for handling words, derived from string.
Accumulates point constraints through successive applications of the applyConstraint function...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
point(const word &name, const dictionary &sDoFRBMCDict, const sixDoFRigidBodyMotion &motion)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Translation constraint on the centre of rotation: fixed in space.
virtual void setCentreOfRotation(Foam::point &) const
Set the centre of rotation to the point.