Computes an estimate of the mean curvature of a mesh at each vertex
MIT License
Computes an approximation of the mean curvature of a mesh at each vertex.
npm i mesh-mean-curvature
var bunny = require('bunny')
var curvature = require('mesh-mean-curvature')(bunny.cells, bunny.positions)
require('mesh-mean-curvature')(cells, positions)
Computes an approximation of the mean curvature of a mesh
cells
are the cells of the meshpositions
are the positions of the vertices of the meshReturns An array of per-vertex mean curvature values
(c) 2015 Mikola Lysenko. MIT License