Logo ROOT   6.13/01
Reference Guide
Classes | Functions
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
 Quaternion is a 4-component mathematic object quite convenient when dealing with space rotation (or reference frame transformation). More...
 

Functions

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)
 
TQuaternion operator/ (const TVector3 &V, const TQuaternion &Q)
 

Function Documentation

◆ operator*() [1/2]

TQuaternion operator* ( Double_t  r,
const TQuaternion q 
)

Definition at line 228 of file TQuaternion.cxx.

◆ operator*() [2/2]

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

Definition at line 349 of file TQuaternion.cxx.

◆ operator+() [1/2]

TQuaternion operator+ ( Double_t  r,
const TQuaternion q 
)

Definition at line 226 of file TQuaternion.cxx.

◆ operator+() [2/2]

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

Definition at line 347 of file TQuaternion.cxx.

◆ operator-() [1/2]

TQuaternion operator- ( Double_t  r,
const TQuaternion q 
)

Definition at line 227 of file TQuaternion.cxx.

◆ operator-() [2/2]

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

Definition at line 348 of file TQuaternion.cxx.

◆ operator/() [1/2]

TQuaternion operator/ ( Double_t  r,
const TQuaternion q 
)

Definition at line 229 of file TQuaternion.cxx.

◆ operator/() [2/2]

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

Definition at line 351 of file TQuaternion.cxx.