libigl v2.5.0
Loading...
Searching...
No Matches
tetgenio_to_tetmesh.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) 2013 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_COPYLEFT_TETGEN_TETGENIO_TO_TETMESH_H
9#define IGL_COPYLEFT_TETGEN_TETGENIO_TO_TETMESH_H
10#include "../../igl_inline.h"
11
12#ifndef TETLIBRARY
13#define TETLIBRARY
14#endif
15#include "tetgen.h" // Defined tetgenio, REAL
16#include <vector>
17#include <unordered_map>
18#include <Eigen/Core>
19namespace igl
20{
21 namespace copyleft
22 {
23 namespace tetgen
24 {
39 template <
40 typename DerivedV,
41 typename DerivedT,
42 typename DerivedF,
43 typename DerivedTM,
44 typename DerivedR,
45 typename DerivedN,
46 typename DerivedPT,
47 typename DerivedFT>
49 const tetgenio & out,
50 Eigen::PlainObjectBase<DerivedV>& V,
51 Eigen::PlainObjectBase<DerivedT>& T,
52 Eigen::PlainObjectBase<DerivedF>& F,
53 Eigen::PlainObjectBase<DerivedTM>& TM,
54 Eigen::PlainObjectBase<DerivedR>& R,
55 Eigen::PlainObjectBase<DerivedN>& N,
56 Eigen::PlainObjectBase<DerivedPT>& PT,
57 Eigen::PlainObjectBase<DerivedFT>& FT,
58 int & num_regions);
59 }
60 }
61}
62
63
64#ifndef IGL_STATIC_LIBRARY
65# include "tetgenio_to_tetmesh.cpp"
66#endif
67
68#endif
#define IGL_INLINE
Definition igl_inline.h:15
bool tetgenio_to_tetmesh(const tetgenio &out, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedT > &T, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedTM > &TM, Eigen::PlainObjectBase< DerivedR > &R, Eigen::PlainObjectBase< DerivedN > &N, Eigen::PlainObjectBase< DerivedPT > &PT, Eigen::PlainObjectBase< DerivedFT > &FT, int &num_regions)
Convert a tetgenio to a tetmesh.
Definition AABB.h:17