# Uses of Class
org.apache.lucene.spatial.prefix.tree.CellIterator

Packages that use CellIterator
Package
Description
org.apache.lucene.spatial.prefix
Prefix Tree Strategy.
org.apache.lucene.spatial.prefix.tree
This package is about SpatialPrefixTree and any supporting classes.

## Uses of CellIterator in org.apache.lucene.spatial.prefix

Methods in org.apache.lucene.spatial.prefix that return CellIterator
Modifier and Type
Method
Description
`protected CellIterator`
AbstractVisitingPrefixTreeQuery.VisitorTemplate.`findSubCellsToVisit(Cell cell)`
Called when doing a divide and conquer to find the next intersecting cells of the query shape that are beneath `cell`.

## Uses of CellIterator in org.apache.lucene.spatial.prefix.tree

Subclasses of CellIterator in org.apache.lucene.spatial.prefix.tree
Modifier and Type
Class
Description
`protected class`
`NumberRangePrefixTree.NRCell`
Most of the PrefixTree implementation is in this one class, which is both the Cell, the CellIterator, and the Shape to reduce object allocation.
`protected class`
`PackedQuadPrefixTree.PrefixTreeIterator`
This is a streamlined version of TreeCellIterator, with built-in support to prune at detailLevel (but not recursively upwards).
Methods in org.apache.lucene.spatial.prefix.tree that return CellIterator
Modifier and Type
Method
Description
`CellIterator`
Cell.`getNextLevelCells(org.locationtech.spatial4j.shape.Shape shapeFilter)`
Gets the cells at the next grid cell level underneath this one, optionally filtered by `shapeFilter`.
`CellIterator`
LegacyCell.`getNextLevelCells(org.locationtech.spatial4j.shape.Shape shapeFilter)`
`CellIterator`
NumberRangePrefixTree.NRCell.`getNextLevelCells(org.locationtech.spatial4j.shape.Shape shapeFilter)`
`CellIterator`
PackedQuadPrefixTree.`getTreeCellIterator(org.locationtech.spatial4j.shape.Shape shape, int detailLevel)`
`CellIterator`
S2PrefixTree.`getTreeCellIterator(org.locationtech.spatial4j.shape.Shape shape, int detailLevel)`
`CellIterator`
SpatialPrefixTree.`getTreeCellIterator(org.locationtech.spatial4j.shape.Shape shape, int detailLevel)`
Gets the intersecting cells for the specified shape, without exceeding detail level.