Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

All Known Implementing Classes:
  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

    public Point2D layoutTransform(Point2D p)

  convert the supplied graph coordinate to the screen coordinate

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

### inverseLayoutTransform

    public Point2D inverseLayoutTransform(Point2D p)

  convert the supplied screen coordinate to the graph coordinate.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD