#include <Trapezoid2RectangleMappingX.h>
Public Member Functions | |
void | rectangle (double xtrap, double ytrap, double &xrec, double &yrec) const |
void | trapezoid (double xrec, double yrec, double &xtrap, double &ytrap) const |
Trapezoid2RectangleMappingX () | |
Trapezoid2RectangleMappingX (double x0, double y0, double bovera, double h) | |
normal trapezoid case, a != b More... | |
Trapezoid2RectangleMappingX (double x0, double y0, double k) | |
special parallelogram case, a == b. The meaning of k changes. More... | |
Private Attributes | |
double | k_ |
bool | parallel_ |
double | x0_ |
double | y0_ |
Maps a trapezoidal coordinate system into a cartesian one. It is assumed that x is the coordinate along the trapezoid bases while y is along the trapezoid height.
Definition at line 21 of file Trapezoid2RectangleMappingX.h.
|
inline |
Definition at line 23 of file Trapezoid2RectangleMappingX.h.
|
inline |
normal trapezoid case, a != b
Definition at line 26 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout, and h.
|
inline |
special parallelogram case, a == b. The meaning of k changes.
Definition at line 36 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout, and isotrackApplyRegressor::k.
|
inline |
Definition at line 42 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout.
Referenced by TrapezoidalCylindricalMFGrid::toGridFrame(), TrapezoidalCartesianMFGrid::toGridFrame(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid(), and TrapezoidalCartesianMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 54 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout.
Referenced by TrapezoidalCylindricalMFGrid::fromGridFrame(), and TrapezoidalCartesianMFGrid::fromGridFrame().
|
private |
Definition at line 69 of file Trapezoid2RectangleMappingX.h.
|
private |
Definition at line 70 of file Trapezoid2RectangleMappingX.h.
|
private |
Definition at line 67 of file Trapezoid2RectangleMappingX.h.
|
private |
Definition at line 68 of file Trapezoid2RectangleMappingX.h.