|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.core.FPolyline2D com.iver.cit.gvsig.fmap.core.FPolygon2D
Polígono 2D.
Field Summary |
Fields inherited from class com.iver.cit.gvsig.fmap.core.FPolyline2D |
gp |
Fields inherited from interface com.iver.cit.gvsig.fmap.core.FShape |
LINE, MULTI, NULL, POINT, POLYGON, TEXT |
Constructor Summary | |
FPolygon2D(GeneralPathX gpx)
Crea un nuevo Polygon2D. |
Method Summary | |
FShape |
cloneFShape()
Clona FPolygon2D. |
int |
getShapeType()
Obtiene el tipo de shape que contiene. |
boolean |
intersects(java.awt.geom.Rectangle2D r)
El método intersects de java.awt.Shape que define la intersección entre una polilínea y un Rectangle2D considera la polilínea como un Shape genérico y se producen errores en la selección de polilíneas. |
Methods inherited from class com.iver.cit.gvsig.fmap.core.FPolyline2D |
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, reProject, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FPolygon2D(GeneralPathX gpx)
gpx
- GeneralPathX.Method Detail |
public int getShapeType()
FShape
getShapeType
in interface FShape
getShapeType
in class FPolyline2D
FShape.getShapeType()
public FShape cloneFShape()
cloneFShape
in interface FShape
cloneFShape
in class FPolyline2D
public boolean intersects(java.awt.geom.Rectangle2D r)
FPolyline2D
intersects
in interface java.awt.Shape
intersects
in class FPolyline2D
r
- Rectángulo.
com.iver.cit.gvsig.fmap.core.IGeometry#draw(java.awt.Graphics2D,
ViewPort, org.geotools.renderer.style.Style2D)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |