libigl v2.5.0
Loading...
Searching...
No Matches
writeMSH.h
Go to the documentation of this file.
1// high level interface for MshSaver
2//
3// Copyright (C) 2020 Vladimir Fonov <vladimir.fonov@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla
6// Public License v. 2.0. If a copy of the MPL was not distributed
7// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_WRITE_MSH_H
9#define IGL_WRITE_MSH_H
10#include "igl_inline.h"
11
12#include <Eigen/Core>
13#include <string>
14#include <vector>
15
16namespace igl
17{
39 const std::string &msh,
40 const Eigen::MatrixXd &X,
41 const Eigen::MatrixXi &Tri,
42 const Eigen::MatrixXi &Tet,
43 const Eigen::MatrixXi &TriTag,
44 const Eigen::MatrixXi &TetTag,
45 const std::vector<std::string> &XFields,
46 const std::vector<Eigen::MatrixXd> &XF,
47 const std::vector<std::string> &EFields,
48 const std::vector<Eigen::MatrixXd> &TriF,
49 const std::vector<Eigen::MatrixXd> &TetF);
50
51}
52
53#ifndef IGL_STATIC_LIBRARY
54# include "writeMSH.cpp"
55#endif
56
57#endif //IGL_WRITE_MSH_H
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
bool writeMSH(const std::string &msh, const Eigen::MatrixXd &X, const Eigen::MatrixXi &Tri, const Eigen::MatrixXi &Tet, const Eigen::MatrixXi &TriTag, const Eigen::MatrixXi &TetTag, const std::vector< std::string > &XFields, const std::vector< Eigen::MatrixXd > &XF, const std::vector< std::string > &EFields, const std::vector< Eigen::MatrixXd > &TriF, const std::vector< Eigen::MatrixXd > &TetF)
write triangle surface mesh and tetrahedral volume mesh to .msh file