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, setLocation
public 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()
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 void setLocation(double x, double y)
setLocation
in class Point2D
public Point2D toGeo()