How To Find the Euler Angles(Roll,Pitch,Yaw) of a Plane in 3D?
144 ビュー (過去 30 日間)
I am not sure if there is a way to find it. But I just wanted to ask it. Is there a way to find the Euler Angles (Roll, Pitch, Yaw) of a plane in 3D? Imagine that we have 3 points coordinates (P1(P1x,P1y,P1z), P2(P2x,P2y,P2z), P3(P3x,P3y,P3z)) in 3D space. By those points, we can find the plane equation which cooncide with P1,P2 and P3 points. We can assume that the plane equation is equal to A*x+B*y+C*z+D=0 .
From this plane equation, can we find the Roll, Pitch, Yaw angles of the corresponding plane?
R(r,p,y)=Rz(y)Ry(p)Rx(r) order or any other order which is described.
回答 (1 件)
Athul Prakash 2021 年 1 月 19 日
You mentioned that you have a plane equation of the form and wish to calculate the Euler angles. I presume you are referring to the angles that the plane's normal vector makes with the three axes. Further, these angles are the same as the angles with three axes-planes (eg: angle of normal with x-axis = angle of this plane with y-z plane)
The plane equation can be thought of as (where is a normal vthctor to the plane and is a variable point).
So the coefficients from the plane equation are the components of a normal vector ().
Thus, gives the angle 'α' with the x-axis. Similarly, you may calculate cosines of angles with the y and z axes as well. Obtaining the angles in radians is straightforward with the inverse cosine function.
Hope it helps!