public final int calcDistance(final OsmPos p) {
        return (int) Math.max(1.0, Math.round(CheapRulerHelper.distance(ilon, ilat, p.getILon(), p.getILat())));
    }
Container for link between two Osm nodes

@author ab
main/src/main/java/cgeo/geocaching/brouter/core/OsmPathElement.java