|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.drivers.shp.write.SHPMultiLine com.iver.cit.gvsig.fmap.drivers.shp.write.SHPPolygon
Elemento shape de tipo Polígono.
Field Summary |
Fields inherited from class com.iver.cit.gvsig.fmap.drivers.shp.write.SHPMultiLine |
parts, points |
Constructor Summary | |
SHPPolygon()
Crea un nuevo SHPPolygon. |
|
SHPPolygon(int type)
Crea un nuevo SHPPolygon. |
Method Summary | |
int |
getLength(IGeometry fgeometry)
Devuelve el tamaño de la geometría. |
int |
getShapeType()
Devuelve el tipo de shape de que se trata. |
IGeometry |
read(java.nio.MappedByteBuffer buffer,
int type)
Lee del buffer el shape y crea una nueva geometría. |
void |
write(java.nio.ByteBuffer buffer,
IGeometry geometry)
Escribe en el buffer la geometría que se pasa como parámetro. |
Methods inherited from class com.iver.cit.gvsig.fmap.drivers.shp.write.SHPMultiLine |
getGeneralPathX, obtainsPoints |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SHPPolygon()
public SHPPolygon(int type) throws ShapefileException
type
- Tipo de shape.
ShapefileException
Method Detail |
public int getShapeType()
SHPShape
getShapeType
in interface SHPShape
getShapeType
in class SHPMultiLine
com.iver.cit.gvsig.fmap.shp.SHPShape#getShapeType()
public IGeometry read(java.nio.MappedByteBuffer buffer, int type)
SHPShape
read
in interface SHPShape
read
in class SHPMultiLine
com.iver.cit.gvsig.fmap.shp.SHPShape#read(MappedByteBuffer, int)
public void write(java.nio.ByteBuffer buffer, IGeometry geometry)
SHPShape
write
in interface SHPShape
write
in class SHPMultiLine
com.iver.cit.gvsig.fmap.shp.SHPShape#write(ByteBuffer, IGeometry)
public int getLength(IGeometry fgeometry)
SHPShape
getLength
in interface SHPShape
getLength
in class SHPMultiLine
com.iver.cit.gvsig.fmap.shp.SHPShape#getLength(com.iver.cit.gvsig.core.BasicShape.FGeometry)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |