Linear-linear 2D coordinate mapper.
More...
#include <coordmapper.hpp>
|
| | Coordmapper () |
| | Default constructor for unitary transformation. More...
|
| |
| | Coordmapper (Coordmapper1D cmx, Coordmapper1D cmy) |
| | Constructor for fully defined transformation using 1D coordinate mappers. More...
|
| |
| | Coordmapper (double xx, double x0, double yy, double y0) |
| | Constructor for fully defined transformation. More...
|
| |
| void | set_transformation (double xx, double x0, double yy, double y0) |
| | Set transformation matrix coefficients. More...
|
| |
| void | transform (double &x, double &y) const |
| | Make transformation for coordinates x, y. More...
|
| |
| void | transform (double *xout, const double *xin) const |
| | Make transformation from coordinates xin to coordinates xout. More...
|
| |
| void | inv_transform (double &x, double &y) const |
| | Make inverse transformation for coordinates x, y. More...
|
| |
| void | inv_transform (double *xout, const double *xin) const |
| | Make inverse transformation from coordinates xin to coordinates xout. More...
|
| |
| void | debug_print (std::ostream &os) const |
| | Debug print to stream. More...
|
| |
Linear-linear 2D coordinate mapper.
◆ Coordmapper() [1/3]
| Coordmapper::Coordmapper |
( |
| ) |
|
|
inline |
Default constructor for unitary transformation.
◆ Coordmapper() [2/3]
Constructor for fully defined transformation using 1D coordinate mappers.
◆ Coordmapper() [3/3]
| Coordmapper::Coordmapper |
( |
double |
xx, |
|
|
double |
x0, |
|
|
double |
yy, |
|
|
double |
y0 |
|
) |
| |
|
inline |
Constructor for fully defined transformation.
◆ debug_print()
| void Coordmapper::debug_print |
( |
std::ostream & |
os | ) |
const |
|
inline |
◆ inv_transform() [1/2]
| void Coordmapper::inv_transform |
( |
double & |
x, |
|
|
double & |
y |
|
) |
| const |
|
inline |
Make inverse transformation for coordinates x, y.
◆ inv_transform() [2/2]
| void Coordmapper::inv_transform |
( |
double * |
xout, |
|
|
const double * |
xin |
|
) |
| const |
|
inline |
Make inverse transformation from coordinates xin to coordinates xout.
◆ set_transformation()
| void Coordmapper::set_transformation |
( |
double |
xx, |
|
|
double |
x0, |
|
|
double |
yy, |
|
|
double |
y0 |
|
) |
| |
|
inline |
Set transformation matrix coefficients.
◆ transform() [1/2]
| void Coordmapper::transform |
( |
double & |
x, |
|
|
double & |
y |
|
) |
| const |
|
inline |
Make transformation for coordinates x, y.
◆ transform() [2/2]
| void Coordmapper::transform |
( |
double * |
xout, |
|
|
const double * |
xin |
|
) |
| const |
|
inline |
Make transformation from coordinates xin to coordinates xout.
The documentation for this class was generated from the following file: