Home
last modified time | relevance | path

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

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CellTest.java114 double exactArea = cell.exactArea(); in gatherStats() local
141 s.minArea = Math.min(exactArea, s.minArea); in gatherStats()
142 s.maxArea = Math.max(exactArea, s.maxArea); in gatherStats()
143 s.avgArea += exactArea; in gatherStats()
158 double approxRatio = approxArea / exactArea; in gatherStats()
175 double exactArea = 0; in testSubdivide() local
179 exactArea += children[i].exactArea(); in testSubdivide()
298 assertTrue(Math.abs(Math.log(exactArea / cell.exactArea())) <= Math in testSubdivide()
DS2CellUnionTest.java430 assertEquals(0.0, cellUnion.exactArea()); in testExactArea()
437 double expected = new S2Cell(ids.get(0)).exactArea() + new S2Cell(ids.get(1)).exactArea(); in testExactArea()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2CellUnion.java522 public double exactArea() { in exactArea() method in S2CellUnion
525 area += new S2Cell(cellId).exactArea(); in exactArea()
DS2Cell.java246 public double exactArea() { in exactArea() method in S2Cell