Point2D.Double, Point2D.Float| Constructor and Description |
|---|
ProjPoint() |
ProjPoint(double x,
double y) |
ProjPoint(Point2D pt) |
ProjPoint(Projection proj) |
ProjPoint(Projection proj,
double x,
double y) |
ProjPoint(Projection proj,
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) |
Point2D |
toGeo() |
String |
toString() |
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocationpublic ProjPoint()
public ProjPoint(Projection proj)
public ProjPoint(double x,
double y)
public ProjPoint(Projection proj, double x, double y)
public ProjPoint(Point2D pt)
public ProjPoint(Projection proj, 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 void setLocation(double x,
double y)
setLocation in class Point2Dpublic Point2D toGeo()