| QuaternionDAngle Property |
Gets or sets the angle of the rotation around
Axis.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax [XmlIgnoreAttribute]
[ContentSerializerIgnoreAttribute]
public double Angle { get; set; }
<XmlIgnoreAttribute>
<ContentSerializerIgnoreAttribute>
Public Property Angle As Double
Get
Set
public:
[XmlIgnoreAttribute]
[ContentSerializerIgnoreAttribute]
property double Angle {
double get ();
void set (double value);
}
[<XmlIgnoreAttribute>]
[<ContentSerializerIgnoreAttribute>]
member Angle : float with get, set
Property Value
Type:
DoubleThe angle in radians.
Remarks
Setting the angle influences all components of the quaternion. The result is a unit
quaternion that specifies a rotation of angle radians around the axis given by
Axis.
This property assumes that the quaternion is a unit quaternion. It returns
NaN if the w component is numerically greater than 1.0 or less than
-1.0.
See Also