Constructor and Description |
---|
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) |
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.awt.geom.Point2D |
toGeo() |
java.lang.String |
toString() |
public ProjPoint()
public ProjPoint(Projection proj)
public ProjPoint(double x, double y)
public ProjPoint(Projection proj, double x, double y)
public ProjPoint(java.awt.geom.Point2D pt)
public ProjPoint(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
public java.awt.geom.Point2D toGeo()