#include <LinearConversion.h>
Public Member Functions | |
int | convert (int item) const |
int | inverse (int item) const |
LinearConversion (int offset=0, int slope=1) | |
int | offset () const |
int | slope () const |
Private Attributes | |
int | theOffset |
int | theSlope |
Definition at line 6 of file LinearConversion.h.
|
inline |
Definition at line 9 of file LinearConversion.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 13 of file LinearConversion.h.
References theSlope.
Referenced by Vispa.Views.LineDecayView.DecayLine::containsPoint(), and Vispa.Views.LineDecayView.DecayLine::transform().
|
private |
Definition at line 16 of file LinearConversion.h.
|
private |
Definition at line 16 of file LinearConversion.h.