public class SHPPolygon2DMWriter extends Object implements SHPShapeWriter
Constructor and Description |
---|
SHPPolygon2DMWriter()
Crea un nuevo SHPPolygon.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Devuelve el tamaño de la geometría.
|
int |
getShapeType()
Devuelve el tipo de shape de que se trata.
|
void |
initialize(Geometry g)
Inicializa el writer con la geometría.
|
void |
write(ByteBuffer buffer)
Escribe en el buffer la geometría que se pasa como parámetro.
|
public int getShapeType()
SHPShapeWriter
getShapeType
in interface SHPShapeWriter
com.iver.cit.gvsig.fmap.shp.SHPShape#getShapeType()
public void write(ByteBuffer buffer) throws WriteException
SHPShapeWriter
write
in interface SHPShapeWriter
buffer
- Buffer donde escribir.WriteException
com.iver.cit.gvsig.fmap.shp.SHPShape#write(ByteBuffer, IGeometry)
public void initialize(Geometry g) throws GeometryException, GeometryOperationNotSupportedException, GeometryOperationException
SHPShapeWriter
initialize
in interface SHPShapeWriter
g
- la Geometría.GeometryException
GeometryOperationException
GeometryOperationNotSupportedException
public int getLength()
SHPShapeWriter
getLength
in interface SHPShapeWriter
com.iver.cit.gvsig.fmap.shp.SHPShape#getLength(com.iver.cit.gvsig.core.BasicShape.FGeometry)