摘要:
/// /// 两点计算角度 /// /// /// /// /// /// public static double CalulateXYAnagle(double startx, double starty, double endx, double endy) { //除数不能为0 double tan = Math.Atan(Math.Abs((endy - starty) / (endx - startx))) * 180 / Math.PI; if (endx > startx && endy > starty)... 阅读全文