Description
Set the orientation using a quaternion representing the rotation to these axes from the references axes. (q1,q2,q3) is the vector part; q4 is the scalar part.
Syntax
| [Visual Basic .NET] |
|---|
Public Sub SetQuaternion( _
ByVal q1 As Double, _
ByVal q2 As Double, _
ByVal q3 As Double, _
ByVal q4 As Double _
)
|
| [C#] |
|---|
public void SetQuaternion(
double q1,
double q2,
double q3,
double q4
);
|
| [Managed C++] |
|---|
public: void SetQuaternion(
double q1,
double q2,
double q3,
double q4
);
|
| [Unmanaged C++] |
|---|
public: HRESULT SetQuaternion(
double q1,
double q2,
double q3,
double q4
);
|
| [Java] |
|---|
public void setQuaternion(
double q1,
double q2,
double q3,
double q4
);
|
[Python - STK API ] |
|---|
def SetQuaternion(self, q1:float, q2:float, q3:float, q4:float) -> None:
|
Parameters
See Also