MeshLib
 
Loading...
Searching...
No Matches
MRMeshC/MRMeshFwd.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef __cplusplus
4#include <cstddef>
5#include <cstdint>
6#else
7#include <stdbool.h>
8#include <stddef.h>
9#include <stdint.h>
10#endif
11
12#ifdef _WIN32
13# ifdef MRMESHC_EXPORT
14# define MRMESHC_API __declspec( dllexport )
15# else
16# define MRMESHC_API __declspec( dllimport )
17# endif
18#else
19# define MRMESHC_API __attribute__( ( visibility( "default" ) ) )
20#endif
21
22#ifdef __cplusplus
23#define MR_EXTERN_C_BEGIN extern "C" {
24#define MR_EXTERN_C_END }
25#else
26#define MR_EXTERN_C_BEGIN
27#define MR_EXTERN_C_END
28#endif
29
31
32typedef struct MRString MRString;
33
34typedef struct MRBitSet MRBitSet;
39
40typedef struct MRVector3f MRVector3f;
41
43typedef struct MRMesh MRMesh;
44
46
47typedef bool (*MRProgressCallback)( float );
48
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
struct MRPointCloud MRPointCloud
Definition MRMeshC/MRMeshFwd.h:45
bool(* MRProgressCallback)(float)
Definition MRMeshC/MRMeshFwd.h:47
struct MRVertBitSet MRVertBitSet
Definition MRMeshC/MRMeshFwd.h:38
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
struct MRUndirectedEdgeBitSet MRUndirectedEdgeBitSet
Definition MRMeshC/MRMeshFwd.h:36
struct MRMesh MRMesh
Definition MRMeshC/MRMeshFwd.h:43
struct MRMeshTopology MRMeshTopology
Definition MRMeshC/MRMeshFwd.h:42
struct MRFaceBitSet MRFaceBitSet
Definition MRMeshC/MRMeshFwd.h:37
typedefMR_EXTERN_C_BEGIN struct MRString MRString
Definition MRMeshC/MRMeshFwd.h:32
struct MRBitSet MRBitSet
Definition MRMeshC/MRMeshFwd.h:34
struct MREdgeBitSet MREdgeBitSet
Definition MRMeshC/MRMeshFwd.h:35
three-dimensional vector
Definition MRMeshC/MRVector3.h:9