Searched refs:averageArea (Results 1 – 5 of 5) sorted by relevance
90 4 * S2.M_PI, (3 * coverer.maxCells() + 1) * S2Cell.averageArea(coverer.minLevel())); in testRandomCaps()91 S2Cap cap = getRandomCap(0.1 * S2Cell.averageArea(kMaxLevel), maxArea); in testRandomCaps()129 double maxArea = Math.min(4 * S2.M_PI, 1000 * S2Cell.averageArea(level)); in testSimpleCoverings()130 S2Cap cap = getRandomCap(0.1 * S2Cell.averageArea(kMaxLevel), maxArea); in testSimpleCoverings()
177 double averageArea = 0; in testSubdivide() local181 averageArea += children[i].averageArea(); in testSubdivide()302 assertTrue(Math.abs(Math.log(averageArea / cell.averageArea())) <= Math in testSubdivide()378 s.maxApproxRatio, S2Cell.averageArea(i) / s.maxArea, S2Cell in testSubdivide()379 .averageArea(i) in testSubdivide()
318 S2Cap cap = getRandomCap(S2Cell.averageArea(S2CellId.MAX_LEVEL), 4 * S2.M_PI); in testExpand()407 double expected = S2Cell.averageArea(S2CellId.MAX_LEVEL) * (1L + (1L << 58)); in testAverageBasedArea()
200 public static double averageArea(int level) { in averageArea() method in S2Cell209 public double averageArea() { in averageArea() method in S2Cell210 return averageArea(level); in averageArea()223 return averageArea(level); in approxArea()
424 double area = S2Cell.averageArea(id.level()); in getCapBound()499 return S2Cell.averageArea(S2CellId.MAX_LEVEL) * leafCellsCovered(); in averageBasedArea()