设两直线夹角为θ,l1的倾角为α,l2的倾角为β. 则:tanα=( y2-y2 )/( x2-x1 ) tanβ=( y4-y3 )/( x4-x3 ) 根据两直线夹角公式得: tanθ= ( | … Continue reading C语言算法-求两直线夹角计算公式
设两直线夹角为θ,l1的倾角为α,l2的倾角为β. 则:tanα=( y2-y2 )/( x2-x1 ) tanβ=( y4-y3 )/( x4-x3 ) 根据两直线夹角公式得: tanθ= ( | … Continue reading C语言算法-求两直线夹角计算公式