libigl v2.5.0
Loading...
Searching...
No Matches
extract_cells.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 Qingnan Zhou <qnzhou@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//
9#ifndef IGL_COPYLEFT_CGAL_EXTRACT_CELLS_H
10#define IGL_COPYLEFT_CGAL_EXTRACT_CELLS_H
11
12#include "../../igl_inline.h"
13#include <Eigen/Core>
14#include <vector>
15
16namespace igl {
17 namespace copyleft
18 {
19 namespace cgal
20 {
35 template<
36 typename DerivedV,
37 typename DerivedF,
38 typename DerivedP,
39 typename DeriveduE,
40 typename DerivedEMAP,
41 typename DeriveduEC,
42 typename DeriveduEE,
43 typename DerivedC >
45 const Eigen::PlainObjectBase<DerivedV>& V,
46 const Eigen::PlainObjectBase<DerivedF>& F,
47 const Eigen::PlainObjectBase<DerivedP>& P,
48 const Eigen::PlainObjectBase<DeriveduE>& uE,
49 const Eigen::PlainObjectBase<DerivedEMAP>& EMAP,
50 const Eigen::PlainObjectBase<DeriveduEC>& uEC,
51 const Eigen::PlainObjectBase<DeriveduEE>& uEE,
52 Eigen::PlainObjectBase<DerivedC>& cells);
54 template<
55 typename DerivedV,
56 typename DerivedF,
57 typename DerivedC >
59 const Eigen::PlainObjectBase<DerivedV>& V,
60 const Eigen::PlainObjectBase<DerivedF>& F,
61 Eigen::PlainObjectBase<DerivedC>& cells);
62 }
63 }
64}
65
66#ifndef IGL_STATIC_LIBRARY
67# include "extract_cells.cpp"
68#endif
69#endif
#define IGL_INLINE
Definition igl_inline.h:15
size_t extract_cells(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, const Eigen::PlainObjectBase< DerivedP > &P, const Eigen::PlainObjectBase< DeriveduE > &uE, const Eigen::PlainObjectBase< DerivedEMAP > &EMAP, const Eigen::PlainObjectBase< DeriveduEC > &uEC, const Eigen::PlainObjectBase< DeriveduEE > &uEE, Eigen::PlainObjectBase< DerivedC > &cells)
Extract connected 3D space partitioned by mesh (V, F).
Definition AABB.h:17