org.cresques.geo
Class GeoPoint

java.lang.Object
  extended byjava.awt.geom.Point2D
      extended byorg.cresques.geo.GeoPoint
All Implemented Interfaces:
java.lang.Cloneable, Projected

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


Nested Class Summary
 
Nested classes inherited from class java.awt.geom.Point2D
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float
 
Field Summary
static int decimales
           
 double h
           
 SexaAngle Latitude
           
 SexaAngle Longitude
           
 
Constructor Summary
GeoPoint()
           
GeoPoint(double x, double y)
           
GeoPoint(java.awt.geom.Point2D pt)
           
GeoPoint(Projection proj, java.awt.geom.Point2D pt)
           
GeoPoint(SexaAngle sexaangle, SexaAngle sexaangle1, double d)
           
 
Method Summary
 IProjection getProjection()
           
 double getX()
           
 double getY()
           
 void reProject(ICoordTrans rp)
           
 void setLocation(double x, double y)
           
 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

decimales

public static int decimales

Longitude

public SexaAngle Longitude

Latitude

public SexaAngle Latitude

h

public double h
Constructor Detail

GeoPoint

public GeoPoint(SexaAngle sexaangle,
                SexaAngle sexaangle1,
                double d)

GeoPoint

public GeoPoint()

GeoPoint

public GeoPoint(double x,
                double y)

GeoPoint

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

GeoPoint

public GeoPoint(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()