|
JMSLTM Numerical Library 6.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Transform
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 |
---|
double mapUnitToUser(double unit)
double mapUserToUnit(double user)
void setupMapping(Axis1D axis1d)
|
JMSLTM Numerical Library 6.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |