org.cresques.impl.geo
Class GeoPoint
java.lang.Object
java.awt.geom.Point2D
org.cresques.impl.geo.GeoPoint
- All Implemented Interfaces:
- Cloneable, Projected
public class GeoPoint
- extends Point2D
- implements Projected
decimales
public static int decimales
Longitude
public geojava.SexaAngle Longitude
Latitude
public geojava.SexaAngle Latitude
h
public double h
GeoPoint
public GeoPoint(geojava.SexaAngle sexaangle,
geojava.SexaAngle sexaangle1,
double d)
GeoPoint
public GeoPoint()
GeoPoint
public GeoPoint(double x,
double y)
GeoPoint
public GeoPoint(Projection proj,
double x,
double y)
GeoPoint
public GeoPoint(Point2D pt)
GeoPoint
public GeoPoint(Projection proj,
Point2D pt)
getProjection
public IProjection getProjection()
- Description copied from interface:
Projected
Returns the current projection.
- Specified by:
getProjection in interface Projected
- Returns:
- current projection
- See Also:
Projected.reProject(ICoordTrans)
reProject
public void reProject(ICoordTrans rp)
- Description copied from interface:
Projected
Changes projection of the graphical information of this object.
- Specified by:
reProject in interface Projected
- Parameters:
rp - transformation coordinates for obtaining the new projection- See Also:
Projected.getProjection()
getX
public double getX()
- Specified by:
getX in class Point2D
getY
public double getY()
- Specified by:
getY in class Point2D
setLocation
public void setLocation(double x,
double y)
- Specified by:
setLocation in class Point2D
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2013 gvSIG. All Rights Reserved.