org.cresques.impl.geo
Class ReProjection

java.lang.Object
  extended by org.cresques.impl.geo.ReProjection
All Implemented Interfaces:
ICoordTrans

public class ReProjection
extends Object
implements ICoordTrans

Transformada para cambios de proyección

Author:
"Luis W. Sevilla"

Constructor Summary
ReProjection(Projection pOrig, Projection pDest)
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReProjection

public ReProjection(Projection pOrig,
                    Projection pDest)
Method Detail

getInverted

public ICoordTrans getInverted()
Specified by:
getInverted in interface ICoordTrans

getPOrig

public IProjection getPOrig()
Specified by:
getPOrig in interface ICoordTrans

getPDest

public IProjection getPDest()
Specified by:
getPDest in interface ICoordTrans

convert

public Point2D convert(Point2D ptOrig,
                       Point2D ptDest)
Specified by:
convert in interface ICoordTrans

convert

public Rectangle2D convert(Rectangle2D rect)
Description copied from interface: ICoordTrans
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

Specified by:
convert in interface ICoordTrans
Returns:


Copyright © 2004-2013 gvSIG. All Rights Reserved.