Calculates mesh mass and area. Note that the volume does not make sense if the mesh does not represent a solid.
Implementation comes from this paper
var mass = require("./index");
var bunny = require("bunny");
var massProperties = mass(bunny.cells, bunny.positions);
console.log(massProperties);
Returns an object with properties area
and volume
.
See stackgl/contributing for details.
MIT. See LICENSE.md for details.