Hi.
Some time ago I've placed this problem at this forum. Still, it wasn't solved.
Given a set of 3 points (3D), I want to find the best fit plane that passes through them and also the origin (0,0,0)
If they were 2 points only, I would simply find the cross product between them (vetor OP and OQ, being O the origin and P and Q the 2 points) , and it would be a perfect fit.
Can someone help me out translating this small problem into a piece of code?
Kind regards,
Kepler
Some time ago I've placed this problem at this forum. Still, it wasn't solved.
Given a set of 3 points (3D), I want to find the best fit plane that passes through them and also the origin (0,0,0)
If they were 2 points only, I would simply find the cross product between them (vetor OP and OQ, being O the origin and P and Q the 2 points) , and it would be a perfect fit.
Can someone help me out translating this small problem into a piece of code?
Kind regards,
Kepler