GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
ICoordinateSystem.h
1 #ifndef ICOORDINATESYSTEM_h
2 #define ICOORDINATESYSTEM_h
3 
4 #include "CLHEP/Vector/ThreeVector.h"
5 
6 namespace gear{
7 
11 
12 
13  public:
14 
15  virtual ~ICoordinateSystem() { /* no-op */ }
16 
18  virtual CLHEP::Hep3Vector getLocalPoint( CLHEP::Hep3Vector globalPoint )const = 0;
19 
21  virtual CLHEP::Hep3Vector getGlobalPoint( CLHEP::Hep3Vector localPoint )const = 0;
22 
24  virtual CLHEP::Hep3Vector const* getOrigin() const = 0;
25 
26 
27 
28  };
29 
30 } // end of gear namespace
31 
32 
33 #endif
34 
virtual CLHEP::Hep3Vector const * getOrigin() const =0
An abstract base class for coordinate systems.
virtual CLHEP::Hep3Vector getLocalPoint(CLHEP::Hep3Vector globalPoint) const =0
virtual CLHEP::Hep3Vector getGlobalPoint(CLHEP::Hep3Vector localPoint) const =0