Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TQuaternion.h File Reference
#include "TVector3.h"
#include "TMath.h"
Include dependency graph for TQuaternion.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TQuaternion
 

Legacy Code

TQuaternion is a legacy interface: there will be no bug fixes nor new developments. Therefore it is not recommended to use it in new long-term production code. But, depending on the context, using TQuaternion might still be a valid solution. Consider using instead ROOT::Math::Quaternion.
Quaternion is a 4-component mathematic object quite convenient when dealing with space rotation (or reference frame transformation). More...
 

Functions

TQuaternion operator* (const TVector3 &V, const TQuaternion &Q)
 
TQuaternion operator* (Double_t r, const TQuaternion &q)
 
TQuaternion operator+ (const TVector3 &V, const TQuaternion &Q)
 
TQuaternion operator+ (Double_t r, const TQuaternion &q)
 
TQuaternion operator- (const TVector3 &V, const TQuaternion &Q)
 
TQuaternion operator- (Double_t r, const TQuaternion &q)
 
TQuaternion operator/ (const TVector3 &V, const TQuaternion &Q)
 
TQuaternion operator/ (Double_t r, const TQuaternion &q)
 

Function Documentation

◆ operator*() [1/2]

TQuaternion operator* ( const TVector3 V,
const TQuaternion Q 
)

Definition at line 350 of file TQuaternion.cxx.

◆ operator*() [2/2]

TQuaternion operator* ( Double_t  r,
const TQuaternion q 
)

Definition at line 229 of file TQuaternion.cxx.

◆ operator+() [1/2]

TQuaternion operator+ ( const TVector3 V,
const TQuaternion Q 
)

Definition at line 348 of file TQuaternion.cxx.

◆ operator+() [2/2]

TQuaternion operator+ ( Double_t  r,
const TQuaternion q 
)

Definition at line 227 of file TQuaternion.cxx.

◆ operator-() [1/2]

TQuaternion operator- ( const TVector3 V,
const TQuaternion Q 
)

Definition at line 349 of file TQuaternion.cxx.

◆ operator-() [2/2]

TQuaternion operator- ( Double_t  r,
const TQuaternion q 
)

Definition at line 228 of file TQuaternion.cxx.

◆ operator/() [1/2]

TQuaternion operator/ ( const TVector3 V,
const TQuaternion Q 
)

Definition at line 352 of file TQuaternion.cxx.

◆ operator/() [2/2]

TQuaternion operator/ ( Double_t  r,
const TQuaternion q 
)

Definition at line 230 of file TQuaternion.cxx.