프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Identity | |||
W | double | ||
WAxis | |||
X | double | ||
XAxis | |||
Y | double | ||
YAxis | |||
Z | double | ||
ZAxis | Quaterniond | ||
Zero | Quaterniond |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Mult | |||
Mult | void |
메소드 | 설명 | |
---|---|---|
Add ( left, right ) : |
Add two quaternions
|
|
Add ( &Quaterniond ) : void | ||
Add ( &Quaterniond, &result ) : void | ||
Add ( &left, &right, &result ) : void |
Add two quaternions
|
|
Conjugate ( q ) : |
Get the conjugate of the given Quaterniond
|
|
Conjugate ( ) : void |
Convert this Quaterniond to its conjugate
|
|
Conjugate ( &result ) : void | ||
Conjugate ( &q, &result ) : void |
Get the conjugate of the given Quaterniond
|
|
Divide ( &Quaterniond, double scalar, &result ) : void | ||
Divide ( double scalar ) : void | ||
Divide ( double scalar, &result ) : void | ||
DotProduct ( left, right ) : double | ||
Equals ( other ) : bool |
Compares this Quaterniond instance to another Quaterniond for equality.
|
|
Equals ( object other ) : bool |
Compares this object instance to another object for equality.
|
|
Exp ( ) : void | ||
Exp ( &result ) : void | ||
Exp ( &Quaterniond, &result ) : void | ||
FromAxisAngle ( OpenTK.Vector3d axis, double angle ) : |
Build a Quaterniond from the given axis and angle
|
|
GetAxisAndAngle ( OpenTK.Vector3d &axis, double &angle ) : void | ||
GetHashCode ( ) : int |
Provides the hash code for this object.
|
|
Inverse ( ) : void | ||
Inverse ( &result ) : void | ||
Inverse ( &Quaterniond, &result ) : void | ||
Invert ( q ) : |
Get the inverse of the given Quaterniond
|
|
Invert ( &q, &result ) : void |
Get the inverse of the given Quaterniond
|
|
Log ( ) : void | ||
Log ( &result ) : void | ||
Log ( &Quaterniond, &result ) : void | ||
Matrix4d ( OpenTK.Matrix4d &result ) : void |
Returns left matrix for this Quaterniond.
|
|
Multiply ( left, right ) : |
Multiplies two instances.
|
|
Multiply ( quaternion, double scale ) : |
Multiplies an instance by a scalar.
|
|
Multiply ( &Quaterniond ) : void | ||
Multiply ( &Quaterniond, &result ) : void | ||
Multiply ( &left, &right, &result ) : void |
Multiplies two instances.
|
|
Multiply ( &quaternion, double scale, &result ) : void |
Multiplies an instance by a scalar.
|
|
Multiply ( double scalar ) : void | ||
Multiply ( double scalar, &result ) : void | ||
Normalize ( q ) : |
Scale the given Quaterniond to unit length
|
|
Normalize ( ) : void |
Scales the Quaterniond to unit length.
|
|
Normalize ( &result ) : void | ||
Normalize ( &q, &result ) : void |
Scale the given Quaterniond to unit length
|
|
Parse ( string str, &result ) : void |
Parses left string, converting it to left Quaterniond.
|
|
Quaterniond ( &Quaterniond ) : System |
Constructs left Quaterniond that is left copy of the given Quaterniond.
|
|
Quaterniond ( Array doubleArray ) : System |
Constructs left Quaterniond from the given array of double-precision floating-point numbers.
|
|
Quaterniond ( OpenTK.Matrix3d &matrix ) : System | ||
Quaterniond ( OpenTK.Matrix4d &matrix ) : System |
Constructs left Quaterniond from the given matrix. Only contains rotation information.
|
|
Quaterniond ( OpenTK.Vector3d v, double w ) : System |
Construct a new Quaterniond from vector and w components
|
|
Quaterniond ( double w, OpenTK.Vector3d &vector3d ) : System |
Constructs left Quaterniond from the given components.
|
|
Quaterniond ( double x, double y, double z, double w ) : System |
Construct a new Quaterniond
|
|
Slerp ( q1, q2, double blend ) : |
Do Spherical linear interpolation between two quaternions
|
|
Slerp ( &start, &end, double blend, &result ) : void | ||
Sub ( left, right ) : |
Subtracts two instances.
|
|
Sub ( &left, &right, &result ) : void |
Subtracts two instances.
|
|
Subtract ( &Quaterniond ) : void | ||
Subtract ( &Quaterniond, &result ) : void | ||
Subtract ( &left, &right, &result ) : void | ||
ToAxisAngle ( ) : OpenTK.Vector4d |
Convert this instance to an axis-angle representation.
|
|
ToAxisAngle ( OpenTK.Vector3d &axis, double &angle ) : void |
Convert the current quaternion to axis angle representation
|
|
ToString ( ) : string |
Returns a System.String that represents the current Quaterniond.
|
|
operator ( ) : Quaterniond |
Adds two instances.
|
|
operator ( ) : bool |
Compares two instances for equality.
|
메소드 | 설명 | |
---|---|---|
Mult ( left, right ) : |
||
Mult ( &left, &right, &result ) : void |
public static Add ( left, right ) : |
||
left | The first operand | |
right | The second operand | |
리턴 |
public static Add ( &left, &right, &result ) : void | ||
left | The first operand | |
right | The second operand | |
result | The result of the addition | |
리턴 | void |
public static Conjugate ( &q, &result ) : void | ||
q | The Quaterniond | |
result | The conjugate of the given Quaterniond | |
리턴 | void |
public static Divide ( &Quaterniond, double scalar, &result ) : void | ||
scalar | double | |
리턴 | void |
public Equals ( other ) : bool | ||
other | The other Quaterniond to be used in the comparison. | |
리턴 | bool |
public Equals ( object other ) : bool | ||
other | object | The other object to be used in the comparison. |
리턴 | bool |
public static FromAxisAngle ( OpenTK.Vector3d axis, double angle ) : |
||
axis | OpenTK.Vector3d | The axis to rotate about |
angle | double | The rotation angle in radians |
리턴 |
public GetAxisAndAngle ( OpenTK.Vector3d &axis, double &angle ) : void | ||
axis | OpenTK.Vector3d | |
angle | double | |
리턴 | void |
public static Invert ( q ) : |
||
q | The Quaterniond to invert | |
리턴 |
public static Invert ( &q, &result ) : void | ||
q | The Quaterniond to invert | |
result | The inverse of the given Quaterniond | |
리턴 | void |
public static Multiply ( left, right ) : |
||
left | The first instance. | |
right | The second instance. | |
리턴 |
public static Multiply ( quaternion, double scale ) : |
||
quaternion | The instance. | |
scale | double | The scalar. |
리턴 |
public static Multiply ( &left, &right, &result ) : void | ||
left | The first instance. | |
right | The second instance. | |
result | A new instance containing the result of the calculation. | |
리턴 | void |
public static Multiply ( &quaternion, double scale, &result ) : void | ||
quaternion | The instance. | |
scale | double | The scalar. |
result | A new instance containing the result of the calculation. | |
리턴 | void |
public static Normalize ( q ) : |
||
q | The Quaterniond to normalize | |
리턴 |
public static Normalize ( &q, &result ) : void | ||
q | The Quaterniond to normalize | |
result | The normalized Quaterniond | |
리턴 | void |
public static Parse ( string str, &result ) : void | ||
str | string | The string to parse. |
리턴 | void |
public Quaterniond ( Array doubleArray ) : System | ||
doubleArray | Array | The array of doubles for the components of the Quaterniond. |
리턴 | System |
public Quaterniond ( OpenTK.Matrix3d &matrix ) : System | ||
matrix | OpenTK.Matrix3d | |
리턴 | System |
public Quaterniond ( OpenTK.Matrix4d &matrix ) : System | ||
matrix | OpenTK.Matrix4d | The matrix for the components of the Quaterniond. |
리턴 | System |
public Quaterniond ( OpenTK.Vector3d v, double w ) : System | ||
v | OpenTK.Vector3d | The vector part |
w | double | The w part |
리턴 | System |
public Quaterniond ( double w, OpenTK.Vector3d &vector3d ) : System | ||
w | double | The W component for the Quaterniond. |
vector3d | OpenTK.Vector3d | A Vector representing the X, Y, and Z componets for the quaterion. |
리턴 | System |
public Quaterniond ( double x, double y, double z, double w ) : System | ||
x | double | The x component |
y | double | The y component |
z | double | The z component |
w | double | The w component |
리턴 | System |
public static Slerp ( q1, q2, double blend ) : |
||
q1 | The first Quaterniond | |
q2 | The second Quaterniond | |
blend | double | The blend factor |
리턴 |
public static Slerp ( &start, &end, double blend, &result ) : void | ||
blend | double | |
리턴 | void |
public static Sub ( left, right ) : |
||
left | The left instance. | |
right | The right instance. | |
리턴 |
public static Sub ( &left, &right, &result ) : void | ||
left | The left instance. | |
right | The right instance. | |
result | The result of the operation. | |
리턴 | void |
public ToAxisAngle ( OpenTK.Vector3d &axis, double &angle ) : void | ||
axis | OpenTK.Vector3d | The resultant axis |
angle | double | The resultant angle |
리턴 | void |