1 #include "gearimpl/Vector3D.h"
7 std::ostream & operator << (std::ostream & os,
const Vector3D &v){
15 <<
" ) - [ phi: " << v.
phi()
16 <<
" , rho: " << v.
rho() <<
" ] "
17 <<
" [ theta: " << v.
theta()
18 <<
" , r: " << v.
r() <<
" ] "
double theta() const
Polar angle - spherical.
Simple three dimensional vector providing the components for cartesian, cylindrical and spherical coo...
double rho() const
Transversal component - cylindrical 'r'.
double phi() const
Azimuthal angle - cylindrical and spherical.
double r() const
Spherical r/magnitude.