8#ifndef IGL_CONNECTED_COMPONENTS_H
9#define IGL_CONNECTED_COMPONENTS_H
12#include <Eigen/Sparse>
23 template <
typename Atype,
typename DerivedC,
typename DerivedK>
25 const Eigen::SparseMatrix<Atype> & A,
26 Eigen::PlainObjectBase<DerivedC> & C,
27 Eigen::PlainObjectBase<DerivedK> & K);
30#ifndef IGL_STATIC_LIBRARY
31# include "connected_components.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
int connected_components(const Eigen::SparseMatrix< Atype > &A, Eigen::PlainObjectBase< DerivedC > &C, Eigen::PlainObjectBase< DerivedK > &K)
Determine the connected components of a graph described by the input adjacency matrix (similar to MAT...