米妮大萌萌的
www.***.cn设P2(x,y,z)
P0P2与法向量(a,b,c)垂直
a(x-x0)+b(y-y0)+c(z-z0)=0 (1)
P0P1=P0P2
(x1-x0)^2+(y1-y0)^2+(z1-z0)^2=(x-x0)^2+(y-y0)^2+(z-z0)^2 (2)
P0P1(x1-x0,y1-y0,z1-z0)与P0P2(x2-x0,y2-y0,z2-z0)的夹角为β:
cosβ=[(x1-x0)(x-x0)+(y1-y0)(y-y0)+(z1-z0)(z-z0)]/[根片号(x1-x0)^2+(y1行车边种破衡自赵都界洲-y0)^2+(z1-z0)^2]*
[根号(x-x0)^2+(y-y0)^2+(z-z0)^2](3)
由(2),(3)可变为:
cosβ==[(x1-x0)细味甚合(x-x0)+(y1-y0)(y-y0)+(z1-z0)(z-z0)]/[(x1-x0)^2+(y1-y0)^2+(z1-z0)^2]"