#include <OpenMS/ANALYSIS/MAPMATCHING/LinearMapping.h>
Public Member Functions | |
LinearMapping () | |
Constructor. | |
~LinearMapping () | |
Destructor. | |
LinearMapping (const LinearMapping &source) | |
Copy constructor. | |
LinearMapping & | operator= (const LinearMapping &source) |
assignment operator | |
bool | operator== (const LinearMapping &rhs) const |
Equality operator. | |
bool | operator!= (const LinearMapping &rhs) const |
Equality operator. | |
void | apply (DPosition< 1 > &pos) const |
Apply transformation to coordinate. | |
void | apply (DoubleReal &pos) const |
Apply transformation to coordinate. | |
DoubleReal | getSlope () const |
Non-mutable access to slope. | |
void | setSlope (DoubleReal sl) |
Set slope. | |
DoubleReal | getIntercept () const |
Non-mutable access to intercept. | |
void | setIntercept (DoubleReal in) |
Set intercept. | |
Protected Attributes | |
DoubleReal | slope_ |
slope of the transform | |
DoubleReal | intercept_ |
intercept |
LinearMapping | ( | ) |
Constructor.
~LinearMapping | ( | ) |
Destructor.
LinearMapping | ( | const LinearMapping & | source | ) |
Copy constructor.
LinearMapping& operator= | ( | const LinearMapping & | source | ) |
assignment operator
bool operator== | ( | const LinearMapping & | rhs | ) | const |
Equality operator.
bool operator!= | ( | const LinearMapping & | rhs | ) | const |
Equality operator.
void apply | ( | DPosition< 1 > & | pos | ) | const |
Apply transformation to coordinate.
void apply | ( | DoubleReal & | pos | ) | const |
Apply transformation to coordinate.
DoubleReal getSlope | ( | ) | const [inline] |
Non-mutable access to slope.
void setSlope | ( | DoubleReal | sl | ) | [inline] |
Set slope.
DoubleReal getIntercept | ( | ) | const [inline] |
Non-mutable access to intercept.
void setIntercept | ( | DoubleReal | in | ) | [inline] |
Set intercept.
DoubleReal slope_ [protected] |
slope of the transform
DoubleReal intercept_ [protected] |
intercept
Generated Tue Apr 1 15:36:42 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |