|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.operations.strategies.MemoryShapeInfo
Estructura de datos con la información relativa a las geometrías de una fuente de datos necesaria para acelerar el procesado de la capa en memoria.
Constructor Summary | |
MemoryShapeInfo()
|
Method Summary | |
void |
addShapeInfo(java.awt.geom.Rectangle2D boundingBox,
int type)
Añade al final de la estructura de datos la información de una geometría |
java.awt.geom.Rectangle2D |
getBoundingBox(int index)
Obtiene el bounding box de la geometría index-ésima |
int |
getType(int index)
Obtiene el tipo de la geometría index-ésima |
void |
setShapeInfo(int index,
java.awt.geom.Rectangle2D boundingBox,
int type)
Establece en la posición index-ésima de la estructura de datos la información de una geometría |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MemoryShapeInfo()
Method Detail |
public void addShapeInfo(java.awt.geom.Rectangle2D boundingBox, int type)
ShapeInfo
addShapeInfo
in interface ShapeInfo
boundingBox
- Extent del shape.type
- Tipo de shape.ShapeInfo.addShapeInfo(java.awt.geom.Rectangle2D,
int)
public void setShapeInfo(int index, java.awt.geom.Rectangle2D boundingBox, int type) throws java.lang.ArrayIndexOutOfBoundsException
ShapeInfo
setShapeInfo
in interface ShapeInfo
index
- índice.boundingBox
- Extent del shape.type
- Tipo de shape.
java.lang.ArrayIndexOutOfBoundsException
- Si se intenta establecer la
información para una geometría que no existecom.iver.cit.gvsig.fmap.operations.strategies.ShapeInfo#addShapeInfo(int,
java.awt.geom.Rectangle2D, int)
public java.awt.geom.Rectangle2D getBoundingBox(int index)
ShapeInfo
getBoundingBox
in interface ShapeInfo
index
- índice de la geometría.
ShapeInfo.getBoundingBox(int)
public int getType(int index)
ShapeInfo
getType
in interface ShapeInfo
index
- índice.
ShapeInfo.getType(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |