Modifier and Type | Field and Description |
---|---|
static int |
decimales |
double |
h |
SexaAngle |
Latitude |
SexaAngle |
Longitude |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
IProjection |
getProjection()
Returns the current projection.
|
double |
getX() |
double |
getY() |
void |
reProject(ICoordTrans rp)
Changes projection of the graphical information of this object.
|
void |
setLocation(double x,
double y) |
java.lang.String |
toString() |
public static int decimales
public SexaAngle Longitude
public SexaAngle Latitude
public double h
public GeoPoint(SexaAngle sexaangle, SexaAngle sexaangle1, double d)
public GeoPoint()
public GeoPoint(double x, double y)
public GeoPoint(java.awt.geom.Point2D pt)
public GeoPoint(Projection proj, java.awt.geom.Point2D pt)
public IProjection getProjection()
Projected
Returns the current projection.
getProjection
in interface Projected
Projected.reProject(ICoordTrans)
public void reProject(ICoordTrans rp)
Projected
Changes projection of the graphical information of this object.
reProject
in interface Projected
rp
- transformation coordinates for obtaining the new projectionProjected.getProjection()
public double getX()
getX
in class java.awt.geom.Point2D
public double getY()
getY
in class java.awt.geom.Point2D
public void setLocation(double x, double y)
setLocation
in class java.awt.geom.Point2D
public java.lang.String toString()
toString
in class java.lang.Object