41 #ifndef sixDoFRigidBodyMotionPlaneConstraint_H 42 #define sixDoFRigidBodyMotionPlaneConstraint_H 51 namespace sixDoFRigidBodyMotionConstraints
65 point centreOfRotation_;
Six degree of freedom motion for a rigid body.
const sixDoFRigidBodyMotion & motion() const noexcept
Return const access to motion.
virtual void setCentreOfRotation(point &) const
Set the centre of rotation to the projection of the.
virtual void write(Ostream &) const
Write.
const word & name() const
Return the name.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool read(const dictionary &sDoFRBMCCoeff)
Update properties from given dictionary.
Base class for defining constraints for sixDoF motions.
virtual ~plane()
Destructor.
TypeName("plane")
Runtime type information.
virtual autoPtr< sixDoFRigidBodyMotionConstraint > clone() const
Construct and return a clone.
A class for handling words, derived from Foam::string.
plane(const word &name, const dictionary &sDoFRBMCDict, const sixDoFRigidBodyMotion &motion)
Construct from components.
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...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual void constrainTranslation(pointConstraint &) const
Apply and accumulate translational constraints.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Translation constraint on the centre of rotation: fixed in space.
virtual void constrainRotation(pointConstraint &) const
Apply and accumulate rotational constraints.
Translation constraint on the centre of rotation: may only move on a plane.