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