root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / Index.java @ 213
History | View | Annotate | Download (739 Bytes)
1 |
/* Generated by Together */
|
---|---|
2 |
|
3 |
package com.iver.cit.gvsig.fmap; |
4 |
|
5 |
import java.awt.geom.Rectangle2D; |
6 |
|
7 |
public interface Index { |
8 |
/**
|
9 |
* Dado un rect?ngulo en coordenadas del mapa se devuelve un array de indices de los registros cuyas features est?n contenidas o intersecten en dicho rect?ngulo. En caso de que ninguna est? contenida se devuelve un array vac?o. Si se invoca esta funci?n pero no hay ning?n ?ndice definido se lanzar? una IndexNotExistsException
|
10 |
*/
|
11 |
int[] getRecordIndexes(Rectangle2D rect) throws DriverIOException, IndexNotExistsException; |
12 |
|
13 |
/**
|
14 |
* Abre el fichero de ?ndices
|
15 |
*/
|
16 |
void openIndexFile(String file); |
17 |
|
18 |
/**
|
19 |
* Cierra el fichero de ?ndices
|
20 |
*/
|
21 |
void closeIndexFile();
|
22 |
} |