Base class for direction set.  
 More...
#include <JOmega3D.hh>
 | 
| int  | find (const JAngle3D &dir) const  | 
|   | Get index of direction closest to given direction.  More...
  | 
|   | 
Base class for direction set. 
Definition at line 30 of file JOmega3D.hh.
 
  
  
      
        
          | int JGEOMETRY3D::JOmega3D_t::find  | 
          ( | 
          const JAngle3D &  | 
          dir | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get index of direction closest to given direction. 
- Parameters
 - 
  
  
 
- Returns
 - index (-1 if error) 
 
Definition at line 39 of file JOmega3D.hh.
   44       for (const_iterator i = this->begin(); i != this->end(); ++i) {
 
   46         const double x = dir.
getDot(*i);
 
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance. 
 
double getDot(const JAngle3D &angle) const 
Get dot product. 
 
 
 
 
The documentation for this struct was generated from the following file: