8#ifndef IGL_COMPONENTS_H 
    9#define IGL_COMPONENTS_H 
   12#include <Eigen/Sparse> 
   24  template <
typename DerivedA, 
typename DerivedC, 
typename Derivedcounts>
 
   26    const Eigen::SparseCompressedBase<DerivedA> & A,
 
   27    Eigen::PlainObjectBase<DerivedC> & C,
 
   28    Eigen::PlainObjectBase<Derivedcounts> & counts);
 
   30  template <
typename DerivedA, 
typename DerivedC>
 
   32    const Eigen::SparseCompressedBase<DerivedA> & A,
 
   33    Eigen::PlainObjectBase<DerivedC> & C);
 
   42  template <
typename DerivedF, 
typename DerivedC>
 
   44    const Eigen::MatrixBase<DerivedF> & F,
 
   45    Eigen::PlainObjectBase<DerivedC> & C);
 
   49#ifndef IGL_STATIC_LIBRARY 
   50#  include "vertex_components.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void vertex_components(const Eigen::SparseCompressedBase< DerivedA > &A, Eigen::PlainObjectBase< DerivedC > &C, Eigen::PlainObjectBase< Derivedcounts > &counts)
Compute connected components of a graph represented by an adjacency matrix.