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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedA , typename DerivedC , typename Derivedcounts >
void igl::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.
 
template<typename DerivedA , typename DerivedC >
void igl::vertex_components (const Eigen::SparseCompressedBase< DerivedA > &A, 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.
 
template<typename DerivedF , typename DerivedC >
void igl::vertex_components (const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedC > &C)
 Compute the connected components for a mesh given its faces.