EulerAngle

Summary

Represents a 3D rotation expressed as intrinsic Euler angles (pitch, yaw, and roll) with a specified rotation order.

Definition

Namespace: SDT4.Managed.Core.Math
Assembly: SDT4.Managed.Core.dll

struct EulerAngle
Implements:

IEquatable<EulerAngle>

Fields

Name Type Description
public static DefaultOrder EulerOrder The default intrinsic rotation order (EulerOrder.YXZ).
public x Single The pitch rotation angle in radians (rotation about the X-axis).
public y Single The yaw rotation angle in radians (rotation about the Y-axis).
public z Single The roll rotation angle in radians (rotation about the Z-axis).
public Order EulerOrder The sequence in which the rotational axes are evaluated.

Properties

Name Type Description
public get; Pitch Single Gets the pitch angle in radians (equivalent to EulerAngle.x).
public get; Yaw Single Gets the yaw angle in radians (equivalent to EulerAngle.y).
public get; Roll Single Gets the roll angle in radians (equivalent to EulerAngle.z).

Methods

public Quaternion ToQuaternion()

Summary: Converts this Euler angle representation into an equivalent orientation Quaternion.

Returns:


public Matrix3x3f ToRotationMatrix()

Summary: Converts this Euler angle representation into a Matrix3x3f.

Returns:


public Boolean Equals(EulerAngle other)

Summary: Determines whether the specified EulerAngle is equal to the current instance.

Parameters:

Returns:


public virtual Boolean Equals(Object? obj)

Summary: Determines whether the specified object is an EulerAngle and is equal to the current instance.

Parameters:

Returns:


public virtual Int32 GetHashCode()

Summary: Returns the hash code for this Euler angle instance.

Returns:


public virtual String ToString()

Summary: Returns a culture-invariant string representation of the Euler angles in degrees, alongside its rotation order.

Returns: