Class Quaternion
Inherited Members
Namespace: NXOpen.VectorArithmetic
Assembly: NXOpen.Utilities.dll
Syntax
public class Quaternion
Constructors
Quaternion()
Declaration
public Quaternion()
Fields
q0
Declaration
public double q0
Field Value
Type | Description |
---|---|
double |
q1
Declaration
public double q1
Field Value
Type | Description |
---|---|
double |
q2
Declaration
public double q2
Field Value
Type | Description |
---|---|
double |
q3
Declaration
public double q3
Field Value
Type | Description |
---|---|
double |
Methods
CalcAxisRot(double, double, double, double)
Declaration
public static Quaternion CalcAxisRot(double x, double y, double z, double angle)
Parameters
Type | Name | Description |
---|---|---|
double | x | |
double | y | |
double | z | |
double | angle |
Returns
Type | Description |
---|---|
Quaternion |
GetMatrix()
Declaration
public Matrix3 GetMatrix()
Returns
Type | Description |
---|---|
Matrix3 |