Go to the documentation of this file.
   78                 const double     precision = std::numeric_limits<double>::min())
 const 
   80       return (fabs(
getDX() - versor.
getDX()) <= precision &&
 
  128       else if (
__dz < -1.0)
 
  
double getDZ() const
Get z direction.
 
bool equals(const JVersor3D &versor, const double precision=std::numeric_limits< double >::min()) const
Check equality.
 
static const JVersor3D JVersor3X_t(1, 0, 0)
unit x-vector
 
Data structure for normalised vector in three dimensions.
 
static const JVersor3D JVersor3Y_t(0, 1, 0)
unit y-vector
 
Auxiliary base class for aritmetic operations of derived class types.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
JVersor3D(const double dx, const double dy, const double dz)
Constructor.
 
double getTheta() const
Get theta angle.
 
JVersor3D()
Default constructor.
 
double getDot(const JVersor3D &versor) const
Get dot product.
 
double getDX() const
Get x direction.
 
static const JVersor3D JVersor3Z_t(0, 0, 1)
unit z-vector
 
double getDY() const
Get y direction.
 
JVersor3D & normalise()
Normalise versor.
 
Auxiliary classes and methods for 3D geometrical objects and operations.
 
JVersor3D & negate()
Negate versor.
 
double getPhi() const
Get phi angle.