#include <Theta.h>
Public Member Functions | |
operator T () const | |
conversion operator makes transparent use possible. | |
Theta (const T &val) | |
Constructor from T, does not provide automatic conversion. | |
Theta () | |
Default constructor does not initialise - just as double. | |
T | value () const |
Explicit access to value in case implicit conversion not OK. | |
Private Attributes | |
T | theValue |
A class for polar angle represantation. So far only useful to differentiate from double, for example in function overloading.
Geom::Theta< T >::Theta | ( | ) | [inline] |
Geom::Theta< T >::Theta | ( | const T & | val | ) | [inline, explicit] |
Geom::Theta< T >::operator T | ( | ) | const [inline] |
conversion operator makes transparent use possible.
Definition at line 22 of file Theta.h.
References Geom::Theta< T >::theValue.
{ return theValue;}
T Geom::Theta< T >::value | ( | ) | const [inline] |
Explicit access to value in case implicit conversion not OK.
Definition at line 25 of file Theta.h.
Referenced by Basic3DVector< align::Scalar >::Basic3DVector().
{ return theValue;}
T Geom::Theta< T >::theValue [private] |
Definition at line 28 of file Theta.h.
Referenced by Geom::Theta< T >::operator T(), and Geom::Theta< Scalar >::value().