code: public static final double bearing(WayPoint wp1, WayPoint wp2)
      {
          double lat1 = wp1.getLatitude();
          double lat2 = wp2.getLatitude();
          double lon1 = wp1.getLongitude();
          double lon2 = wp2.getLongitude();
          return bearing(lat1, lon1, lat2, lon2);
      }
docs: Return bearing from wp1 to wp2 in degrees
  @param wp1
  @param wp2
  @return Degrees