es.prodevelop.gvsig.mobile.fmap.core
Class FPolygon3D

java.lang.Object
  extended byes.prodevelop.gvsig.mobile.fmap.core.FPolyline2D
      extended byes.prodevelop.gvsig.mobile.fmap.core.FPolygon2D
          extended byes.prodevelop.gvsig.mobile.fmap.core.FPolygon3D
All Implemented Interfaces:
FShape, FShape3D, java.io.Serializable, java.awt.Shape

public class FPolygon3D
extends FPolygon2D
implements FShape3D

Polilinea 3D.

Author:
Vicente Caballero Navarro
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface es.prodevelop.gvsig.mobile.fmap.core.FShape
ARC, CIRCLE, ELLIPSE, LINE, MULTI, MULTIPOINT, NULL, POINT, POLYGON, TEXT, Z
 
Constructor Summary
FPolygon3D(GeneralPathX gpx, double[] pZ)
          Crea un nuevo Polyline3D.
 
Method Summary
 FShape cloneFShape()
          Clona FPolygon3D.
 int getShapeType()
          Obtiene el tipo de shape que contiene.
 double[] getZs()
          Devuelve un array con los valores de todas las Z.
 
Methods inherited from class es.prodevelop.gvsig.mobile.fmap.core.FPolygon2D
intersects
 
Methods inherited from class es.prodevelop.gvsig.mobile.fmap.core.FPolyline2D
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, getSelectHandlers, getStretchingHandlers, intersects, reProject, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface es.prodevelop.gvsig.mobile.fmap.core.FShape
getSelectHandlers, getStretchingHandlers, intersects, reProject, transform
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects
 

Constructor Detail

FPolygon3D

public FPolygon3D(GeneralPathX gpx,
                  double[] pZ)
Crea un nuevo Polyline3D.

Parameters:
gpx - GeneralPathX.
pZ - vector con las Z.
Method Detail

cloneFShape

public FShape cloneFShape()
Clona FPolygon3D.

Specified by:
cloneFShape in interface FShape
Overrides:
cloneFShape in class FPolygon2D
Returns:
FShape clonado.

getZs

public double[] getZs()
Devuelve un array con los valores de todas las Z.

Specified by:
getZs in interface FShape3D
Returns:
Array de Zs.

getShapeType

public int getShapeType()
Description copied from interface: FShape
Obtiene el tipo de shape que contiene. Puede ser una de las constantes POINT, LINE o POLYGON

Specified by:
getShapeType in interface FShape
Overrides:
getShapeType in class FPolygon2D
See Also:
com.iver.cit.gvsig.fmap.core.FShape#getShapeType()