#include <GloballyPositioned.h>
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 |
Definition at line 57 of file GloballyPositioned.h.
GloballyPositioned< T >::ToLocal::ToLocal | ( | GloballyPositioned const & | frame | ) | [inline] |
Definition at line 59 of file GloballyPositioned.h.
LocalPoint GloballyPositioned< T >::ToLocal::toLocal | ( | const GlobalPoint & | gp | ) | const [inline] |
Definition at line 62 of file GloballyPositioned.h.
References PV3DBase< T, PVType, FrameType >::basicVector(), TkRotation< T >::multiplyInverse(), GloballyPositioned< T >::ToLocal::thePos, and GloballyPositioned< T >::ToLocal::theRot.
{ return LocalPoint( theRot.multiplyInverse( gp.basicVector() - thePos.basicVector()) ); }
LocalVector GloballyPositioned< T >::ToLocal::toLocal | ( | const GlobalVector & | gv | ) | const [inline] |
Definition at line 68 of file GloballyPositioned.h.
References PV3DBase< T, PVType, FrameType >::basicVector(), TkRotation< T >::multiplyInverse(), and GloballyPositioned< T >::ToLocal::theRot.
{ return LocalVector(theRot.multiplyInverse(gv.basicVector())); }
PositionType GloballyPositioned< T >::ToLocal::thePos [private] |
Definition at line 73 of file GloballyPositioned.h.
Referenced by GloballyPositioned< T >::ToLocal::toLocal().
RotationType GloballyPositioned< T >::ToLocal::theRot [private] |
Definition at line 74 of file GloballyPositioned.h.
Referenced by GloballyPositioned< T >::ToLocal::toLocal().