Home
last modified time | relevance | path

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

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CellTest.java115 double approxArea = cell.approxArea(); in gatherStats() local
158 double approxRatio = approxArea / exactArea; in gatherStats()
176 double approxArea = 0; in testSubdivide() local
180 approxArea += children[i].approxArea(); in testSubdivide()
300 assertTrue(Math.abs(Math.log(approxArea / cell.approxArea())) <= Math in testSubdivide()
DS2CellUnionTest.java415 assertEquals(0.0, cellUnion.approxArea()); in testApproxArea()
422 double expected = new S2Cell(ids.get(0)).approxArea() + new S2Cell(ids.get(1)).approxArea(); in testApproxArea()
423 assertEquals(expected, cellUnion.approxArea()); in testApproxArea()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2CellUnion.java508 public double approxArea() { in approxArea() method in S2CellUnion
511 area += new S2Cell(cellId).approxArea(); in approxArea()
DS2Cell.java219 public double approxArea() { in approxArea() method in S2Cell