code: public static double bearing(@NonNull Point point1, @NonNull Point point2) {
  
      double lon1 = degreesToRadians(point1.longitude());
      double lon2 = degreesToRadians(point2.longitude());
      double lat1 = degreesToRadians(point1.latitude());
      double lat2 = degreesToRadians(point2.latitude());
      double value1 = Math.sin(lon2 - lon1) * Math.cos(lat2);
      double value2 = Math.cos(lat1) * Math.sin(lat2) - Math.sin(lat1)
        * Math.cos(lat2) * Math.cos(lon2 - lon1);
  
      return radiansToDegrees(Math.atan2(value1, value2));
    }
docs: Takes two {@link Point}s and finds the geographic bearing between them.
  
  @param point1 first point used for calculating the bearing
  @param point2 second point used for calculating the bearing
  @return bearing in decimal degrees
  @see <a href="http://turfjs.org/docs/#bearing">Turf Bearing documentation</a>
  @since 1.3.0