G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
IO.h
1#pragma once
2
3//== INCLUDES =================================================================
4
5
7
8#include <string>
9
10
11//== NAMESPACE ================================================================
12
13
14namespace gismo {
15
16
17//=============================================================================
18
19bool GISMO_EXPORT read_off_ascii(gsSurfMesh& mesh, char * node);
20
21bool GISMO_EXPORT read_mesh(gsSurfMesh& mesh, const std::string& filename);
22bool GISMO_EXPORT read_off(gsSurfMesh& mesh, const std::string& filename);
23bool GISMO_EXPORT read_obj(gsSurfMesh& mesh, const std::string& filename);
24bool GISMO_EXPORT read_poly(gsSurfMesh& mesh, const std::string& filename);
25bool GISMO_EXPORT read_stl(gsSurfMesh& mesh, const std::string& filename);
26
27bool GISMO_EXPORT write_mesh(const gsSurfMesh& mesh, const std::string& filename);
28bool GISMO_EXPORT write_off(const gsSurfMesh& mesh, const std::string& filename);
29bool GISMO_EXPORT write_obj(const gsSurfMesh& mesh, const std::string& filename);
30bool GISMO_EXPORT write_poly(const gsSurfMesh& mesh, const std::string& filename);
31bool GISMO_EXPORT write_stl(const gsSurfMesh& mesh, const std::string& filename);
32//bool GISMO_EXPORT write_vtk(const gsSurfMesh& mesh, const std::string& filename);
33
34
35//=============================================================================
36} // namespace gismo
37//=============================================================================
Half edge mesh structure.
The G+Smo namespace, containing all definitions for the library.