摘要: /// /// 两点计算角度 /// /// /// /// /// /// 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)... 阅读全文
posted @ 2013-07-04 14:49 ZN大叔 阅读(7032) 评论(1) 推荐(0) 编辑