|
JMSLTM Numerical Library 4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a custom transformation along an axis. Axis1D has built in support for linear and logarithmic transformations. Additional transformations can be specified by setting the "CustomTransform" attribute in an Axis1D to an object that implements this interface. The interface consists of two methods that must be implemented. Each method is the inverse of the other.
Method Summary | |
double |
mapUnitToUser(double unit)
Maps points in the interval [0,1] to user coordinates. |
double |
mapUserToUnit(double user)
Maps user coordinate to the interval [0,1]. |
void |
setupMapping(Axis1D axis1d)
Initializes the mappings between user and coordinate space. |
Method Detail |
public double mapUnitToUser(double unit)
public double mapUserToUnit(double user)
public void setupMapping(Axis1D axis1d)
|
JMSLTM Numerical Library 4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |