소프트웨어, 수학 자료 정리

두 직선 사이의 각도(사이각) 계산하기(구하기)

수학/기하학

 

각의 정의 

 

삼각함수

 
 

각도 계산 공식

 

$ d_1= (x_2-x_0)(x_1-x_0)+(z_2-z_0)(z_1-z_0) $

$ d_2 = \sqrt{(x_2-x_0)^2+(z_2-x_0)^2} \sqrt{(x_1-x_0)^2+(z_1-x_0)^2} $

$ d_3= d_1/d_2 $

$ \alpha = (180/3.141592)Acos(d_3) $

 

참고

 

http://www.ambrsoft.com/MathCalc/Line/TwoLinesIntersection/TwoLinesIntersection.htm