libigl v2.5.0
Loading...
Searching...
No Matches
mesh_to_tetgenio.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_MESH_TO_TETGENIO_H
9#define IGL_COPYLEFT_TETGEN_MESH_TO_TETGENIO_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 <Eigen/Core>
18
19namespace igl
20{
21 namespace copyleft
22 {
23 namespace tetgen
24 {
32 template <
33 typename DerivedV,
34 typename DerivedF,
35 typename DerivedH,
36 typename DerivedVM,
37 typename DerivedFM,
38 typename DerivedR>
40 const Eigen::MatrixBase<DerivedV>& V,
41 const Eigen::MatrixBase<DerivedF>& F,
42 const Eigen::MatrixBase<DerivedH>& H,
43 const Eigen::MatrixBase<DerivedVM>& VM,
44 const Eigen::MatrixBase<DerivedFM>& FM,
45 const Eigen::MatrixBase<DerivedR>& R,
46 tetgenio & in);
47 }
48 }
49}
50
51
52#ifndef IGL_STATIC_LIBRARY
53# include "mesh_to_tetgenio.cpp"
54#endif
55
56#endif
#define IGL_INLINE
Definition igl_inline.h:15
void mesh_to_tetgenio(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedH > &H, const Eigen::MatrixBase< DerivedVM > &VM, const Eigen::MatrixBase< DerivedFM > &FM, const Eigen::MatrixBase< DerivedR > &R, tetgenio &in)
Load a vertex list and face list into a tetgenio object.
Definition AABB.h:17