public class ShapeGeoIndex extends ExtentIndex.ArrayListExtentIndexImpl
Modifier and Type | Class and Description |
---|---|
static class |
ShapeGeoIndex.Builder
Use this class to create a ShapeGeoIndex.
|
ExtentIndex.AbstractExtentIndex, ExtentIndex.ArrayListExtentIndexImpl, ExtentIndex.HashSetExtentIndexImpl
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.Object,OMGraphic> |
omgraphics |
all, buckets, D_MARGIN, D_NBUCKETS, discarded, margin, nbuckets, polar
Modifier and Type | Method and Description |
---|---|
OMGraphic |
getForID(java.lang.Object id)
After you test for intersections with some GeoExtent, you get an iterator of GeoExtents.
|
java.util.Iterator |
getIntersections(GeoExtent extent)
Get an iterator with all of the objects in this ShapeGeoIndex that
intersect with the given extent.
|
java.util.Iterator |
getIntersections(GeoExtent extent,
MatchFilter filter,
MatchCollector collector)
Get an iterator with all of the objects in this ShapeGeoIndex that
intersect with the given extent.
|
void |
load(EsriGraphicList list) |
makeBucket
add, addExtent, bucketFor, clear, indexHorizontalRange, iterator, iterator, lookup, lookup, lookupByBoundingCircle, lookupByPath, lookupBySegment, makeBucket, normalizeLon, normalizeLons, removeExtent, size, toString
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
protected java.util.HashMap<java.lang.Object,OMGraphic> omgraphics
public OMGraphic getForID(java.lang.Object id)
id
- The id provided by the extent in the intersection test.public void load(EsriGraphicList list)
public java.util.Iterator getIntersections(GeoExtent extent)
extent
- GeoExtent (GeoPoint, GeoPath, GeoRegion) to test against.public java.util.Iterator getIntersections(GeoExtent extent, MatchFilter filter, MatchCollector collector)
extent
- GeoExtext (GeoPoint, GeoPath, GeoRegion) to test against.filter
- MatchFilter a MatchFilter can eliminatecollector
- Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details