Interface CellCanPrune

All Superinterfaces:
Cell
All Known Implementing Classes:
LegacyCell, PackedQuadPrefixTree.PackedQuadCell, QuadPrefixTree.QuadCell

public interface CellCanPrune extends Cell
Grid cells that share nothing with other cells when calling Cell.getNextLevelCells(Shape) might implement this interface. Children cells for this cell will be eligible for pruning via RecursivePrefixTreeStrategy.setPruneLeafyBranches(boolean).
WARNING: This API is experimental and might change in incompatible ways in the next release.
  • Method Details

    • getSubCellsSize

      int getSubCellsSize()
      Returns the number of children for this cell.
      Returns:
      the number of children.