GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | List of all members
gear::CartesianCoordinateSystem Class Reference

Cartesian coordinate system class. More...

#include <CartesianCoordinateSystem.h>

Inheritance diagram for gear::CartesianCoordinateSystem:
gear::ICoordinateSystem

Public Member Functions

 CartesianCoordinateSystem (CLHEP::Hep3Vector T, CLHEP::HepRotation R)
 
virtual CLHEP::Hep3Vector getLocalPoint (CLHEP::Hep3Vector globalPoint) const
 
virtual CLHEP::Hep3Vector getGlobalPoint (CLHEP::Hep3Vector localPoint) const
 
virtual CLHEP::Hep3Vector const * getOrigin () const
 
CLHEP::HepRotation const * getR () const
 
CLHEP::Hep3Vector getLocalXAxis ()
 
CLHEP::Hep3Vector getLocalYAxis ()
 
CLHEP::Hep3Vector getLocalZAxis ()
 

Detailed Description

Cartesian coordinate system class.

Definition at line 11 of file CartesianCoordinateSystem.h.

Member Function Documentation

CLHEP::Hep3Vector gear::CartesianCoordinateSystem::getGlobalPoint ( CLHEP::Hep3Vector  localPoint) const
virtual
Returns
the global coordinates of the point

Implements gear::ICoordinateSystem.

Definition at line 15 of file CartesianCoordinateSystem.cc.

CLHEP::Hep3Vector gear::CartesianCoordinateSystem::getLocalPoint ( CLHEP::Hep3Vector  globalPoint) const
virtual
Returns
the local coordinates of the point

Implements gear::ICoordinateSystem.

Definition at line 5 of file CartesianCoordinateSystem.cc.

CLHEP::Hep3Vector gear::CartesianCoordinateSystem::getLocalXAxis ( )
inline
Returns
the local x-axis in global coordinates

Definition at line 36 of file CartesianCoordinateSystem.h.

virtual CLHEP::Hep3Vector const* gear::CartesianCoordinateSystem::getOrigin ( ) const
inlinevirtual
Returns
the global coordinates of the origin of the coordinate system

Implements gear::ICoordinateSystem.

Definition at line 29 of file CartesianCoordinateSystem.h.

CLHEP::HepRotation const* gear::CartesianCoordinateSystem::getR ( ) const
inline
Returns
a rotation Matrix. local = R*global (after the translation)

Definition at line 33 of file CartesianCoordinateSystem.h.


The documentation for this class was generated from the following files: