public class SHPMultiLine extends java.lang.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(java.nio.MappedByteBuffer buffer,
int type)
Lee del buffer el shape y crea una nueva geometría.
|
void |
write(java.nio.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.ShapefileExceptionpublic int getShapeType()
SHPShapegetShapeType in interface SHPShapecom.iver.cit.gvsig.fmap.shp.SHPShape#getShapeType()public Geometry read(java.nio.MappedByteBuffer buffer, int type)
SHPShapepublic void write(java.nio.ByteBuffer buffer,
Geometry geometry)
SHPShapepublic int getLength(Geometry fgeometry)
SHPShapeprotected GeneralPathX getGeneralPathX(Point[] po, int[] pa)
po - DOCUMENT ME!pa - DOCUMENT ME!public void obtainsPoints(Geometry g)
SHPShapeobtainsPoints in interface SHPShapecom.iver.cit.gvsig.fmap.shp.SHPShape#obtainsPoints(com.iver.cit.gvsig.fmap.core.GeneralPathXIterator)