59 #ifndef Foam_coordinateRotations_axisAngle_H 60 #define Foam_coordinateRotations_axisAngle_H 68 namespace coordinateRotations
77 public coordinateRotation
155 virtual void clear();
TypeNameNoDebug("axisAngle")
Runtime type information.
virtual void write(Ostream &os) const
Write information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void clear()
Reset specification.
autoPtr< coordinateRotation > clone() const
Return clone.
A class for handling words, derived from Foam::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual ~axisAngle()=default
Destructor.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
axisAngle()
Default construct. Axis = Z, angle = 0.
static tensor rotation(const vector &axis, const scalar angle, bool degrees=false)
The rotation tensor for given axis/angle.
components
Component labeling enumeration.
A coordinateRotation specified by a rotation axis and a rotation angle about that axis...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual void writeEntry(const word &keyword, Ostream &os) const
Write dictionary entry.
Tensor of scalars, i.e. Tensor<scalar>.
virtual tensor R() const
Calculate and return the rotation tensor calculated from axis and angle.