edu.uci.ics.jung.visualization.transform
Interface LayoutTransformer

All Known Implementing Classes:
SatelliteVisualizationViewer, VisualizationViewer

public interface LayoutTransformer

Provides methods to map points from one coordinate system to another: graph to screen and screen to graph.

Author:
Tom Nelson - RABA Technologies

Method Summary
 Point2D inverseLayoutTransform(Point2D p)
          convert the supplied screen coordinate to the graph coordinate.
 Point2D layoutTransform(Point2D p)
          convert the supplied graph coordinate to the screen coordinate
 

Method Detail

layoutTransform

Point2D layoutTransform(Point2D p)
convert the supplied graph coordinate to the screen coordinate

Parameters:
p - graph point to convert
Returns:
screen point

inverseLayoutTransform

Point2D inverseLayoutTransform(Point2D p)
convert the supplied screen coordinate to the graph coordinate.

Parameters:
p - screen point to convert
Returns:
the graph point