We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
A problem like this leads to an interesting variety of solutions.
The most obvious approach would be to substitute 3 of these points into the general equation of a plane (ax + by + cz + d = 0) and see if the 4th point satisfies this equation.
This would require a fair bit of matrix work so instead, I chose 3 different pairs of points and made vectors out of them then calculated the cross product out of two different pairs of these vectors. If all points are in the same plane then the two cross products should be scalar multiples of each other.
Sherlock and Planes
You are viewing a single comment's thread. Return to all comments →
A problem like this leads to an interesting variety of solutions.
The most obvious approach would be to substitute 3 of these points into the general equation of a plane (
ax + by + cz + d = 0
) and see if the 4th point satisfies this equation.This would require a fair bit of matrix work so instead, I chose 3 different pairs of points and made vectors out of them then calculated the cross product out of two different pairs of these vectors. If all points are in the same plane then the two cross products should be scalar multiples of each other.