System.Math.Vectors.TQuaternion3D
Delphi
TQuaternion3D = record
C++
struct DECLSPEC_DRECORD TQuaternion3D
{
public:
__fastcall TQuaternion3D(const TPoint3D &AAxis, const float AAngle)/* overload */;
__fastcall TQuaternion3D(const float AYaw, const float APitch, const float ARoll)/* overload */;
__fastcall TQuaternion3D(const TMatrix3D &AMatrix)/* overload */;
__fastcall operator TMatrix3D();
static TQuaternion3D __fastcall _op_Multiply(const TQuaternion3D &AQuaternion1, const TQuaternion3D &AQuaternion2);
float __fastcall Length();
TQuaternion3D __fastcall Normalize();
TQuaternion3D() {}
friend TQuaternion3D operator *(const TQuaternion3D &AQuaternion1, const TQuaternion3D &AQuaternion2) { return TQuaternion3D::_op_Multiply(AQuaternion1, AQuaternion2); }
public:
union
{
struct
{
TPoint3D ImagPart;
float RealPart;
};
struct
{
TVector3DType V;
};
};
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | System.Math.Vectors.pas System.Math.Vectors.hpp |
System.Math.Vectors | System.Math.Vectors |
Description
Quaternion number type. Use TQuaternion3D to describe a quaternion.