计算两个角所成夹角角度
public static double calculateDegreeByTwoDegree(double a, double b){ double abs = Math.abs(a - b); if(abs > 180){ return 360 - abs; } return abs; }
public static double calculateDegreeByTwoDegree(double a, double b){ double abs = Math.abs(a - b); if(abs > 180){ return 360 - abs; } return abs; }