Data structure for tripod.  
 More...
#include <JTripod.hh>
Data structure for tripod. 
Definition at line 32 of file JTripod.hh.
 
◆ JTripod() [1/2]
  
  
      
        
          | JDETECTOR::JTripod::JTripod  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 40 of file JTripod.hh.
 
 
◆ JTripod() [2/2]
  
  
      
        
          | JDETECTOR::JTripod::JTripod  | 
          ( | 
          const int |           id,  | 
         
        
           | 
           | 
          const JUTMPosition & |           position ) | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | id | identifier  | 
    | position | UTM positiom  | 
  
   
Definition at line 50 of file JTripod.hh.
   51                                          :
   54    {}
JObjectID()
Default constructor.
 
JUTMPosition()
Default constructor.
 
 
 
 
◆ getID() [1/2]
  
  
      
        
          | int JLANG::JObjectID::getID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get identifier. 
- Returns
 - identifier 
 
Definition at line 50 of file JObjectID.hh.
 
 
◆ getID() [2/2]
  
  
      
        
          | int & JLANG::JObjectID::getID  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Get identifier. 
- Returns
 - identifier 
 
Definition at line 61 of file JObjectID.hh.
 
 
◆ setID()
  
  
      
        
          | void JLANG::JObjectID::setID  | 
          ( | 
          const int |           id | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Set identifier. 
- Parameters
 - 
  
  
 
Definition at line 72 of file JObjectID.hh.
 
 
◆ less() [1/2]
  
  
      
        
          | bool JLANG::JObjectID::less  | 
          ( | 
          const JObjectID & |           object | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Less than method. 
- Parameters
 - 
  
  
 
- Returns
 - true if this identifier less than given identifier; else false 
 
Definition at line 84 of file JObjectID.hh.
   85    { 
   86      return this->
getID() < 
object.getID();
 
   87    }
int getID() const
Get identifier.
 
 
 
 
◆ less() [2/2]
  
  
      
        
          | bool JLANG::JObjectID::less  | 
          ( | 
          const int |           id | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Less than method. 
- Parameters
 - 
  
  
 
- Returns
 - true if this identifier less than given identifier; else false 
 
Definition at line 96 of file JObjectID.hh.
   97    { 
   98      return this->
getID() < id;
 
   99    }
 
 
 
◆ more()
  
  
      
        
          | bool JLANG::JObjectID::more  | 
          ( | 
          const int |           id | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
More than method. 
- Parameters
 - 
  
  
 
- Returns
 - true if this identifier greater than given identifier; else false 
 
Definition at line 108 of file JObjectID.hh.
  109    { 
  110      return this->
getID() > id;
 
  111    }
 
 
 
◆ getUTMPosition()
  
  
      
        
          | const JUTMPosition & JUTM::JUTMPosition::getUTMPosition  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ setUTMPosition()
  
  
      
        
          | void JUTM::JUTMPosition::setUTMPosition  | 
          ( | 
          const JUTMPosition & |           position | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ getPosition()
Get position. 
- Returns
 - position 
 
Definition at line 106 of file JUTMPosition.hh.
  107    {
  108      return JPosition3D(this->
getX(), this->
getY(), this->
getZ());
 
  109    }
double getZ() const
Get z.
 
double getY() const
Get y.
 
double getX() const
Get x.
 
 
 
 
◆ operator JPosition3D()
Type conversion operator. 
- Returns
 - position 
 
Definition at line 117 of file JUTMPosition.hh.
  118    {
  120    }
JPosition3D getPosition() const
Get position.
 
 
 
 
◆ getUTMEast()
  
  
      
        
          | double JUTM::JUTMPosition::getUTMEast  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ getUTMNorth()
  
  
      
        
          | double JUTM::JUTMPosition::getUTMNorth  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ getUTMZ()
  
  
      
        
          | double JUTM::JUTMPosition::getUTMZ  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ getX()
  
  
      
        
          | double JUTM::JUTMPosition::getX  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ getY()
  
  
      
        
          | double JUTM::JUTMPosition::getY  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ getZ()
  
  
      
        
          | double JUTM::JUTMPosition::getZ  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ negate()
Negate UTM position. 
- Returns
 - this UTM position 
 
Definition at line 194 of file JUTMPosition.hh.
  195    {
  199 
  200      return *this;
  201    }
 
 
 
◆ add()
Add UTM position. 
- Parameters
 - 
  
  
 
- Returns
 - this UTM position 
 
Definition at line 210 of file JUTMPosition.hh.
  211    {
  212      east  += pos.getUTMEast();
 
  213      north += pos.getUTMNorth();
 
  215 
  216      return *this;
  217    }
 
 
 
◆ sub()
Subtract UTM position. 
- Parameters
 - 
  
  
 
- Returns
 - this UTM position 
 
Definition at line 226 of file JUTMPosition.hh.
  227    {
  228      east  -= pos.getUTMEast();
 
  229      north -= pos.getUTMNorth();
 
  231 
  232      return *this;
  233    }
 
 
 
◆ mul() [1/2]
  
  
      
        
          | JUTMPosition & JUTM::JUTMPosition::mul  | 
          ( | 
          const double |           factor | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Scale UTM position. 
- Parameters
 - 
  
    | factor | multiplication factor  | 
  
   
- Returns
 - this UTM position 
 
Definition at line 242 of file JUTMPosition.hh.
  243    {
  247 
  248      return *this;
  249    }
 
 
 
◆ mul() [2/2]
template<class JFirst_t , class JSecond_t > 
  
  
      
        
          | JFirst_t & JMATH::JMath< JFirst_t, JSecond_t >::mul  | 
          ( | 
          const JSecond_t & |           object | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Multiply with object. 
- Parameters
 - 
  
  
 
- Returns
 - result object 
 
Definition at line 354 of file JMath.hh.
  355    {
  356      return static_cast<JFirst_t&>(*this) = JFirst_t().mul(static_cast<const JFirst_t&>(*this), object);
  357    }
 
 
 
◆ div()
  
  
      
        
          | JUTMPosition & JUTM::JUTMPosition::div  | 
          ( | 
          const double |           factor | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Scale UTM position. 
- Parameters
 - 
  
  
 
- Returns
 - this UTM position 
 
Definition at line 258 of file JUTMPosition.hh.
  259    {
  263 
  264      return *this;
  265    }
 
 
 
◆ getDisplacement()
  
  
      
        
          | double JUTM::JUTMPosition::getDisplacement  | 
          ( | 
          const JUTMPosition & |           position | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get displacement to position. 
The displacement corresponds to the 2D distance in the (East,North) plane.
- Parameters
 - 
  
  
 
- Returns
 - displacement 
 
Definition at line 276 of file JUTMPosition.hh.
  277    {
  278      const double x = this->
getUTMEast()  - position.getUTMEast();
 
  279      const double y = this->
getUTMNorth() - position.getUTMNorth();
 
  280 
  281      return sqrt(x*x + y*y);
  282    }
double getUTMNorth() const
Get UTM north.
 
double getUTMEast() const
Get UTM east.
 
 
 
 
◆ operator>> [1/2]
  
  
      
        
          | std::istream & operator>>  | 
          ( | 
          std::istream & |           in,  | 
         
        
           | 
           | 
          JTripod & |           tripod ) | 
         
       
   | 
  
friend   | 
  
 
Read tripod from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | tripod | tripod  | 
  
   
- Returns
 - input stream 
 
Definition at line 64 of file JTripod.hh.
   65    {
   66      in >> static_cast<JObjectID&>   (tripod);
   68 
   69      return in;
   70    }
 
 
 
◆ operator<< [1/2]
  
  
      
        
          | std::ostream & operator<<  | 
          ( | 
          std::ostream & |           out,  | 
         
        
           | 
           | 
          const JTripod & |           tripod ) | 
         
       
   | 
  
friend   | 
  
 
Write tripod to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | tripod | tripod  | 
  
   
- Returns
 - output stream 
 
Definition at line 80 of file JTripod.hh.
   81    {
   82      out << static_cast<const JObjectID&>   (tripod);
   83      out << ' ';
   84      out << static_cast<const JUTMPosition&>(tripod);
   85 
   86      return out;
   87    }
 
 
 
◆ operator>> [2/2]
Read tripod from input. 
- Parameters
 - 
  
  
 
- Returns
 - reader 
 
Definition at line 97 of file JTripod.hh.
   98    {
   99      in >> static_cast<JObjectID&>   (tripod);
  101 
  102      return in;
  103    }
 
 
 
◆ operator<< [2/2]
Write tripod to output. 
- Parameters
 - 
  
  
 
- Returns
 - writer 
 
Definition at line 113 of file JTripod.hh.
  114    {
  115      out << static_cast<const JObjectID&>   (tripod);
  116      out << static_cast<const JUTMPosition&>(tripod);
  117 
  118      return out;
  119    }
 
 
 
◆ __id
  
  
      
        
          | int JLANG::JObjectID::__id | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ east
  
  
      
        
          | double JUTM::JUTMPosition::east | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ north
  
  
      
        
          | double JUTM::JUTMPosition::north | 
         
       
   | 
  
protectedinherited   | 
  
 
 
  
  
      
        
          | double JUTM::JUTMPosition::z | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this class was generated from the following file: