SDirectionVectorRotation

struct SDirectionVectorRotation

Defines a rotation about the provided direction vector.

SDirectionVector DirectionVector

DirectionVector (x,y,z) of rotation SDirectionVector.

double Angle

Angle (radians) of rotation.

static const SDirectionVector XDirectionVector

X-direction definition (i.e. DirectionVector(1, 0, 0)).

static const SDirectionVector YDirectionVector

Y-direction definition (i.e. DirectionVector(0, 1, 0)).

static const SDirectionVector ZDirectionVector

Z-direction definition (i.e. DirectionVector(0, 0, 1)).

SDirectionVectorRotation::SDirectionVectorRotation(const SDirectionVector &directionVector, double angle)

Direction vector rotation constructor to define a direction vector-angle pair.

Parameters
  • directionVector – Direction that the rotation is about.

  • angle – Rotation angle [rad].

SDirectionVectorRotation::SDirectionVectorRotation()

Initializes a new instance of SDirectionVectorRotation.