|
|
The Rotation3D type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
Rotation3D()()()() |
Default constructor, makes an Identity rotation
|
|
|
Rotation3D(UnitVector3D, UnitVector3D) |
Creates rotation that rotates vector1 to same direction as vector2
|
|
|
Rotation3D(UnitVector3D, Double) |
Creates rotation about given axis by angle in radians
|
|
|
Rotation3D(UnitVector3D, UnitVector3D, UnitVector3D) |
Creates rotation about axis by angle between v1 and v2 projected onto plane normal to axis.
|
|
|
Rotation3D(Double, Double, Double, Double) |
Creates rotation from 4 components
|
Methods
| Name | Description | |
|---|---|---|
|
|
CreateFromEulerAngles |
Creates a Euler angle rotation.
Parameters are in radians.
Rotation is created by combination of rotations about X, Y and Z axes.
|
|
|
Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from NativeHandle.) |
|
|
Dispose(Boolean) | (Inherited from NativeHandle.) |
|
|
Equals | (Overrides NativeHandle..::..Equals(Object).) |
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from NativeHandle.) |
|
|
GetHashCode | (Overrides NativeHandle..::..GetHashCode()()()().) |
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
Invert |
Returns an inverted version of this rotation (all components inverted)
|
|
|
IsIdentity |
Determines if the Rotation is an identity
|
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
|
Normalize |
Returns a normalized version of this rotation (magnitude of 1)
|
|
|
ToAxisAndAngle |
Calculates an axis and angle representation of this rotation.
|
|
|
ToEulerAngles |
Calculates the Euler angles for this rotation.
|
|
|
TolerantEquals(Rotation3D) |
Equal within a tolerance, treating quaternion as 4D position. Equality of representation, not of rotation.
|
|
|
TolerantEquals(Rotation3D, Double) |
Equal within a tolerance, treating quaternion as 4D position. Equality of representation, not of rotation.
|
|
|
ToString | (Overrides NativeHandle..::..ToString()()()().) |
Properties
| Name | Description | |
|---|---|---|
|
|
A |
The 'A' component of the quaternion
|
|
|
B |
The 'B' component of the quaternion
|
|
|
C |
The 'C' component of the quaternion
|
|
|
D |
The 'D' component of the quaternion
|
|
|
Identity |
Creates an Identity rotation
|
|
|
IsDisposed |
Gets a value indicating whether the object has been disposed and is no longer available.
(Inherited from NativeHandle.) |
|
|
IsReadOnly | (Overrides NativeHandle..::..IsReadOnly.) |
|
|
Item |