Namespaces

Types in MathNet.Spatial.Euclidean

Type EulerAngles

Namespace MathNet.Spatial.Euclidean

Parent ValueType

Interfaces IEquatable<EulerAngles>, IXmlSerializable

A means of representing spatial orientation of any reference frame. More information can be found https://en.wikipedia.org/wiki/Euler_angles

Constructors

Methods

Properties

Public Constructors

EulerAngles(Angle alpha, Angle beta, Angle gamma)

Initializes a new instance of the EulerAngles struct. Constructs a EulerAngles from three provided angles
Parameters
Angle alpha

The alpha angle is the rotation around the z axis

Angle beta

The beta angle is the rotation around the N axis

Angle gamma

The gamma angle is the rotation around the Z axis

Public Methods

bool Equals(EulerAngles other, double tolerance)

Returns a value to indicate if this EulerAngles is equivalent to a given EulerAngles
Parameters
EulerAngles other

The EulerAngles to compare against.

double tolerance

A tolerance (epsilon) to adjust for floating point error

Return
bool

true if the EulerAngles are equal; otherwise false

bool Equals(EulerAngles other, Angle tolerance)

Returns a value to indicate if this EulerAngles is equivalent to a given EulerAngles
Parameters
EulerAngles other

The EulerAngles to compare against.

Angle tolerance

A tolerance (epsilon) to adjust for floating point error

Return
bool

true if the EulerAngles are equal; otherwise false

bool Equals(EulerAngles other)

bool Equals(object obj)

int GetHashCode()

Type GetType()

bool IsEmpty()

Checks if the EulerAngles are empty
Return
bool

true if the angles have not been set

string ToString()

Public Properties

Angle Alpha get; set;

Alpha (or phi) is the rotation around the z axis

Angle Beta get; set;

Beta (or theta) is the rotation around the N axis

Angle Gamma get; set;

Gamma (or psi) is the rotation around the Z axis