|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvertibleProjection
A complement interface Projection
which
provides the inverse transform for invertible projections. Not all projections
are required to implement InvertibleProjection, but those that do may work
with additional painters.
CursorTextPainter
uses
InvertibleProjection
to determine the data displayed at the current
mouse location.
Method Summary | |
---|---|
double |
getTextureFractionX(double vertexX,
double vertexY)
Given a position in physical units, return the corresponding location within a rectangular array of data. |
double |
getTextureFractionY(double vertexX,
double vertexY)
|
Method Detail |
---|
double getTextureFractionX(double vertexX, double vertexY)
This method returns the first (row) index of the data at (vertexX, vertexY).
vertexX
- a x coordinate in physical spacevertexY
- a y coordinate in physical space
double getTextureFractionY(double vertexX, double vertexY)
vertexX
- a x coordinate in physical spacevertexY
- a y coordinate in physical space
getTextureFractionX( double, double )
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |