Class S2CellIndex.RangeNode

java.lang.Object
com.google.common.geometry.S2CellIndex.RangeNode
Enclosing class:
S2CellIndex

private static class S2CellIndex.RangeNode extends Object
A range of leaf S2CellIds, from the level 30 leaf cell of this range to the next range.
  • Field Details

    • startId

      private final S2CellId startId
      First leaf cell contained by this range.
    • contents

      private final int contents
      Index in S2CellIndex.cellNodes for the cells that overlap this range.
  • Constructor Details

    • RangeNode

      private RangeNode(S2CellId startId, int contents)