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
6
extern
"C"
{
7
#endif
8
9
typedef
struct
MR_Mesh
MR_Mesh
;
// Defined in `#include <MRCMesh/MRMesh.h>`.
10
typedef
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>`.
11
typedef
struct
MR_std_vector_MR_FaceBitSet
MR_std_vector_MR_FaceBitSet
;
// Defined in `#include <MRCMisc/std_vector_MR_FaceBitSet.h>`.
12
typedef
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)
25
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);
26
27
#ifdef __cplusplus
28
}
// extern "C"
29
#endif
MR_std_vector_MR_Vector3f
struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
Definition
MRBestFit.h:26
MR_std_vector_MR_FaceBitSet
struct MR_std_vector_MR_FaceBitSet MR_std_vector_MR_FaceBitSet
Definition
MRContoursSeparation.h:11
MR_separateClosedContour
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)
MR_std_function_void_from_const_MR_EdgePoint_ref
struct MR_std_function_void_from_const_MR_EdgePoint_ref MR_std_function_void_from_const_MR_EdgePoint_ref
Definition
MRContoursSeparation.h:10
MR_Mesh
struct MR_Mesh MR_Mesh
Definition
MRCtm.h:13
exports.h
MRC_API
#define MRC_API
Definition
exports.h:11
MeshLib
Cbindings
MRCMesh
MRContoursSeparation.h
Generated by
1.11.0