#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 22 of file Trapezoid2RectangleMappingX.h.
|
inline |
Definition at line 25 of file Trapezoid2RectangleMappingX.h.
|
inline |
normal trapezoid case, a != b
Definition at line 28 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout, and k_.
|
inline |
special parallelogram case, a == b. The meaning of k changes.
Definition at line 40 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout.
|
inline |
Definition at line 49 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout, k_, parallel_, x0_, and y0_.
Referenced by TrapezoidalCylindricalMFGrid::toGridFrame(), TrapezoidalCartesianMFGrid::toGridFrame(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid(), and TrapezoidalCartesianMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 61 of file Trapezoid2RectangleMappingX.h.
References gather_cfg::cout, k_, parallel_, x0_, and y0_.
Referenced by TrapezoidalCylindricalMFGrid::fromGridFrame(), and TrapezoidalCartesianMFGrid::fromGridFrame().
|
private |
Definition at line 75 of file Trapezoid2RectangleMappingX.h.
Referenced by rectangle(), trapezoid(), and Trapezoid2RectangleMappingX().
|
private |
Definition at line 76 of file Trapezoid2RectangleMappingX.h.
Referenced by rectangle(), and trapezoid().
|
private |
Definition at line 73 of file Trapezoid2RectangleMappingX.h.
Referenced by rectangle(), and trapezoid().
|
private |
Definition at line 74 of file Trapezoid2RectangleMappingX.h.
Referenced by rectangle(), and trapezoid().