org.cresques.px.gml
Class Point
java.lang.Object
org.cresques.px.PxObj
org.cresques.px.gml.Geometry
org.cresques.px.gml.Point
- All Implemented Interfaces:
- Drawable, Extent.Has, Projected
- Direct Known Subclasses:
- Point3D
- public class Point
- extends Geometry
Geometria de tipo Point
- Author:
- "Luis W. Sevilla"
Fields inherited from class org.cresques.px.gml.Geometry |
proj |
Constructor Summary |
Point()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pointNr
public static int pointNr
text
public java.lang.String text
Point
public Point()
add
public void add(java.awt.geom.Point2D pt)
- Description copied from class:
Geometry
- Permite añadir un punto a la Geometry.
- Overrides:
add
in class Geometry
- Parameters:
pt
-
c
public java.awt.Color c()
c
public java.awt.Color c(java.awt.Color color)
fillColor
public java.awt.Color fillColor()
fillColor
public java.awt.Color fillColor(java.awt.Color c)
getProjection
public IProjection getProjection()
- Description copied from class:
Geometry
- Devuelve la proyección cartográfica en la que se encuentra la Geometry.
- Specified by:
getProjection
in interface Projected
- Specified by:
getProjection
in class Geometry
- Returns:
- IProjection, la proyección cartográfica.
setProjection
public void setProjection(IProjection p)
reProject
public void reProject(ICoordTrans rp)
- Description copied from class:
Geometry
- Permite reproyectar la Geometry en función de unas coordenadas de transformación.
- Specified by:
reProject
in interface Projected
- Specified by:
reProject
in class Geometry
draw
public void draw(java.awt.Graphics2D g,
ViewPortData vp)
- Description copied from class:
Geometry
- Permite dibujar la Geometry.
- Specified by:
draw
in interface Drawable
- Overrides:
draw
in class Geometry
isTextPoint
public boolean isTextPoint()
- Returns:
- Returns the textPoint.
setTextPoint
public void setTextPoint(boolean textPoint)
- Parameters:
textPoint
- The textPoint to set.