MeshLib C Docs
Loading...
Searching...
No Matches
MRInnerShell.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdbool.h>
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
13typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
14typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.h>`.
15typedef struct MR_Vector3f MR_Vector3f; // Defined in `#include <MRCMesh/MRVector3.h>`.
16typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
17
18
24
28
33
40
47
54
61
67
74
81
87
94
102
109
117
125
132
140
144
149
154MRC_API MR_FindInnerShellSettings *MR_FindInnerShellSettings_ConstructFrom(MR_Side side, float maxDistSq, bool useWindingNumber, float windingNumberThreshold, int minVertsInComp);
155
159
163
169
172
175
183
189MRC_API const bool *MR_ShellVertexInfo_Get_inRange(const MR_ShellVertexInfo *_this);
190
195MRC_API void MR_ShellVertexInfo_Set_inRange(MR_ShellVertexInfo *_this, bool value);
196
203
209MRC_API const bool *MR_ShellVertexInfo_Get_projOnBd(const MR_ShellVertexInfo *_this);
210
216
223
229MRC_API const bool *MR_ShellVertexInfo_Get_rightSide(const MR_ShellVertexInfo *_this);
230
236
243
247
252
256MRC_API MR_ShellVertexInfo *MR_ShellVertexInfo_ConstructFrom(bool inRange, bool projOnBd, bool rightSide);
257
261
265
271
274
277
285
290
300MRC_API MR_ShellVertexInfo *MR_classifyShellVert(const MR_MeshPart *mp, const MR_Vector3f *shellPoint, const MR_FindInnerShellSettings *settings);
301
310MRC_API MR_VertBitSet *MR_findInnerShellVerts(const MR_MeshPart *mp, const MR_Mesh *shell, const MR_FindInnerShellSettings *settings);
311
321
322#ifdef __cplusplus
323} // extern "C"
324#endif
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:22
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTree.h:17
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:19
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
MRC_API MR_VertBitSet * MR_findInnerShellVerts(const MR_MeshPart *mp, const MR_Mesh *shell, const MR_FindInnerShellSettings *settings)
MRC_API void MR_ShellVertexInfo_Set_rightSide(MR_ShellVertexInfo *_this, bool value)
MRC_API bool * MR_ShellVertexInfo_GetMutable_inRange(MR_ShellVertexInfo *_this)
MRC_API bool * MR_ShellVertexInfo_GetMutable_projOnBd(MR_ShellVertexInfo *_this)
MRC_API const MR_FindInnerShellSettings * MR_FindInnerShellSettings_OffsetPtr(const MR_FindInnerShellSettings *ptr, ptrdiff_t i)
struct MR_FindInnerShellSettings MR_FindInnerShellSettings
Definition MRInnerShell.h:27
MRC_API void MR_FindInnerShellSettings_Destroy(const MR_FindInnerShellSettings *_this)
Destroys a heap-allocated instance of MR_FindInnerShellSettings. Does nothing if the pointer is null.
MRC_API void MR_FindInnerShellSettings_DestroyArray(const MR_FindInnerShellSettings *_this)
Destroys a heap-allocated array of MR_FindInnerShellSettings. Does nothing if the pointer is null.
MRC_API const int * MR_FindInnerShellSettings_Get_minVertsInComp(const MR_FindInnerShellSettings *_this)
MRC_API void MR_ShellVertexInfo_Destroy(const MR_ShellVertexInfo *_this)
Destroys a heap-allocated instance of MR_ShellVertexInfo. Does nothing if the pointer is null.
MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_OffsetMutablePtr(MR_FindInnerShellSettings *ptr, ptrdiff_t i)
MRC_API float * MR_FindInnerShellSettings_GetMutable_windingNumberThreshold(MR_FindInnerShellSettings *_this)
MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_ConstructFromAnother(const MR_FindInnerShellSettings *_other)
MRC_API void MR_FindInnerShellSettings_Set_side(MR_FindInnerShellSettings *_this, MR_Side value)
MRC_API MR_FaceBitSet * MR_findInnerShellFacesWithSplits(const MR_MeshPart *mp, MR_Mesh *shell, const MR_FindInnerShellSettings *settings)
MRC_API void MR_FindInnerShellSettings_Set_windingNumberThreshold(MR_FindInnerShellSettings *_this, float value)
MRC_API const bool * MR_ShellVertexInfo_Get_rightSide(const MR_ShellVertexInfo *_this)
MRC_API const float * MR_FindInnerShellSettings_Get_windingNumberThreshold(const MR_FindInnerShellSettings *_this)
MRC_API const bool * MR_FindInnerShellSettings_Get_useWindingNumber(const MR_FindInnerShellSettings *_this)
MRC_API void MR_FindInnerShellSettings_Set_useWindingNumber(MR_FindInnerShellSettings *_this, bool value)
MRC_API MR_ShellVertexInfo * MR_classifyShellVert(const MR_MeshPart *mp, const MR_Vector3f *shellPoint, const MR_FindInnerShellSettings *settings)
MRC_API const bool * MR_ShellVertexInfo_Get_projOnBd(const MR_ShellVertexInfo *_this)
MRC_API const float * MR_FindInnerShellSettings_Get_maxDistSq(const MR_FindInnerShellSettings *_this)
MRC_API bool MR_ShellVertexInfo_valid(const MR_ShellVertexInfo *_this)
MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_OffsetMutablePtr(MR_ShellVertexInfo *ptr, ptrdiff_t i)
MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_DefaultConstructArray(size_t num_elems)
struct MR_ShellVertexInfo MR_ShellVertexInfo
Definition MRInnerShell.h:32
MR_Side
Definition MRInnerShell.h:20
@ MR_Side_Positive
Definition MRInnerShell.h:22
@ MR_Side_Negative
Definition MRInnerShell.h:21
MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_DefaultConstructArray(size_t num_elems)
MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_DefaultConstruct(void)
MRC_API const MR_Side * MR_FindInnerShellSettings_Get_side(const MR_FindInnerShellSettings *_this)
MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_ConstructFrom(MR_Side side, float maxDistSq, bool useWindingNumber, float windingNumberThreshold, int minVertsInComp)
MRC_API void MR_FindInnerShellSettings_Set_maxDistSq(MR_FindInnerShellSettings *_this, float value)
MRC_API bool * MR_ShellVertexInfo_GetMutable_rightSide(MR_ShellVertexInfo *_this)
MRC_API float * MR_FindInnerShellSettings_GetMutable_maxDistSq(MR_FindInnerShellSettings *_this)
MRC_API bool * MR_FindInnerShellSettings_GetMutable_useWindingNumber(MR_FindInnerShellSettings *_this)
MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_AssignFromAnother(MR_ShellVertexInfo *_this, const MR_ShellVertexInfo *_other)
MRC_API const bool * MR_ShellVertexInfo_Get_inRange(const MR_ShellVertexInfo *_this)
MRC_API void MR_ShellVertexInfo_Set_projOnBd(MR_ShellVertexInfo *_this, bool value)
MRC_API void MR_ShellVertexInfo_Set_inRange(MR_ShellVertexInfo *_this, bool value)
MRC_API const MR_ShellVertexInfo * MR_ShellVertexInfo_OffsetPtr(const MR_ShellVertexInfo *ptr, ptrdiff_t i)
MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_AssignFromAnother(MR_FindInnerShellSettings *_this, const MR_FindInnerShellSettings *_other)
MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_ConstructFrom(bool inRange, bool projOnBd, bool rightSide)
MRC_API void MR_FindInnerShellSettings_Set_minVertsInComp(MR_FindInnerShellSettings *_this, int value)
MRC_API int * MR_FindInnerShellSettings_GetMutable_minVertsInComp(MR_FindInnerShellSettings *_this)
MRC_API MR_Side * MR_FindInnerShellSettings_GetMutable_side(MR_FindInnerShellSettings *_this)
MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_DefaultConstruct(void)
MRC_API void MR_ShellVertexInfo_DestroyArray(const MR_ShellVertexInfo *_this)
Destroys a heap-allocated array of MR_ShellVertexInfo. Does nothing if the pointer is null.
MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_ConstructFromAnother(const MR_ShellVertexInfo *_other)
Generated from class MR::Vector3f.
Definition MRVector3.h:47