Source: https://www7.inra.fr/vh/pflcepia/uploads/softs/geom3d/geom3d.pdf