ilog.cpl.graphic
Interface IlpPositionConverter

All Known Implementing Classes:
IlpDefaultPositionConverter, IlpDefaultPositionConverter, IlpGeographicPositionConverter

public interface IlpPositionConverter

This interface converts between user-defined 2D positions and shapes, of type IlpPosition, and positions and shapes the view can interpret.

Since:
JTGO 3.0

Method Summary
 IlpPosition getModelPosition(IlpPosition viewLocation)
          Converts a position/shape in the view to a user-defined position/shape.
 IlpPosition getViewLocation(IlpPosition modelPosition)
          Converts a user-defined position/shape to a position/shape for the view.
 

Method Detail

getViewLocation

IlpPosition getViewLocation(IlpPosition modelPosition)
Converts a user-defined position/shape to a position/shape for the view.

Returns:
An instance of IlpPoint, IlpRect, IlpPolyline, or IlpPolygon.

getModelPosition

IlpPosition getModelPosition(IlpPosition viewLocation)
Converts a position/shape in the view to a user-defined position/shape.

Parameters:
viewLocation - An instance of IlpPoint, IlpRect, IlpPolyline, or IlpPolygon.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.