Revision 23803 branches/v2_0_0_prep/libraries/libFMap_spatialindex/src/org/gvsig/fmap/data/index/spatial/jsi/RTreeJsi.java

View differences:

RTreeJsi.java
69 69
import java.util.List;
70 70
import java.util.Properties;
71 71

  
72
import org.geotools.index.quadtree.QuadTree;
73
import org.gvsig.fmap.data.ReadException;
74
import org.gvsig.fmap.data.feature.Feature;
72 75
import org.gvsig.fmap.data.index.IndexException;
76
import org.gvsig.fmap.data.index.IndexParameters;
73 77
import org.gvsig.fmap.data.index.spatial.AbstractIntBasedSpatialIndex;
74 78
import org.gvsig.fmap.data.index.spatial.NearestNeighbourFinder;
75 79
import org.gvsig.fmap.data.index.spatial.SpatialIndex;
80
import org.gvsig.fmap.geom.Geometry;
76 81
import org.gvsig.fmap.geom.primitive.Envelope;
77 82
import org.gvsig.fmap.geom.primitive.Point2D;
83
import org.gvsig.tools.exception.BaseException;
78 84

  
79 85
import com.infomatiq.jsi.IntProcedure;
80 86
import com.infomatiq.jsi.Rectangle;
......
106 112
public class RTreeJsi extends AbstractIntBasedSpatialIndex implements SpatialIndex, NearestNeighbourFinder {
107 113
	private RTree rtree;
108 114
	
109
	public RTreeJsi(){
115
	public RTreeJsi(IndexParameters params) throws IndexException {
116
		super(params);
110 117
		rtree = new RTree();
111 118
	}
112 119
	
......
174 181
		return jsiRect;
175 182
	}
176 183

  
177
	
178
	
179
	
180
	
181 184
}
182 185

  

Also available in: Unified diff