Class SHPPoint
java.lang.Object
org.gvsig.fmap.dal.store.shp.utils.SHPPoint
- All Implemented Interfaces:
SHPShape
DOCUMENT ME!
- Author:
- Vicente Caballero Navarro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetLength(org.gvsig.fmap.geom.Geometry fgeometry) Devuelve el tamaño de la geometría.intDevuelve el tipo de shape de que se trata.voidobtainsPoints(org.gvsig.fmap.geom.Geometry g) Obtiene los puntos y partes del GeneralPathXIterator del shape.org.gvsig.fmap.geom.Geometryread(MappedByteBuffer buffer, int type) Lee del buffer el shape y crea una nueva geometría.voidwrite(ByteBuffer buffer, org.gvsig.fmap.geom.Geometry geometry) Escribe en el buffer la geometría que se pasa como parámetro.
-
Constructor Details
-
SHPPoint
public SHPPoint(int type) Crea un nuevo SHPPoint.- Parameters:
type- DOCUMENT ME!
-
SHPPoint
public SHPPoint()Crea un nuevo SHPPoint.
-
-
Method Details
-
getShapeType
public int getShapeType()Description copied from interface:SHPShapeDevuelve el tipo de shape de que se trata.- Specified by:
getShapeTypein interfaceSHPShape- Returns:
- Tipo de shape.
- See Also:
-
read
Description copied from interface:SHPShapeLee del buffer el shape y crea una nueva geometría. -
write
Description copied from interface:SHPShapeEscribe en el buffer la geometría que se pasa como parámetro. -
getLength
public int getLength(org.gvsig.fmap.geom.Geometry fgeometry) Description copied from interface:SHPShapeDevuelve el tamaño de la geometría. -
obtainsPoints
public void obtainsPoints(org.gvsig.fmap.geom.Geometry g) Description copied from interface:SHPShapeObtiene los puntos y partes del GeneralPathXIterator del shape.- Specified by:
obtainsPointsin interfaceSHPShape- See Also:
-