Exemplo n.º 1
0
 /// <summary>
 /// 计算线段L与X轴的夹角
 /// </summary>
 /// <param name="L">线段L</param>
 /// <returns>返回夹角弧度</returns>
 public static Double IncludedAngle(LineD L)
 {
     return(PointAlgorithm.Angle(L.Starting, L.End, new PointD(10000000, L.Starting.Y)));
 }