com.touchgraph.graphlayout
Class TGLensSet

java.lang.Object
  extended bycom.touchgraph.graphlayout.TGLensSet

public class TGLensSet
extends java.lang.Object

TGLensSet: A collection of lenses, where each lens is a function that warps 2D space.

Version:
1.21 $Id: TGLensSet.java,v 1.1.1.1 2004/02/06 08:44:05 keesj Exp $
Author:
Alexander Shapiro

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

TGLensSet

public TGLensSet()
Method Detail

addLens

public void addLens(TGAbstractLens l)

applyLens

public void applyLens(TGPoint2D p)

undoLens

public void undoLens(TGPoint2D p)

convRealToDraw

public TGPoint2D convRealToDraw(TGPoint2D p)
Convert draw position to real position.


convRealToDraw

public TGPoint2D convRealToDraw(double x,
                                double y)
Convert draw position to real position.


convDrawToReal

public TGPoint2D convDrawToReal(TGPoint2D p)
Convert real position to draw position.


convDrawToReal

public TGPoint2D convDrawToReal(double x,
                                double y)
Convert real position to draw position.



Copyright © 2003-2004 SourceForge. All Rights Reserved.