libigl v2.5.0
Loading...
Searching...
No Matches
combine.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) 2016 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 IGL_COMBINE_H
9#define IGL_COMBINE_H
10
11#include "igl_inline.h"
12#include <Eigen/Core>
13#include <vector>
14
15namespace igl
16{
36 template <
37 typename DerivedVV,
38 typename DerivedFF,
39 typename DerivedV,
40 typename DerivedF,
41 typename DerivedVsizes,
42 typename DerivedFsizes>
44 const std::vector<DerivedVV> & VV,
45 const std::vector<DerivedFF> & FF,
46 Eigen::PlainObjectBase<DerivedV> & V,
47 Eigen::PlainObjectBase<DerivedF> & F,
48 Eigen::PlainObjectBase<DerivedVsizes> & Vsizes,
49 Eigen::PlainObjectBase<DerivedFsizes> & Fsizes);
51 template <
52 typename DerivedVV,
53 typename DerivedFF,
54 typename DerivedV,
55 typename DerivedF>
57 const std::vector<DerivedVV> & VV,
58 const std::vector<DerivedFF> & FF,
59 Eigen::PlainObjectBase<DerivedV> & V,
60 Eigen::PlainObjectBase<DerivedF> & F);
61}
62
63#ifndef IGL_STATIC_LIBRARY
64# include "combine.cpp"
65#endif
66#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void combine(const std::vector< DerivedVV > &VV, const std::vector< DerivedFF > &FF, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedVsizes > &Vsizes, Eigen::PlainObjectBase< DerivedFsizes > &Fsizes)
Concatenate k meshes into a single >=k connected component mesh with a single vertex list and face li...