- #1
Philosophaie
- 462
- 0
I have two vectors:
r1v=r1x*i + r1y*j + r1z*k
r2v=r2x*i + r2y*j + r2z*k
and
r1=Math.sqrt(r1x^2 + r1y^2 + r1z^2)
r2=Math.sqrt(r2x^2 + r2y^2 + r2z^2)
How do I find out if they are coplanar or not?
I know if they are perpendicular:
r1v cross r2v = 0
r1v=r1x*i + r1y*j + r1z*k
r2v=r2x*i + r2y*j + r2z*k
and
r1=Math.sqrt(r1x^2 + r1y^2 + r1z^2)
r2=Math.sqrt(r2x^2 + r2y^2 + r2z^2)
How do I find out if they are coplanar or not?
I know if they are perpendicular:
r1v cross r2v = 0