Struct TInpRotation
A complex structure that allows you to define rotation (orientation) in three-dimensional space. Depend on a convention of type TInpRotationConvention (outside of this structure) it can be one of the following.
- Different kind of Euler angles.
- Axis-angle representation (rotation vector).
- Quaternion.
- Normal vector.
Inherited Members
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public struct TInpRotation
Constructors
TInpRotation(Double, Double, Double, Double)
Instantiates a new TInpRotation structure.
Declaration
public TInpRotation(double A, double B, double C, double D)
Parameters
Type | Name | Description |
---|---|---|
System.Double | A | A component of the rotation. The physical meaning depends on the convention. |
System.Double | B | B component of the rotation. The physical meaning depends on the convention. |
System.Double | C | C component of the rotation. The physical meaning depends on the convention. |
System.Double | D | D component of the rotation. The physical meaning depends on the convention. |
Properties
A
A component of the rotation. The physical meaning depends on the convention.
Declaration
public double A { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Double |
B
B component of the rotation. The physical meaning depends on the convention.
Declaration
public double B { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Double |
C
C component of the rotation. The physical meaning depends on the convention.
Declaration
public double C { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Double |
D
D component of the rotation. The physical meaning depends on the convention.
Declaration
public double D { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Operators
Implicit(TInpRotation to TRotation)
Performs implicit conversion between two similar types TRotation and TInpRotation.
Declaration
public static implicit operator TRotation(TInpRotation r)
Parameters
Type | Name | Description |
---|---|---|
TInpRotation | r | Rotation to convert. |
Returns
Type | Description |
---|---|
TRotation |
Implicit(TRotation to TInpRotation)
Performs implicit conversion between two similar types TInpRotation and TRotation.
Declaration
public static implicit operator TInpRotation(TRotation r)
Parameters
Type | Name | Description |
---|---|---|
TRotation | r | Rotation to convert. |
Returns
Type | Description |
---|---|
TInpRotation |