Click or drag to resize

Angles Structure

Represents double precision Euler angles.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public struct Angles

The Angles type exposes the following members.

Constructors
  NameDescription
Public methodAngles(Angles)
Constructs Euler angles with another specified Angles object.
Public methodAngles(Vector3)
Constructs Euler angles with the given Vector3 object.
Public methodAngles(Double, Double, Double)
Constructs Euler angles with the given angles of rotation.
Top
Properties
  NameDescription
Public propertyItem
Gets or sets the component at the specified index.
Top
Methods
  NameDescription
Public methodClamp
Restricts the current instance of Angles to be within a specified range.
Public methodEquals(Object)
Determines whether the specified object is equal to the current instance of Angles.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Angles, Double)
Determines whether the specified Euler angles are equal to the current instance of Angles with a given precision.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNormalize180
Restricts the current instance of Angles to be within a range [-180, 180].
Public methodNormalize360
Restricts the current instance of Angles to be within a range [0, 360].
Public methodStatic memberParse
Converts a string representation of Euler angles into the equivalent Angles structure.
Public methodToAnglesF
Converts the current instance of Angles to the Euler angles of AnglesF format.
Public methodToQuaternion
Converts the current instance of Angles into the equivalent Quaternion structure.
Public methodToString
Returns a String that represents the current instance of Angles.
(Overrides ValueTypeToString.)
Public methodToString(Int32)
Returns a String that represents the current instance of Angles with a given precision.
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Adds two Euler angles.
Public operatorStatic memberDivision
Divides Euler angles by a given scalar.
Public operatorStatic memberEquality
Determines whether two given Euler angles are equal.
Public operatorStatic memberInequality
Determines whether two given Euler angles are unequal.
Public operatorStatic memberMultiply
Multiplies Euler angles by a given value.
Public operatorStatic memberSubtraction
Subtracts Euler angles.
Public operatorStatic memberUnaryNegation
Negates Euler angles.
Top
Fields
  NameDescription
Public fieldPitch
The angle of rotation about the Y axis in degrees.
Public fieldRoll
The angle of rotation about the X axis in degrees.
Public fieldYaw
The angle of rotation about the Z axis in degrees.
Public fieldStatic memberZero
Returns the Euler angles with all of its components set to zero.
Top
Extension Methods
See Also