Lines Matching refs:cellId
91 public S2CellId cellId(int i) { in cellId() method in S2CellUnion
283 S2CellId imin = x.cellId(i).rangeMin(); in getIntersection()
284 S2CellId jmin = y.cellId(j).rangeMin(); in getIntersection()
287 if (x.cellId(i).lessOrEquals(y.cellId(j).rangeMax())) { in getIntersection()
288 cellIds.add(x.cellId(i++)); in getIntersection()
293 if (x.cellId(i).lessOrEquals(y.cellId(j - 1).rangeMax())) { in getIntersection()
299 if (y.cellId(j).lessOrEquals(x.cellId(i).rangeMax())) { in getIntersection()
300 cellIds.add(y.cellId(j++)); in getIntersection()
303 if (y.cellId(j).lessOrEquals(x.cellId(i - 1).rangeMax())) { in getIntersection()
309 if (x.cellId(i).lessThan(y.cellId(j))) { in getIntersection()
310 cellIds.add(x.cellId(i++)); in getIntersection()
312 cellIds.add(y.cellId(j++)); in getIntersection()
364 S2CellId id = cellId(i); in expand()
369 while (i > 0 && id.contains(cellId(i - 1))) { in expand()
477 for (S2CellId cellId : cellIds) { in leafCellsCovered()
478 int invertedLevel = S2CellId.MAX_LEVEL - cellId.level(); in leafCellsCovered()
510 for (S2CellId cellId : cellIds) { in approxArea()
511 area += new S2Cell(cellId).approxArea(); in approxArea()
524 for (S2CellId cellId : cellIds) { in exactArea()
525 area += new S2Cell(cellId).exactArea(); in exactArea()