27 const Eigen::MatrixBase<DerivedV>& V,
28 const Eigen::MatrixBase<DerivedF>& F,
29 Eigen::PlainObjectBase<Derivedc>& c,
37 const Eigen::MatrixBase<DerivedV>& V,
38 const Eigen::MatrixBase<DerivedF>& F,
39 Eigen::PlainObjectBase<Derivedc>& c);
43#ifndef IGL_STATIC_LIBRARY
44# include "centroid.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void centroid(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< Derivedc > &c, Derivedvol &vol)
Computes the centroid and enclosed volume of a closed mesh using a surface integral.