3 ms·
Here is my answer to 3D from a long long time ago. https://stackoverflow.com/questions/1838401/general-formula-to-calculate-polyhedron-volume/1849746?noredirec
by phkahler 8y ago
Here is my answer to 3D from a long long time ago.
https://stackoverflow.com/questions/1838401/general-formula-to-calculate-polyhedron-volume/1849746?noredirect=1#comment93093356_1849746 https://stackoverflow.com/questions/1838401/general-formula-...
Another interesting thing about the metrix in that answer. If you invert it, the rows become the coefficients for the plane equations of the faces. You also don't need to fully invert it - IIRC the adjoint is sufficient.