blob: 6531d48cdb222464d04df72218800fcd8d3f265a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef TETGEN_API_H
#define TETGEN_API_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct TetGenRemeshData {
float *in_verts;
unsigned int *in_faces;
int in_totfaces;
int in_totverts;
float *out_verts;
unsigned int *out_facets;
unsigned int *out_tets;
int out_totverts;
int out_totfacets;
int out_tottets;
} TetGenRemeshData;
void init_tetgenremeshdata(TetGenRemeshData *data);
// Returns true on success
bool tetgen_resmesh(TetGenRemeshData *tg);
#ifdef __cplusplus
}
#endif
#endif // TETGEN_API_H
|