Public Member Functions | |
DirectionTransformer (eGrid *theGrid) | |
eCoord | get (int i) |
int | ahead () |
Private Attributes | |
eGrid * | grid |
eCoord | factor |
Definition at line 3835 of file gCycle.cpp.
gLaggometer::DirectionTransformer::DirectionTransformer | ( | eGrid * | theGrid | ) | [inline] |
Definition at line 3840 of file gCycle.cpp.
03840 : DirectionTransformer(eGrid* theGrid) : grid(theGrid), factor(theGrid->GetDirection(0).Conj()) { }
eCoord gLaggometer::DirectionTransformer::get | ( | int | i | ) | [inline] |
Definition at line 3841 of file gCycle.cpp.
03841 : grid(theGrid), factor(theGrid->GetDirection(0).Conj()) { } 03842 eCoord get(int i) { 03843 return grid->GetDirection(i).Turn(factor); 03844
int gLaggometer::DirectionTransformer::ahead | ( | ) | [inline] |
Definition at line 3845 of file gCycle.cpp.
Referenced by gLaggometer::LagOMeterRenderer::render().
03846 { return 2 * (grid->WindingNumber()); }
eGrid* gLaggometer::DirectionTransformer::grid [private] |
Definition at line 3837 of file gCycle.cpp.
eCoord gLaggometer::DirectionTransformer::factor [private] |
Definition at line 3838 of file gCycle.cpp.