public class SHPMultiLine3DWriter extends Object implements SHPShapeWriter
Modifier and Type | Field and Description |
---|---|
protected int |
m_type |
protected int[] |
parts |
protected Point[] |
points |
Constructor and Description |
---|
SHPMultiLine3DWriter()
Crea un nuevo SHPMultiLine.
|
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.
|
protected int m_type
protected int[] parts
protected Point[] points
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
SHPShapeWriter
initialize
in interface SHPShapeWriter
g
- la Geometría.GeometryException
public int getLength()
SHPShapeWriter
getLength
in interface SHPShapeWriter
com.iver.cit.gvsig.fmap.shp.SHPShape#getLength(int)