Class SHPPolygon2DMWriter

java.lang.Object
org.gvsig.fmap.dal.store.shp.utils.SHPPolygon2DMWriter
All Implemented Interfaces:
SHPShapeWriter

public class SHPPolygon2DMWriter extends Object implements SHPShapeWriter
  • Constructor Details

    • SHPPolygon2DMWriter

      public SHPPolygon2DMWriter()
      Crea un nuevo SHPPolygon.
  • Method Details

    • getShapeType

      public int getShapeType()
      Description copied from interface: SHPShapeWriter
      Devuelve el tipo de shape de que se trata.
      Specified by:
      getShapeType in interface SHPShapeWriter
      Returns:
      Tipo de shape.
      See Also:
      • invalid reference
        com.iver.cit.gvsig.fmap.shp.SHPShape#getShapeType()
    • write

      public void write(ByteBuffer buffer) throws org.gvsig.fmap.dal.exception.WriteException
      Description copied from interface: SHPShapeWriter
      Escribe en el buffer la geometría que se pasa como parámetro.
      Specified by:
      write in interface SHPShapeWriter
      Parameters:
      buffer - Buffer donde escribir.
      Throws:
      org.gvsig.fmap.dal.exception.WriteException
      See Also:
      • invalid reference
        com.iver.cit.gvsig.fmap.shp.SHPShape#write(ByteBuffer, IGeometry)
    • initialize

      public void initialize(org.gvsig.fmap.geom.Geometry g) throws org.gvsig.fmap.geom.GeometryException, org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Description copied from interface: SHPShapeWriter
      Inicializa el writer con la geometría.
      Specified by:
      initialize in interface SHPShapeWriter
      Parameters:
      g - la Geometría.
      Throws:
      org.gvsig.fmap.geom.GeometryException
      org.gvsig.fmap.geom.operation.GeometryOperationException
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
    • getLength

      public int getLength()
      Description copied from interface: SHPShapeWriter
      Devuelve el tamaño de la geometría.
      Specified by:
      getLength in interface SHPShapeWriter
      Returns:
      Tamaño de la geometría.
      See Also:
      • invalid reference
        com.iver.cit.gvsig.fmap.shp.SHPShape#getLength(com.iver.cit.gvsig.core.BasicShape.FGeometry)