libigl v2.5.0
Loading...
Searching...
No Matches
facet_components.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef FACET_COMPONENTS_H
9#define FACET_COMPONENTS_H
10#include "igl_inline.h"
11#include <Eigen/Core>
12#include <vector>
13namespace igl
14{
22 template <typename DerivedF, typename DerivedC>
24 const Eigen::MatrixBase<DerivedF> & F,
25 Eigen::PlainObjectBase<DerivedC> & C);
31 template <
32 typename TTIndex,
33 typename DerivedC,
34 typename Derivedcounts>
36 const std::vector<std::vector<std::vector<TTIndex > > > & TT,
37 Eigen::PlainObjectBase<DerivedC> & C,
38 Eigen::PlainObjectBase<Derivedcounts> & counts);
39}
40#ifndef IGL_STATIC_LIBRARY
41# include "facet_components.cpp"
42#endif
43#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
int facet_components(const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedC > &C)
Compute connected components of facets based on edge-edge adjacency.