Lines Matching refs:bestDistance
1376 double bestDistance = Double.MAX_VALUE;
1460 if ((distance <= bestDistance && !contained) ||
1462 bestDistance = distance;
1477 if (bestDistance == Double.MAX_VALUE) {
1510 float bestDistance = Float.MAX_VALUE;
1540 Float.compare(distance, bestDistance) < 0 || (Float.compare(distance,
1541 bestDistance) == 0 && curDirectionScore > bestDirectionScore)) {
1542 bestDistance = distance;
1551 if (bestDistance == Float.MAX_VALUE) {