MeshLib C Docs
Loading...
Searching...
No Matches
MRContoursSeparation.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
10typedef struct MR_std_function_void_from_const_MR_EdgePoint_ref MR_std_function_void_from_const_MR_EdgePoint_ref; // Defined in `#include <MRCMisc/std_function_void_from_const_MR_EdgePoint_ref.h>`.
11typedef struct MR_std_vector_MR_FaceBitSet MR_std_vector_MR_FaceBitSet; // Defined in `#include <MRCMisc/std_vector_MR_FaceBitSet.h>`.
12typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_MR_Vector3f.h>`.
13
14
15// Separates mesh into disconnected by contour components (independent components are not returned),
16// faces that are intersected by contour does not belong to any component.
17// Calls callback for each MeshEdgePoint in contour respecting order,
18// ignoring MeshTriPoints (if projection of input point lay inside face)
26
27#ifdef __cplusplus
28} // extern "C"
29#endif
struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
Definition MRBestFit.h:26
struct MR_std_vector_MR_FaceBitSet MR_std_vector_MR_FaceBitSet
Definition MRContoursSeparation.h:11
MRC_API MR_std_vector_MR_FaceBitSet * MR_separateClosedContour(const MR_Mesh *mesh, const MR_std_vector_MR_Vector3f *contour, const MR_std_function_void_from_const_MR_EdgePoint_ref *cb)
struct MR_std_function_void_from_const_MR_EdgePoint_ref MR_std_function_void_from_const_MR_EdgePoint_ref
Definition MRContoursSeparation.h:10
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
#define MRC_API
Definition exports.h:11