org.cresques.cts
Interface ICoordTrans

All Known Implementing Classes:
ReProjection

public interface ICoordTrans

Author:
"Luis W. Sevilla" (sevilla_lui@gva.es)

Method Summary
 Point2D convert(Point2D ptOrig, Point2D ptDest)
           
 Rectangle2D convert(Rectangle2D rect)
          Reprojects the input rectangle and returns the minimum rectangle containing the result of that reprojection (which was not necessarily a rectangle).
 ICoordTrans getInverted()
           
 IProjection getPDest()
           
 IProjection getPOrig()
           
 

Method Detail

getPOrig

IProjection getPOrig()

getPDest

IProjection getPDest()

convert

Point2D convert(Point2D ptOrig,
                Point2D ptDest)

convert

Rectangle2D convert(Rectangle2D rect)
Reprojects the input rectangle and returns the minimum rectangle containing the result of that reprojection (which was not necessarily a rectangle). Reprojecting the diagonal an assuming that the result is the diagonal of the rectangle to be returned is wrong Reprojecting the four corners and searching for min and max to create the resulting rectangle is not completely accurate but provides an acceptable approximation

Parameters:
rect -
Returns:

getInverted

ICoordTrans getInverted()


Copyright © 2004-2013 gvSIG. All Rights Reserved.