Interface BidirectionalTransformer
- All Known Subinterfaces:
MultiLayerTransformer
,MutableTransformer
,ShapeFlatnessTransformer
,ShapeTransformer
- All Known Implementing Classes:
AffineTransformer
,BasicTransformer
,HyperbolicShapeTransformer
,HyperbolicTransformer
,LensTransformer
,MagnifyShapeTransformer
,MagnifyTransformer
,MutableAffineTransformer
,MutableTransformerDecorator
public interface BidirectionalTransformer
Provides methods to map points from one coordinate system to
another: graph to screen and screen to graph.
-
Method Summary
-
Method Details
-
transform
convert the supplied graph coordinate to the screen coordinate- Parameters:
p
- graph point to convert- Returns:
- screen point
-
inverseTransform
convert the supplied screen coordinate to the graph coordinate.- Parameters:
p
- screen point to convert- Returns:
- the graph point
-