Lines Matching refs:bestDistance
1388 double bestDistance = Double.MAX_VALUE;
1472 if ((distance <= bestDistance && !contained) ||
1474 bestDistance = distance;
1489 if (bestDistance == Double.MAX_VALUE) {
1522 float bestDistance = Float.MAX_VALUE;
1552 Float.compare(distance, bestDistance) < 0 || (Float.compare(distance,
1553 bestDistance) == 0 && curDirectionScore > bestDirectionScore)) {
1554 bestDistance = distance;
1563 if (bestDistance == Float.MAX_VALUE) {