15 namespace JGEOMETRY3D {}
 
   16 namespace JPP { 
using namespace JGEOMETRY3D; }
 
   18 namespace JGEOMETRY3D {
 
  127       else if (
__dz < -1.0)
 
Auxiliary base class for aritmetic operations of derived class types. 
 
double getPhi() const 
Get phi angle. 
 
JVersor3D & normalise()
Normalise versor. 
 
JVersor3D & negate()
Negate versor. 
 
double getDY() const 
Get y direction. 
 
double getDX() const 
Get x direction. 
 
double getTheta() const 
Get theta angle. 
 
static const JVersor3D JVersor3X_t(1, 0, 0)
unit x-vector 
 
JVersor3D()
Default constructor. 
 
static const JVersor3D JVersor3Y_t(0, 1, 0)
unit y-vector 
 
Base class for data structures with artithmetic capabilities. 
 
static const JVersor3D JVersor3Z_t(0, 0, 1)
unit z-vector 
 
double getDot(const JVersor3D &versor) const 
Get dot product. 
 
JVersor3D(const double dx, const double dy, const double dz)
Constructor. 
 
Data structure for normalised vector in three dimensions. 
 
double getDZ() const 
Get z direction. 
 
bool equals(const JVersor3D &versor) const 
Check equality.