Fix precision issue with real and as the crow flies length.

Bu işleme şunda yer alıyor:
Mikaël Capelle 2019-03-18 20:14:00 +01:00
ebeveyn d8470055f1
işleme 423e36fc65

Dosyayı Görüntüle

@ -249,6 +249,9 @@ public class BinaryGraphReader extends BinaryReader implements GraphReader {
}
maxLength = Math.max(length, maxLength);
length = Math.max(length, (float) Point.distance(nodes.get(node).getPoint(),
nodes.get(destNode).getPoint()));
// Number of segments.
int nbSegments = dis.readUnsignedShort();