|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 lens)
|
void |
applyLens(Point2D.Double p)
|
Point2D.Double |
convDrawToReal(double x,
double y)
Convert real position to draw position. |
Point2D.Double |
convDrawToReal(Point2D.Double p)
Convert real position to draw position. |
Point2D.Double |
convRealToDraw(double x,
double y)
Convert draw position to real position. |
Point2D.Double |
convRealToDraw(Point2D.Double p)
Convert draw position to real position. |
void |
undoLens(Point2D.Double 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 lens)
public void applyLens(Point2D.Double p)
public void undoLens(Point2D.Double p)
public Point2D.Double convRealToDraw(Point2D.Double p)
public Point2D.Double convRealToDraw(double x,
double y)
public Point2D.Double convDrawToReal(Point2D.Double p)
public Point2D.Double convDrawToReal(double x,
double y)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||