17 namespace JGEOMETRY3D {}
 
   18 namespace JPP { 
using namespace JGEOMETRY3D; }
 
   20 namespace JGEOMETRY3D {
 
   35     public JMath<JVector3D>
 
  222                 const double     precision = std::numeric_limits<double>::min())
 const 
  224       return (fabs(
getX() - vector.
getX()) <= precision &&
 
  225               fabs(
getY() - vector.
getY()) <= precision &&
 
  226               fabs(
getZ() - vector.
getZ()) <= precision);
 
  260       return JVector3D(pos).sub(*this).getLengthSquared();
 
Data structure for vector in two dimensions. 
 
JVector3D & mul(const double factor)
Scale vector. 
 
JVector3D(const JVector2D &vector, const double z)
Constructor. 
 
Auxiliary base class for aritmetic operations of derived class types. 
 
bool equals(const JVector3D &vector, const double precision=std::numeric_limits< double >::min()) const 
Check equality. 
 
std::pair< double, double > JRangeX
Type definition of range along x-axis. 
 
double getDistanceSquared(const JVector3D &pos) const 
Get squared of distance to point. 
 
std::pair< double, double > JRangeY
Type definition of range along y-axis. 
 
double getDistance(const JVector3D &pos) const 
Get distance to point. 
 
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
 
static const JVector3D JVector3X_t(1, 0, 0)
unit x-vector 
 
JVector3D & sub(const JVector3D &vector)
Subtract vector. 
 
std::pair< double, double > JRangeZ
< Type definition of range along y-axis. 
 
Data structure for vector in three dimensions. 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
double getY() const 
Get y position. 
 
double getLength() const 
Get length. 
 
double getLengthSquared() const 
Get length squared. 
 
static const JVector3D JVector3Z_t(0, 0, 1)
unit z-vector 
 
double getX() const 
Get x position. 
 
Base class for data structures with artithmetic capabilities. 
 
double getDot(const JVector3D &vector) const 
Get dot product. 
 
JVector3D & negate()
Negate vector. 
 
JVector3D & div(const double factor)
Scale vector. 
 
static const JVector3D JVector3Y_t(0, 1, 0)
unit y-vector 
 
void transform(double &__x, double &__y, double &__z) const 
Transform. 
 
double getZ() const 
Get z position. 
 
JVector3D & getCross(const JVector3D &first, const JVector3D &second)
Get cross product. 
 
JVector3D & add(const JVector3D &vector)
Add vector. 
 
JVector3D(const double x, const double y, const double z)
Constructor. 
 
JVector3D()
Default constructor. 
 
JVector3D & transform(const JMatrix3D &T)
Transform.