public float bearingTo(final ICoordinate point) {
        final Geopoint otherCoords = point.getCoords();
        final GeodesicData g = Geodesic.WGS84.Inverse(getLatitude(), getLongitude(), otherCoords.getLatitude(), otherCoords.getLongitude(),
                GeodesicMask.AZIMUTH);
        final float b = (float) g.azi1;
        return b < 0 ? b + 360 : b;
    }
Calculates bearing to given Geopoint in degree.

@param point target
@return bearing in degree, in the [0,360[ range
main/src/main/java/cgeo/geocaching/location/Geopoint.java