added reference

This commit is contained in:
Adrian Mariano 2020-03-21 10:58:57 -04:00
parent 72aae0e42c
commit e67ba766c8

View file

@ -358,7 +358,9 @@ function vnf_volume(vnf) =
// vol = vnf_centroid(vnf);
// Description:
// Returns the centroid of the given manifold VNF. The VNF must describe a valid polyhedron with consistent face direction and
// no holes; otherwise the results are undefined.
// no holes; otherwise the results are undefined.
// Algorithm from: https://wwwf.imperial.ac.uk/~rn/centroid.pdf
function vnf_centroid(vnf) =
let(
vnf = vnf_triangulate(vnf),