Hi,
I have a set of 3D points that belong to a plane (Ax+By+Cz=0).
I'm trying to do the follow:
- find the inclination of the plane: I do believe that this is given by atan(sqrt(A^2+B^2)/C).
- find the declive of the line of intersection: I do believe that the angle is given by -atan2(A,B)
- Given one point (P1), find the angle it makes with this intersecting line.
I'm trying to make this, for instance, using the point coordinates and the reference point P2(cos a, sen a,0), where a = -atan2(A,B)
So I'm using the formula: cos x = (P1 dot P2)/(||P1||.||P2||). But this limits the range - allways inferior to 180º.
Must I do this with rotations along the z-axis and x-axis?...
Any ideas to simplify accurately this points?
Kind regards,
Kepler
I have a set of 3D points that belong to a plane (Ax+By+Cz=0).
I'm trying to do the follow:
- find the inclination of the plane: I do believe that this is given by atan(sqrt(A^2+B^2)/C).
- find the declive of the line of intersection: I do believe that the angle is given by -atan2(A,B)
- Given one point (P1), find the angle it makes with this intersecting line.
I'm trying to make this, for instance, using the point coordinates and the reference point P2(cos a, sen a,0), where a = -atan2(A,B)
So I'm using the formula: cos x = (P1 dot P2)/(||P1||.||P2||). But this limits the range - allways inferior to 180º.
Must I do this with rotations along the z-axis and x-axis?...
Any ideas to simplify accurately this points?
Kind regards,
Kepler