Six degree of freedom motion for a rigid body.
virtual void write(Ostream &) const
Write.
virtual autoPtr< sixDoFRigidBodyMotionConstraint > clone() const
Construct and return a clone.
TypeName("axis")
Runtime type information.
const word & name() const
Return the name.
Base class for defining constraints for sixDoF motions.
Orientation constraint: may only rotate around a fixed axis.
virtual bool read(const dictionary &sDoFRBMCCoeff)
Update properties from given dictionary.
axis(const word &name, const dictionary &sDoFRBMCDict, const sixDoFRigidBodyMotion &motion)
Construct from components.
virtual void constrainTranslation(pointConstraint &) const
Apply and accumulate translational constraints.
virtual void constrainRotation(pointConstraint &) const
Apply and accumulate rotational constraints.