jcckit.transformation
Interface Transformation

All Known Implementing Classes:
CartesianTransformation

public interface Transformation

Interface for transformations between data coordinates and device-independent coordinates.

Author:
Franz-Josef Elmer

Method Summary
 DataPoint transformToData(GraphPoint point)
          Transforms a GraphPoint into a DataPoint.
 GraphPoint transformToGraph(DataPoint point)
          Transforms a DataPoint into a GraphPoint.
 

Method Detail

transformToGraph

public GraphPoint transformToGraph(DataPoint point)
Transforms a DataPoint into a GraphPoint.

Parameters:
point - A point in data coordinates.
Returns:
point tranformed into device-independent coordinates..

transformToData

public DataPoint transformToData(GraphPoint point)
Transforms a GraphPoint into a DataPoint.

Parameters:
point - A point in device-independent coordinates..
Returns:
point tranformed into data coordinates.