org.cresques.impl.geo
Class ProjPoint
java.lang.Object
java.awt.geom.Point2D
org.cresques.impl.geo.ProjPoint
- All Implemented Interfaces:
- Cloneable, Projected
- Direct Known Subclasses:
- UtmPoint
public class ProjPoint
- extends Point2D
- implements Projected
- Author:
- "Luis W. Sevilla" *
|
Field Summary |
double |
X
|
double |
Y
|
X
public double X
Y
public double Y
ProjPoint
public ProjPoint()
ProjPoint
public ProjPoint(Projection proj)
ProjPoint
public ProjPoint(double x,
double y)
ProjPoint
public ProjPoint(Projection proj,
double x,
double y)
ProjPoint
public ProjPoint(Point2D pt)
ProjPoint
public ProjPoint(Projection proj,
Point2D pt)
getProjection
public IProjection getProjection()
- Description copied from interface:
Projected
Returns the current projection.
- Specified by:
getProjection in interface Projected
- Returns:
- current projection
- See Also:
Projected.reProject(ICoordTrans)
reProject
public void reProject(ICoordTrans rp)
- Description copied from interface:
Projected
Changes projection of the graphical information of this object.
- Specified by:
reProject in interface Projected
- Parameters:
rp - transformation coordinates for obtaining the new projection- See Also:
Projected.getProjection()
getX
public double getX()
- Specified by:
getX in class Point2D
getY
public double getY()
- Specified by:
getY in class Point2D
setLocation
public void setLocation(double x,
double y)
- Specified by:
setLocation in class Point2D
toString
public String toString()
- Overrides:
toString in class Object
toGeo
public Point2D toGeo()
Copyright © 2004-2013 gvSIG. All Rights Reserved.