#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 24 of file Trapezoid2RectangleMappingX.h.
|
inline |
Definition at line 27 of file Trapezoid2RectangleMappingX.h.
|
inline |
normal trapezoid case, a != b
Definition at line 30 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout.
|
inline |
special parallelogram case, a == b. The meaning of k changes.
Definition at line 42 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout.
|
inline |
Definition at line 51 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 63 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout.
Referenced by TrapezoidalCylindricalMFGrid::fromGridFrame(), and TrapezoidalCartesianMFGrid::fromGridFrame().
|
private |
Definition at line 77 of file Trapezoid2RectangleMappingX.h.
|
private |
Definition at line 78 of file Trapezoid2RectangleMappingX.h.
|
private |
Definition at line 75 of file Trapezoid2RectangleMappingX.h.
|
private |
Definition at line 76 of file Trapezoid2RectangleMappingX.h.