org.cresques.px.gml
Class Geometry
java.lang.Object
org.cresques.px.PxObj
org.cresques.px.gml.Geometry
- All Implemented Interfaces:
- Drawable, Extent.Has, Projected
- Direct Known Subclasses:
- InsPoint, LineString, MultiGeometry, Point, Polygon
- public abstract class Geometry
- extends PxObj
- implements Projected
Clase base para geometrķas.
- Author:
- "Luis W. Sevilla"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proj
protected IProjection proj
Geometry
public Geometry()
add
public void add(java.awt.geom.Point2D pt)
get
public java.awt.geom.Point2D get(int i)
pointNr
public int pointNr()
getData
public java.util.Vector getData()
getExtent
public Extent getExtent()
- Specified by:
getExtent
in interface Extent.Has
- Overrides:
getExtent
in class PxObj
getProjection
public abstract IProjection getProjection()
- Specified by:
getProjection
in interface Projected
reProject
public abstract void reProject(ICoordTrans rp)
- Specified by:
reProject
in interface Projected
draw
public void draw(java.awt.Graphics2D g,
ViewPortData vp)
- Specified by:
draw
in interface Drawable