Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
同じ原点を持つ 2 つの線分の間の角度を計算する必要があります。1 本の線は y 軸に垂直です。方法を提案してください。
2行あるとしましょう。y=m1x+c1と、それぞれ ととしy=m2x+c1ましょう。線が軸に垂直な場合、それは軸に平行であることを意味するため、 の傾きは 0 です。したがって、 と の間の角度はになります。l1l2l1yl1xl1l1l2arctan(m2)
y=m1x+c1
y=m2x+c1
l1
l2
y
x
arctan(m2)