gov.nasa.worldwind.util
Class SpatialTree.SectorTree<S,T>
java.lang.Object
gov.nasa.worldwind.util.SpatialTree<Sector,gov.nasa.worldwind.util.SpatialTree.ItemInfo<T>>
gov.nasa.worldwind.util.SpatialTree.SectorTree<S,T>
- Enclosing class:
- SpatialTree<S,T>
public static class SpatialTree.SectorTree<S,T>
- extends SpatialTree<Sector,gov.nasa.worldwind.util.SpatialTree.ItemInfo<T>>
| Methods inherited from class gov.nasa.worldwind.util.SpatialTree |
add, getAll, getCoverage, getDepth, getItems, getItems, getMaxDepth, maxDepthAdd, maxDepthRemove, normalAdd, normalRemove, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpatialTree.SectorTree
public SpatialTree.SectorTree(int maxDepth)
SpatialTree.SectorTree
public SpatialTree.SectorTree(Sector coverage,
int maxDepth,
boolean addToAllLevels)
SpatialTree.SectorTree
protected SpatialTree.SectorTree(Sector coverage,
int depth,
int maxDepth,
boolean addToAllLevels)
contains
protected boolean contains(Sector extent,
LatLon location)
- Specified by:
contains in class SpatialTree<Sector,gov.nasa.worldwind.util.SpatialTree.ItemInfo<T>>
createInstance
protected SpatialTree<Sector,gov.nasa.worldwind.util.SpatialTree.ItemInfo<T>> createInstance(Sector sector,
int depth,
int maxDepth,
boolean addToAllLevels)
- Specified by:
createInstance in class SpatialTree<Sector,gov.nasa.worldwind.util.SpatialTree.ItemInfo<T>>
intersects
protected boolean intersects(Sector sector,
gov.nasa.worldwind.util.SpatialTree.ItemInfo<T> item)
- Specified by:
intersects in class SpatialTree<Sector,gov.nasa.worldwind.util.SpatialTree.ItemInfo<T>>
intersectsCoverage
protected boolean intersectsCoverage(Sector sector1,
Sector sector2)
- Specified by:
intersectsCoverage in class SpatialTree<Sector,gov.nasa.worldwind.util.SpatialTree.ItemInfo<T>>
subdivide
protected ArrayList<Sector> subdivide(Sector extent,
int rows,
int cols)
- Specified by:
subdivide in class SpatialTree<Sector,gov.nasa.worldwind.util.SpatialTree.ItemInfo<T>>