DirectionVectorRotation

struct DirectionVectorRotation

Defines a rotation about the provided direction vector.

static readonly DirectionVector XDirectionVector

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

static readonly DirectionVector YDirectionVector

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

static readonly DirectionVector ZDirectionVector

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

DirectionVectorRotation.DirectionVectorRotation(DirectionVector 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].

DirectionVector DirectionVectorRotation.DirectionVector { get; set; }

double DirectionVectorRotation.Angle { get; set; }