libigl v2.5.0
Loading...
Searching...
No Matches
centroid.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include "centroid.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedV , typename DerivedF , typename Derivedc , typename Derivedvol >
void igl::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.
 
template<typename DerivedV , typename DerivedF , typename Derivedc >
void igl::centroid (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< Derivedc > &c)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.