67 #ifndef Foam_coordinateRotations_euler_H 68 #define Foam_coordinateRotations_euler_H 77 namespace coordinateRotations
86 public coordinateRotation
128 euler(scalar angle1, scalar angle2, scalar angle3,
bool degrees);
141 virtual ~euler() =
default;
162 virtual void clear();
coordinateRotations::euler EulerCoordinateRotation
Compatibility typedef 1806.
TypeNameNoDebug("euler")
Runtime type information.
virtual tensor R() const
The rotation tensor calculated for the specified Euler angles.
static autoPtr< coordinateRotation > Clone(const Derived &crot)
Clone a coordinate rotation.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
quaternion::eulerOrder eulerOrder
Euler-angle rotation order.
virtual ~euler()=default
Destructor.
virtual void clear()
Reset specification.
A coordinateRotation defined in the z-x-z (intrinsic) Euler convention.
A class for handling words, derived from Foam::string.
virtual void writeEntry(const word &keyword, Ostream &os) const
Write dictionary entry.
eulerOrder
Euler-angle rotation order.
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...
OBJstream os(runTime.globalPath()/outputName)
static tensor rotation(const vector &angles, bool degrees=false)
Rotation tensor calculated for the intrinsic Euler angles in z-x-z order.
euler()
Default construct - an identity transform.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Tensor of scalars, i.e. Tensor<scalar>.
virtual void write(Ostream &os) const
Write information.
autoPtr< coordinateRotation > clone() const
Return clone.