public class SHPMultiLine extends Object implements SHPShape
Modifier and Type | Field and Description |
---|---|
protected int |
m_type |
protected int[] |
parts |
protected Point[] |
points |
protected double[] |
zs |
Constructor and Description |
---|
SHPMultiLine()
Crea un nuevo SHPMultiLine.
|
SHPMultiLine(int type)
Crea un nuevo SHPMultiLine.
|
Modifier and Type | Method and Description |
---|---|
protected GeneralPathX |
getGeneralPathX(Point[] po,
int[] pa)
DOCUMENT ME!
|
int |
getLength(Geometry fgeometry)
Devuelve el tamaño de la geometría.
|
int |
getShapeType()
Devuelve el tipo de shape de que se trata.
|
void |
obtainsPoints(Geometry g)
Obtiene los puntos y partes del GeneralPathXIterator del shape.
|
Geometry |
read(MappedByteBuffer buffer,
int type)
Lee del buffer el shape y crea una nueva geometría.
|
void |
write(ByteBuffer buffer,
Geometry geometry)
Escribe en el buffer la geometría que se pasa como parámetro.
|
protected int m_type
protected int[] parts
protected Point[] points
protected double[] zs
public SHPMultiLine()
public SHPMultiLine(int type)
type
- Tipo de multilínea.ShapefileException
public int getShapeType()
SHPShape
getShapeType
in interface SHPShape
com.iver.cit.gvsig.fmap.shp.SHPShape#getShapeType()
public Geometry read(MappedByteBuffer buffer, int type)
SHPShape
public void write(ByteBuffer buffer, Geometry geometry)
SHPShape
public int getLength(Geometry fgeometry)
SHPShape
protected GeneralPathX getGeneralPathX(Point[] po, int[] pa)
po
- DOCUMENT ME!pa
- DOCUMENT ME!public void obtainsPoints(Geometry g)
SHPShape
obtainsPoints
in interface SHPShape
com.iver.cit.gvsig.fmap.shp.SHPShape#obtainsPoints(com.iver.cit.gvsig.fmap.core.GeneralPathXIterator)