AB的斜率k = (ya - yb)/(xa - xb), 倾斜角α = arctank
BC的倾斜角β = α + S, 斜率k' = tanβ
C(p, q), k' = tanβ = (q - yb)/(p - xb) (1)
BC² = (q - yb)² + (p - ya)² (2)
从(1)(2)可解得p, q(舍去p < xa的一个解)
AB的斜率k = (ya - yb)/(xa - xb), 倾斜角α = arctank
BC的倾斜角β = α + S, 斜率k' = tanβ
C(p, q), k' = tanβ = (q - yb)/(p - xb) (1)
BC² = (q - yb)² + (p - ya)² (2)
从(1)(2)可解得p, q(舍去p < xa的一个解)