class GeometryUtils {

    public static double bearingDifference(double firstBearing, double secondBearing) {
        double diff = Math.round(Math.abs(firstBearing - secondBearing));
        if (diff > HALF_CIRCLE) {
            diff = FULL_CIRCLE - diff;
        }
        return diff;
    }

    private  GeometryUtils();

}