org.cresques.geo
Class ProjPoint

java.lang.Object
  extended byjava.awt.geom.Point2D
      extended byorg.cresques.geo.ProjPoint
All Implemented Interfaces:
java.lang.Cloneable, Projected
Direct Known Subclasses:
UtmPoint

public class ProjPoint
extends java.awt.geom.Point2D
implements Projected

Author:
"Luis W. Sevilla" *

Nested Class Summary
 
Nested classes inherited from class java.awt.geom.Point2D
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float
 
Field Summary
 double X
           
 double Y
           
 
Constructor Summary
ProjPoint()
           
ProjPoint(double x, double y)
           
ProjPoint(java.awt.geom.Point2D pt)
           
ProjPoint(Projection proj)
           
ProjPoint(Projection proj, double x, double y)
           
ProjPoint(Projection proj, java.awt.geom.Point2D pt)
           
 
Method Summary
 IProjection getProjection()
           
 double getX()
           
 double getY()
           
 void reProject(ICoordTrans rp)
           
 void setLocation(double x, double y)
           
 java.awt.geom.Point2D toGeo()
           
 java.lang.String toString()
           
 
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

X

public double X

Y

public double Y
Constructor Detail

ProjPoint

public ProjPoint()

ProjPoint

public ProjPoint(Projection proj)

ProjPoint

public ProjPoint(double x,
                 double y)

ProjPoint

public ProjPoint(Projection proj,
                 double x,
                 double y)

ProjPoint

public ProjPoint(java.awt.geom.Point2D pt)

ProjPoint

public ProjPoint(Projection proj,
                 java.awt.geom.Point2D pt)
Method Detail

getProjection

public IProjection getProjection()
Specified by:
getProjection in interface Projected

reProject

public void reProject(ICoordTrans rp)
Specified by:
reProject in interface Projected

getX

public double getX()

getY

public double getY()

setLocation

public void setLocation(double x,
                        double y)

toString

public java.lang.String toString()

toGeo

public java.awt.geom.Point2D toGeo()