|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.touchgraph.graphlayout.TGLensSet
public class TGLensSet
TGLensSet: A collection of lenses, where each lens is a function that warps 2D space.
Constructor Summary | |
---|---|
TGLensSet()
|
Method Summary | |
---|---|
void |
addLens(TGAbstractLens l)
|
void |
applyLens(TGPoint2D p)
|
TGPoint2D |
convDrawToReal(double x,
double y)
Convert real position to draw position. |
TGPoint2D |
convDrawToReal(TGPoint2D p)
Convert real position to draw position. |
TGPoint2D |
convRealToDraw(double x,
double y)
Convert draw position to real position. |
TGPoint2D |
convRealToDraw(TGPoint2D p)
Convert draw position to real position. |
void |
undoLens(TGPoint2D p)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TGLensSet()
Method Detail |
---|
public void addLens(TGAbstractLens l)
public void applyLens(TGPoint2D p)
public void undoLens(TGPoint2D p)
public TGPoint2D convRealToDraw(TGPoint2D p)
public TGPoint2D convRealToDraw(double x, double y)
public TGPoint2D convDrawToReal(TGPoint2D p)
public TGPoint2D convDrawToReal(double x, double y)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |