41#ifndef sixDoFRigidBodyMotionPointConstraint_H
42#define sixDoFRigidBodyMotionPointConstraint_H
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Accumulates point constraints through successive applications of the applyConstraint function.
const word & name() const
Return the name.
sixDoFRigidBodyMotionConstraint(const word &name, const dictionary &sDoFRBMCDict, const sixDoFRigidBodyMotion &motion)
Construct from the sDoFRBMCDict dictionary and Time.
const sixDoFRigidBodyMotion & motion() const noexcept
Return const access to motion.
virtual ~point()
Destructor.
virtual void setCentreOfRotation(Foam::point &) const
Set the centre of rotation to the point.
virtual void constrainRotation(pointConstraint &) const
Apply and accumulate rotational constraints.
virtual bool read(const dictionary &sDoFRBMCCoeff)
Update properties from given dictionary.
virtual autoPtr< sixDoFRigidBodyMotionConstraint > clone() const
Construct and return a clone.
point(const word &name, const dictionary &sDoFRBMCDict, const sixDoFRigidBodyMotion &motion)
Construct from components.
virtual void constrainTranslation(pointConstraint &) const
Apply and accumulate translational constraints.
TypeName("point")
Runtime type information.
Six degree of freedom motion for a rigid body.
A class for handling words, derived from Foam::string.
Namespace for six DoF motion constraints.
vector point
Point is a vector.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.