Home
last modified time | relevance | path

Searched refs:childBegin (Results 1 – 7 of 7) sorted by relevance

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CellIdTest.java62 assertEquals(id.childBegin(id.level() + 2).pos(), 0x12345610); in testBasic()
63 assertEquals(id.childBegin().pos(), 0x12345640); in testBasic()
68 assertTrue(id.childBegin().lessThan(id)); in testBasic()
70 assertEquals(id.childBegin().next().next().next().next(), id.childEnd()); in testBasic()
71 assertEquals(id.childBegin(S2CellId.MAX_LEVEL), id.rangeMin()); in testBasic()
139 for (S2CellId child = parent.childBegin(); !child.equals(parent.childEnd()); in expandCell()
236 for (S2CellId c = id.childBegin(level + 1); !c.equals(end); c = c.next()) { in testAllNeighbors()
DS2CellUnionTest.java139 S2CellId child = id.childBegin(); in addCells()
200 assertTrue(cellunion.contains(input.get(j).childBegin())); in testNormalize()
201 assertTrue(cellunion.intersects(input.get(j).childBegin())); in testNormalize()
204 assertTrue(cellunion.contains(input.get(j).childBegin(S2CellId.MAX_LEVEL))); in testNormalize()
205 assertTrue(cellunion.intersects(input.get(j).childBegin(S2CellId.MAX_LEVEL))); in testNormalize()
DGeometryTestCase.java128 for (S2CellId child = id.childBegin(); !child.equals(end); child = child.next()) {
DS2CellTest.java174 S2CellId childId = cell.id().childBegin(); in testSubdivide()
435 S2CellId id = cell.id().childBegin(); in expandChildren2()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2CellId.java340 public S2CellId childBegin() { in childBegin() method in S2CellId
346 public S2CellId childBegin(int level) { in childBegin() method in S2CellId
422 return fromFacePosLevel(0, 0, 0).childBegin(level); in begin()
DS2Cell.java142 S2CellId id = cellId.childBegin(); in subdivide()
DS2CellUnion.java137 for (id = id.childBegin(newLevel); !id.equals(end); id = id.next()) { in denormalize()