Home
last modified time | relevance | path

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

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CapTest.java183 S2Cell cornerCell = new S2Cell(S2Projections.faceUvToXyz(face, 1 - EPS, 1 - EPS)); in testCells() local
192 S2CellId first = cornerCell.id().prev().prev().prev(); in testCells()
193 S2CellId last = cornerCell.id().next().next().next().next(); in testCells()
196 assertEquals(cell.getCapBound().contains(cornerCell), id.equals(cornerCell.id())); in testCells()
198 cell.getCapBound().mayIntersect(cornerCell), id.parent().contains(cornerCell.id())); in testCells()
210 assertEquals(covering.contains(cornerCell), capFace == face); in testCells()
212 covering.mayIntersect(cornerCell), center.dotProd(cornerCell.getCenter()) > 0); in testCells()
220 assertTrue(!bulging.contains(cornerCell)); in testCells()
221 assertTrue(!bulging.mayIntersect(cornerCell)); in testCells()
227 assertTrue(!singleton.mayIntersect(cornerCell)); in testCells()