| 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()
ProjectedReturns the current projection.
getProjection in interface ProjectedProjected.reProject(ICoordTrans)public void reProject(ICoordTrans rp)
ProjectedChanges projection of the graphical information of this object.
reProject in interface Projectedrp - transformation coordinates for obtaining the new projectionProjected.getProjection()public double getX()
getX in class java.awt.geom.Point2Dpublic double getY()
getY in class java.awt.geom.Point2Dpublic void setLocation(double x,
double y)
setLocation in class java.awt.geom.Point2Dpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.awt.geom.Point2D toGeo()