@Override
    public boolean equals(final Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Geopoint)) {
            return false;
        }
        final Geopoint gp = (Geopoint) obj;
        return getLatitudeE6() == gp.getLatitudeE6() && getLongitudeE6() == gp.getLongitudeE6();
    }
Calculates geopoint from given bearing and distance.

@param bearing  bearing in degree
@param distance distance in km
@return the projected geopoint
main/src/main/java/cgeo/geocaching/location/Geopoint.java