Home
last modified time | relevance | path

Searched refs:fromFacePosLevel (Results 1 – 10 of 10) sorted by relevance

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CellUnionTest.java37 S2CellId face1Id = S2CellId.fromFacePosLevel(1, 0, 0); in testBasic()
44 S2CellId face2Id = S2CellId.fromFacePosLevel(2, 0, 0); in testBasic()
104 addCells(S2CellId.fromFacePosLevel(face, 0, 0), false, input, expected); in addCells()
362 ids.add(S2CellId.fromFacePosLevel( in testLeafCellsCovered()
370 ids.add(S2CellId.fromFacePosLevel(0, 0, 0)); in testLeafCellsCovered()
383 ids.add(S2CellId.fromFacePosLevel(1, 0, 1)); in testLeafCellsCovered()
384 ids.add(S2CellId.fromFacePosLevel(2, 0, 2)); in testLeafCellsCovered()
385 ids.add(S2CellId.fromFacePosLevel(2, (1L << 60), 2)); in testLeafCellsCovered()
386 ids.add(S2CellId.fromFacePosLevel(3, 0, 14)); in testLeafCellsCovered()
387 ids.add(S2CellId.fromFacePosLevel(4, (1L << 60), 15)); in testLeafCellsCovered()
[all …]
DS2CellIdTest.java46 id = S2CellId.fromFacePosLevel(3, 0x12345678, S2CellId.MAX_LEVEL - 4); in testBasic()
78 S2CellId.fromFacePosLevel(5, ~0L >>> S2CellId.FACE_BITS, S2CellId.MAX_LEVEL)); in testBasic()
82 S2CellId.fromFacePosLevel(0, 0, S2CellId.MAX_LEVEL)); in testBasic()
160 expandCell(S2CellId.fromFacePosLevel(face, 0, 0), cells, parentMap); in testContainment()
254 S2CellId.fromFacePosLevel(1, 0, 0).getEdgeNeighbors(faceNbrs); in testNeighbors()
271 S2CellId id = S2CellId.fromFacePosLevel(0, 0, S2CellId.MAX_LEVEL); in testNeighbors()
275 assertEquals(nbrs.get(0), S2CellId.fromFacePosLevel(0, 0, 0)); in testNeighbors()
276 assertEquals(nbrs.get(1), S2CellId.fromFacePosLevel(4, 0, 0)); in testNeighbors()
277 assertEquals(nbrs.get(2), S2CellId.fromFacePosLevel(5, 0, 0)); in testNeighbors()
DS2LatLngRectTest.java213 testCellOps(empty, S2Cell.fromFacePosLevel(3, (byte) 0, 0), 0); in testBasic()
214 testCellOps(full, S2Cell.fromFacePosLevel(2, (byte) 0, 0), 4); in testBasic()
215 testCellOps(full, S2Cell.fromFacePosLevel(5, (byte) 0, 25), 4); in testBasic()
220 testCellOps(r4, S2Cell.fromFacePosLevel(0, (byte) 0, 0), 3); in testBasic()
221 testCellOps(r4, S2Cell.fromFacePosLevel(0, (byte) 0, 1), 4); in testBasic()
222 testCellOps(r4, S2Cell.fromFacePosLevel(1, (byte) 0, 1), 0); in testBasic()
226 testCellOps(r5, S2Cell.fromFacePosLevel(0, (byte) 0, 0), 3); in testBasic()
227 testCellOps(r5, S2Cell.fromFacePosLevel(0, (byte) 0, 1), 3); in testBasic()
228 testCellOps(r5, S2Cell.fromFacePosLevel(1, (byte) 0, 1), 0); in testBasic()
231 testCellOps(rectFromDegrees(4, 4, 4, 4), S2Cell.fromFacePosLevel(0, (byte) 0, 0), 3); in testBasic()
[all …]
DGeometryTestCase.java74 return S2CellId.fromFacePosLevel(face, pos, level);
110 checkCovering(region, covering, checkTight, S2CellId.fromFacePosLevel(face, 0, 0));
DS2PolylineTest.java75 S2Cell cell = S2Cell.fromFacePosLevel(face, (byte) 0, 0);
DS2CellTest.java31 S2CellId id = S2CellId.fromFacePosLevel(face, 0, 0); in testFaces()
350 testSubdivide(S2Cell.fromFacePosLevel(face, (byte) 0, 0)); in testSubdivide()
DS2CapTest.java177 S2Cell rootCell = S2Cell.fromFacePosLevel(face, (byte) 0, 0); in testCells()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2Cell.java51 public static S2Cell fromFacePosLevel(int face, byte pos, int level) { in fromFacePosLevel() method in S2Cell
52 return new S2Cell(S2CellId.fromFacePosLevel(face, pos, level)); in fromFacePosLevel()
DS2CellId.java140 public static S2CellId fromFacePosLevel(int face, long pos, int level) { in fromFacePosLevel() method in S2CellId
422 return fromFacePosLevel(0, 0, 0).childBegin(level); in begin()
426 return fromFacePosLevel(5, 0, 0).childEnd(level); in end()
DS2RegionCoverer.java68 FACE_CELLS[face] = S2Cell.fromFacePosLevel(face, (byte) 0, 0);