22 namespace JGEOMETRY3D {}
 
   23 namespace JPP { 
using namespace JGEOMETRY3D; }
 
   25 namespace JGEOMETRY3D {
 
   40     public JMath<JVersor3Z>
 
   83       return static_cast<const JVersor3Z&
>(*this);
 
  105       static_cast<JVersor3Z&
>(*this) = direction;
 
  174         return sqrt(1.0 - v);
 
  262                 const double     precision = std::numeric_limits<double>::min())
 const 
  264       return (fabs(
getDX() - versor.
getDX()) <= precision &&
 
  338       return in >> versor.
__dx >> versor.
__dy;
 
  351       const JFormat format(out, getFormat<JVersor3Z>(
JFormat_t(9, 6, std::ios::fixed | std::ios::showpos)));
 
  353       return out << format << versor.
getDX() << 
' ' << format << versor.
getDY();
 
  366       return in >> versor.
__dx >> versor.
__dy;
 
  379       return out << versor.
__dx << versor.
__dy;
 
friend std::istream & operator>>(std::istream &in, JVersor3Z &versor)
Read versor from input. 
 
double getDot(const JVersor3Z &dir) const 
Get dot product. 
 
Data structure for angles in three dimensions. 
 
friend JWriter & operator<<(JWriter &out, const JVersor3Z &versor)
Write versor to output. 
 
Interface for binary output. 
 
JVersor3Z(const JVersor2D &dir)
Constructor. 
 
Auxiliary base class for aritmetic operations of derived class types. 
 
JVersor3Z & negate()
Prefix unary minus. 
 
JVersor3Z & sub(const JVersor3Z &value)
Subtraction operator. 
 
double getDot(const JAngle3D &angle) const 
Get dot product. 
 
JVersor3Z & add(const JVersor3Z &value)
Addition operator. 
 
double getDY() const 
Get y direction. 
 
JVersor3Z & mul(const double value)
Multiplication operator. 
 
JVersor3Z()
Default constructor. 
 
friend std::ostream & operator<<(std::ostream &out, const JVersor3Z &versor)
Write versor to output. 
 
double getDot(const JVersor3D &dir) const 
Get dot product. 
 
Data structure for normalised vector in two dimensions. 
 
Data structure for vector in three dimensions. 
 
double getDY() const 
Get y direction. 
 
JVersor3Z & div(const double value)
Division operator. 
 
double getDX() const 
Get x direction. 
 
double getY() const 
Get y position. 
 
void setDirection(const JVersor3Z &direction)
Set direction. 
 
Interface for binary input. 
 
JVersor3Z & getDirection()
Get direction. 
 
JVersor3Z(const double dx, const double dy)
Constructor. 
 
const JVersor3Z & getDirection() const 
Get direction. 
 
bool equals(const JVersor3D &versor, const double precision=std::numeric_limits< double >::min()) const 
Check equality. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
 
double getDX() const 
Get x direction. 
 
double getX() const 
Get x position. 
 
Base class for data structures with artithmetic capabilities. 
 
double getDot(const JVector3D &pos) const 
Get dot product. 
 
double getDZ() const 
Get z direction. 
 
friend JReader & operator>>(JReader &in, JVersor3Z &versor)
Read versor from input. 
 
Data structure for normalised vector in three dimensions. 
 
Data structure for normalised vector in positive z-direction. 
 
double getZ() const 
Get z position. 
 
double getDZ() const 
Get z direction. 
 
double getDX() const 
Get x direction. 
 
double getDZ() const 
Get z direction. 
 
double getDY() const 
Get y direction.