Home
last modified time | relevance | path

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

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CapTest.java187 assertTrue(!S2Cap.empty().mayIntersect(rootCell)); in testCells()
198 cell.getCapBound().mayIntersect(cornerCell), id.parent().contains(cornerCell.id())); in testCells()
207 assertEquals(covering.mayIntersect(rootCell), capFace != antiFace); in testCells()
209 assertEquals(covering.contains(edgeCell), covering.mayIntersect(edgeCell)); in testCells()
212 covering.mayIntersect(cornerCell), center.dotProd(cornerCell.getCenter()) > 0); in testCells()
217 assertEquals(bulging.mayIntersect(rootCell), capFace != antiFace); in testCells()
219 assertEquals(bulging.mayIntersect(edgeCell), center.dotProd(edgeCell.getCenter()) > 0.1); in testCells()
221 assertTrue(!bulging.mayIntersect(cornerCell)); in testCells()
225 assertEquals(singleton.mayIntersect(rootCell), capFace == face); in testCells()
226 assertTrue(!singleton.mayIntersect(edgeCell)); in testCells()
[all …]
DGeometryTestCase.java115 if (!region.mayIntersect(new S2Cell(id))) {
DS2PolylineTest.java76 assertEquals(line.mayIntersect(cell), (face & 1) == 0);
DS2CellTest.java198 assertTrue(cell.mayIntersect(children[i])); in testSubdivide()
205 assertTrue(!children[i].mayIntersect(children[j])); in testSubdivide()
DS2LatLngRectTest.java56 assertEquals(r.mayIntersect(cell), level >= 1); in testCellOps()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2RegionCoverer.java327 if (!region.mayIntersect(cell)) { in newCandidate()
421 if (region.mayIntersect(childCells[i])) { in expandChildren()
531 if (!region.mayIntersect(new S2Cell(id))) { in floodFill()
DS2Region.java50 public abstract boolean mayIntersect(S2Cell cell); in mayIntersect() method
DS2Polyline.java178 public boolean mayIntersect(S2Cell cell) { in mayIntersect() method in S2Polyline
DS2Cap.java315 public boolean mayIntersect(S2Cell cell) { in mayIntersect() method in S2Cap
DS2Cell.java359 public boolean mayIntersect(S2Cell cell) { in mayIntersect() method in S2Cell
DS2Polygon.java896 public boolean mayIntersect(S2Cell cell) { in mayIntersect() method in S2Polygon
898 return loop(0).mayIntersect(cell); in mayIntersect()
DS2CellUnion.java456 public boolean mayIntersect(S2Cell cell) { in mayIntersect() method in S2CellUnion
DS2Loop.java609 public boolean mayIntersect(S2Cell cell) { in mayIntersect() method in S2Loop
DS2LatLngRect.java650 public boolean mayIntersect(S2Cell cell) { in mayIntersect() method in S2LatLngRect