Struct TInpQuaternion
Quaternion q(X, Y, Z, W) - determines the rotation (orientation) in a three-dimensional space.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public struct TInpQuaternion
Constructors
TInpQuaternion(Double, Double, Double, Double)
Instantiates a new quaternion with the given components (X, Y, Z, W).
Declaration
public TInpQuaternion(double X, double Y, double Z, double W)
Parameters
Type | Name | Description |
---|---|---|
System.Double | X | X component of the quaternion. |
System.Double | Y | Y component of the quaternion. |
System.Double | Z | Z component of the quaternion. |
System.Double | W | W component of the quaternion. |
Properties
W
W component of the quaternion.
Declaration
public double W { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Double |
X
X component of the quaternion.
Declaration
public double X { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Y
Y component of the quaternion.
Declaration
public double Y { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Z
Z component of the quaternion.
Declaration
public double Z { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Operators
Implicit(TInpQuaternion to TQuaternion)
Performs implicit conversion between two similar types TQuaternion and TInpQuaternion.
Declaration
public static implicit operator TQuaternion(TInpQuaternion q)
Parameters
Type | Name | Description |
---|---|---|
TInpQuaternion | q | Quaternion to convert. |
Returns
Type | Description |
---|---|
TQuaternion |
Implicit(TQuaternion to TInpQuaternion)
Performs implicit conversion between two similar types TInpQuaternion and TQuaternion.
Declaration
public static implicit operator TInpQuaternion(TQuaternion q)
Parameters
Type | Name | Description |
---|---|---|
TQuaternion | q | Quaternion to convert. |
Returns
Type | Description |
---|---|
TInpQuaternion |