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

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

public class FPolyline3D
extends FPolyline2D
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
FPolyline3D(GeneralPathX gpx, double[] pZ)
          Crea un nuevo Polyline3D.
 
Method Summary
 FShape cloneFShape()
          Clona FShape.
 int getShapeType()
          Obtiene el tipo de shape que contiene.
 double[] getZs()
          Devuelve un Array con todos los valores de Z.
 
Methods inherited from class es.prodevelop.gvsig.mobile.fmap.core.FPolyline2D
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, getSelectHandlers, getStretchingHandlers, intersects, 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

FPolyline3D

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

Parameters:
gpx - GeneralPathX
pZ - Vector con la Z.
Method Detail

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 FPolyline2D
See Also:
com.iver.cit.gvsig.fmap.core.FShape#getShapeType()

getZs

public double[] getZs()
Devuelve un Array con todos los valores de Z.

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

cloneFShape

public FShape cloneFShape()
Description copied from interface: FShape
Clona FShape.

Specified by:
cloneFShape in interface FShape
Overrides:
cloneFShape in class FPolyline2D