CMS 3D CMS Logo

Public Member Functions | Private Attributes

GloballyPositioned< T >::ToLocal Class Reference

#include <GloballyPositioned.h>

List of all members.

Public Member Functions

 ToLocal (GloballyPositioned const &frame)
LocalVector toLocal (const GlobalVector &gv) const
LocalPoint toLocal (const GlobalPoint &gp) const

Private Attributes

PositionType thePos
RotationType theRot

Detailed Description

template<class T>
class GloballyPositioned< T >::ToLocal

Definition at line 57 of file GloballyPositioned.h.


Constructor & Destructor Documentation

template<class T>
GloballyPositioned< T >::ToLocal::ToLocal ( GloballyPositioned const &  frame) [inline]

Definition at line 59 of file GloballyPositioned.h.

                                              :
      thePos(frame.position()), theRot(frame.rotation().transposed()){}

Member Function Documentation

template<class T>
LocalPoint GloballyPositioned< T >::ToLocal::toLocal ( const GlobalPoint gp) const [inline]
template<class T>
LocalVector GloballyPositioned< T >::ToLocal::toLocal ( const GlobalVector gv) const [inline]

Member Data Documentation

template<class T>
PositionType GloballyPositioned< T >::ToLocal::thePos [private]

Definition at line 73 of file GloballyPositioned.h.

Referenced by GloballyPositioned< T >::ToLocal::toLocal().

template<class T>
RotationType GloballyPositioned< T >::ToLocal::theRot [private]

Definition at line 74 of file GloballyPositioned.h.

Referenced by GloballyPositioned< T >::ToLocal::toLocal().