struct MR_std_vector_std_vector_MR_EdgeId MR_std_vector_std_vector_MR_EdgeId
Definition MR2DContoursTriangulation.h:21
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:26
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTree.h:17
struct MR_ConvertToIntVector MR_ConvertToIntVector
Definition MRAlphaShape.h:15
struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
Definition MRBestFit.h:25
struct MR_FaceMap MR_FaceMap
Definition MRBitSet.h:27
struct MR_CoordinateConverters MR_CoordinateConverters
Definition MRBooleanOperation.h:14
MR_BooleanOperation
Definition MRBooleanOperation.h:34
struct MR_BooleanResultMapper MR_BooleanResultMapper
Definition MRBooleanOperation.h:86
struct MR_std_vector_std_vector_MR_Vector3f MR_std_vector_std_vector_MR_Vector3f
Definition MRContour.h:17
struct MR_OneMeshContours MR_OneMeshContours
Special data type for MR::cutMesh: the intersections of all contours in one array,...
Definition MRContoursCut.h:17
struct MR_SortIntersectionsData MR_SortIntersectionsData
Definition MRContoursCut.h:19
struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
Definition MRCtm.h:25
struct MR_Mesh MR_Mesh
Definition MRCtm.h:17
struct MR_std_string MR_std_string
Definition MRCtm.h:33
struct MR_Vector_MR_Vector_MR_VarEdgeTri MR_Vector_MR_Vector_MR_VarEdgeTri
Definition MRIntersectionContour.h:15
struct MR_std_optional_MR_AffineXf3f MR_std_optional_MR_AffineXf3f
Definition MRMeshBoolean.h:28
MRC_API const MR_ConvertToIntVector * MR_BooleanPreCutResult_Get_toInt(const MR_BooleanPreCutResult *_this)
MRC_API MR_BooleanResult * MR_boolean_move(MR_Mesh *meshA, MR_Mesh *meshB, MR_BooleanOperation operation, const MR_BooleanParameters *params)
MRC_API void MR_BooleanPreCutResult_Set_contours(MR_BooleanPreCutResult *_this, MR_PassBy value_pass_by, MR_OneMeshContours *value)
MRC_API MR_SortIntersectionsData * MR_BooleanPreCutResult_sortData(const MR_BooleanPreCutResult *_this, const MR_Mesh *otherMesh)
MRC_API MR_BooleanPreCutResult * MR_BooleanPreCutResult_OffsetMutablePtr(MR_BooleanPreCutResult *ptr, ptrdiff_t i)
MRC_API void MR_BooleanResult_DestroyArray(const MR_BooleanResult *_this)
Destroys a heap-allocated array of MR_BooleanResult. Does nothing if the pointer is null.
MRC_API MR_BooleanPreCutResult * MR_BooleanPreCutResult_ConstructFrom(MR_PassBy mesh_pass_by, MR_Mesh *mesh, MR_PassBy contours_pass_by, MR_OneMeshContours *contours, MR_PassBy intersections_pass_by, MR_Vector_MR_Vector_MR_VarEdgeTri *intersections, const MR_ConvertToIntVector *toInt, const MR_AffineXf3f *rigidB2A, size_t meshAVertsNum, bool isMeshA)
MRC_API MR_std_vector_MR_Vector3f * MR_BooleanResultPoints_GetMutable_intersectionPoints(MR_BooleanResultPoints *_this)
MRC_API MR_BooleanResult * MR_BooleanResult_OffsetMutablePtr(MR_BooleanResult *ptr, ptrdiff_t i)
MRC_API MR_FaceBitSet * MR_BooleanResult_GetMutable_meshBBadContourFaces(MR_BooleanResult *_this)
MRC_API MR_BooleanResultMapper *const * MR_BooleanParameters_Get_mapper(const MR_BooleanParameters *_this)
MRC_API MR_BooleanPreCutResult * MR_BooleanPreCutResult_AssignFromAnother(MR_BooleanPreCutResult *_this, MR_PassBy _other_pass_by, MR_BooleanPreCutResult *_other)
MRC_API MR_BooleanResult * MR_BooleanResult_ConstructFrom(MR_PassBy mesh_pass_by, MR_Mesh *mesh, MR_PassBy meshABadContourFaces_pass_by, MR_FaceBitSet *meshABadContourFaces, MR_PassBy meshBBadContourFaces_pass_by, MR_FaceBitSet *meshBBadContourFaces, const char *errorString, const char *errorString_end)
MRC_API void MR_BooleanParameters_Destroy(const MR_BooleanParameters *_this)
Destroys a heap-allocated instance of MR_BooleanParameters. Does nothing if the pointer is null.
MRC_API void MR_BooleanParameters_Set_rigidB2A(MR_BooleanParameters *_this, const MR_AffineXf3f *value)
MRC_API bool * MR_BooleanParameters_GetMutable_mergeAllNonIntersectingComponents(MR_BooleanParameters *_this)
MRC_API MR_BooleanResultPoints * MR_BooleanResultPoints_DefaultConstructArray(size_t num_elems)
MRC_API MR_BooleanResult * MR_BooleanResult_DefaultConstruct(void)
MRC_API MR_BooleanResult * MR_BooleanResult_ConstructFromAnother(MR_PassBy _other_pass_by, MR_BooleanResult *_other)
MRC_API MR_Mesh * MR_BooleanPreCutResult_GetMutable_mesh(MR_BooleanPreCutResult *_this)
MRC_API const MR_std_optional_MR_AffineXf3f * MR_BooleanPreCutResult_Get_rigidB2A(const MR_BooleanPreCutResult *_this)
MRC_API void MR_BooleanResult_Set_meshABadContourFaces(MR_BooleanResult *_this, MR_PassBy value_pass_by, MR_FaceBitSet *value)
MRC_API void MR_BooleanResult_Destroy(const MR_BooleanResult *_this)
Destroys a heap-allocated instance of MR_BooleanResult. Does nothing if the pointer is null.
MRC_API const MR_Mesh * MR_BooleanResult_arrow(const MR_BooleanResult *_this)
MRC_API MR_FaceBitSet * MR_BooleanResult_GetMutable_meshABadContourFaces(MR_BooleanResult *_this)
MRC_API const MR_BooleanPreCutResult * MR_BooleanPreCutResult_OffsetPtr(const MR_BooleanPreCutResult *ptr, ptrdiff_t i)
MRC_API MR_BooleanResultPoints * MR_BooleanResultPoints_AssignFromAnother(MR_BooleanResultPoints *_this, MR_PassBy _other_pass_by, MR_BooleanResultPoints *_other)
MRC_API MR_BooleanResult * MR_forceBoolean(const MR_Mesh *meshA, const MR_Mesh *meshB, MR_BooleanOperation operation, const MR_BooleanParameters *params)
MRC_API MR_std_vector_std_vector_MR_EdgeId ** MR_BooleanParameters_GetMutable_outCutEdges(MR_BooleanParameters *_this)
MRC_API void MR_BooleanPreCutResult_Set_toInt(MR_BooleanPreCutResult *_this, const MR_ConvertToIntVector *value)
MRC_API MR_BooleanResult * MR_BooleanResult_DefaultConstructArray(size_t num_elems)
MRC_API bool * MR_BooleanPreCutResult_GetMutable_isMeshA(MR_BooleanPreCutResult *_this)
MRC_API MR_BooleanPreCutResult *const * MR_BooleanParameters_Get_outPreCutB(const MR_BooleanParameters *_this)
MRC_API bool MR_BooleanResult_valid(const MR_BooleanResult *_this)
MRC_API MR_BooleanPreCutResult * MR_BooleanPreCutResult_ConstructFromAnother(MR_PassBy _other_pass_by, MR_BooleanPreCutResult *_other)
MRC_API MR_BooleanResultMapper ** MR_BooleanParameters_GetMutable_mapper(MR_BooleanParameters *_this)
MRC_API void MR_BooleanPreCutResult_DestroyArray(const MR_BooleanPreCutResult *_this)
Destroys a heap-allocated array of MR_BooleanPreCutResult. Does nothing if the pointer is null.
MRC_API const MR_BooleanParameters * MR_BooleanParameters_OffsetPtr(const MR_BooleanParameters *ptr, ptrdiff_t i)
MRC_API void MR_BooleanResultPoints_Set_intersectionPoints(MR_BooleanResultPoints *_this, MR_PassBy value_pass_by, MR_std_vector_MR_Vector3f *value)
MRC_API MR_BooleanResult * MR_boolean(const MR_Mesh *meshA, const MR_Mesh *meshB, MR_BooleanOperation operation, const MR_BooleanParameters *params)
MRC_API const bool * MR_BooleanParameters_Get_forceCut(const MR_BooleanParameters *_this)
MRC_API bool MR_BooleanResult_ConvertTo_bool(const MR_BooleanResult *_this)
MRC_API void MR_convertIntFloatAllVerts(MR_Mesh *mesh, const MR_CoordinateConverters *conv)
MRC_API void MR_BooleanParameters_Set_cb(MR_BooleanParameters *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API const MR_Vector_MR_Vector_MR_VarEdgeTri * MR_BooleanPreCutResult_Get_intersections(const MR_BooleanPreCutResult *_this)
MRC_API const MR_Mesh * MR_BooleanResult_Get_mesh(const MR_BooleanResult *_this)
MRC_API MR_BooleanParameters * MR_BooleanParameters_DefaultConstruct(void)
MRC_API const MR_std_vector_MR_Vector3f * MR_BooleanResultPoints_Get_intersectionPoints(const MR_BooleanResultPoints *_this)
MRC_API size_t * MR_BooleanPreCutResult_GetMutable_meshAVertsNum(MR_BooleanPreCutResult *_this)
MRC_API void MR_BooleanResult_Set_mesh(MR_BooleanResult *_this, MR_PassBy value_pass_by, MR_Mesh *value)
MRC_API bool * MR_BooleanParameters_GetMutable_forceCut(MR_BooleanParameters *_this)
MRC_API void MR_BooleanParameters_DestroyArray(const MR_BooleanParameters *_this)
Destroys a heap-allocated array of MR_BooleanParameters. Does nothing if the pointer is null.
MRC_API MR_BooleanParameters * MR_BooleanParameters_ConstructFromAnother(MR_PassBy _other_pass_by, MR_BooleanParameters *_other)
MRC_API const MR_AffineXf3f *const * MR_BooleanParameters_Get_rigidB2A(const MR_BooleanParameters *_this)
MRC_API MR_BooleanResult * MR_boolean_withXf(const MR_Mesh *meshA, const MR_Mesh *meshB, MR_BooleanOperation operation, const MR_AffineXf3f *rigidB2A, MR_BooleanResultMapper *mapper, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
Performs CSG operation on two meshes.
MRC_API MR_BooleanResultPoints * MR_BooleanResultPoints_ConstructFromAnother(MR_PassBy _other_pass_by, MR_BooleanResultPoints *_other)
MRC_API const MR_BooleanResultPoints * MR_BooleanResultPoints_OffsetPtr(const MR_BooleanResultPoints *ptr, ptrdiff_t i)
MRC_API MR_Mesh * MR_BooleanResult_GetMutable_mesh(MR_BooleanResult *_this)
MRC_API MR_BooleanPreCutResult *const * MR_BooleanParameters_Get_outPreCutA(const MR_BooleanParameters *_this)
MRC_API MR_BooleanParameters * MR_BooleanParameters_DefaultConstructArray(size_t num_elems)
MRC_API void MR_BooleanResultPoints_Set_meshBVerts(MR_BooleanResultPoints *_this, MR_PassBy value_pass_by, MR_VertBitSet *value)
MRC_API const size_t * MR_BooleanPreCutResult_Get_meshAVertsNum(const MR_BooleanPreCutResult *_this)
MRC_API void MR_BooleanParameters_Set_mergeAllNonIntersectingComponents(MR_BooleanParameters *_this, bool value)
MRC_API MR_Vector_MR_Vector_MR_VarEdgeTri * MR_BooleanPreCutResult_GetMutable_intersections(MR_BooleanPreCutResult *_this)
MRC_API MR_expected_MR_BooleanResultPoints_std_string * MR_getBooleanPoints(const MR_Mesh *meshA, const MR_Mesh *meshB, MR_BooleanOperation operation, const MR_AffineXf3f *rigidB2A)
Returns the points of mesh boolean's result mesh.
MRC_API const MR_OneMeshContours * MR_BooleanPreCutResult_Get_contours(const MR_BooleanPreCutResult *_this)
MRC_API void MR_BooleanResult_Set_meshBBadContourFaces(MR_BooleanResult *_this, MR_PassBy value_pass_by, MR_FaceBitSet *value)
MRC_API void MR_BooleanResultPoints_Set_meshAVerts(MR_BooleanResultPoints *_this, MR_PassBy value_pass_by, MR_VertBitSet *value)
MRC_API MR_BooleanParameters * MR_BooleanParameters_ConstructFrom(const MR_AffineXf3f *rigidB2A, MR_BooleanResultMapper *mapper, MR_BooleanPreCutResult *outPreCutA, MR_BooleanPreCutResult *outPreCutB, MR_std_vector_std_vector_MR_EdgeId *outCutEdges, bool mergeAllNonIntersectingComponents, bool forceCut, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
MRC_API const bool * MR_BooleanParameters_Get_mergeAllNonIntersectingComponents(const MR_BooleanParameters *_this)
struct MR_BooleanParameters MR_BooleanParameters
Definition MRMeshBoolean.h:58
MRC_API MR_std_function_bool_from_float * MR_BooleanParameters_GetMutable_cb(MR_BooleanParameters *_this)
MRC_API const MR_FaceBitSet * MR_BooleanResult_Get_meshABadContourFaces(const MR_BooleanResult *_this)
MRC_API MR_BooleanResult * MR_BooleanResult_AssignFromAnother(MR_BooleanResult *_this, MR_PassBy _other_pass_by, MR_BooleanResult *_other)
MRC_API void MR_BooleanParameters_Set_outCutEdges(MR_BooleanParameters *_this, MR_std_vector_std_vector_MR_EdgeId *value)
MRC_API const MR_std_string * MR_BooleanResult_Get_errorString(const MR_BooleanResult *_this)
MRC_API MR_BooleanPreCutResult ** MR_BooleanParameters_GetMutable_outPreCutA(MR_BooleanParameters *_this)
MRC_API void MR_BooleanParameters_Set_forceCut(MR_BooleanParameters *_this, bool value)
MRC_API MR_BooleanPreCutResult * MR_BooleanPreCutResult_DefaultConstructArray(size_t num_elems)
struct MR_BooleanResult MR_BooleanResult
Definition MRMeshBoolean.h:43
MRC_API void MR_BooleanResultPoints_DestroyArray(const MR_BooleanResultPoints *_this)
Destroys a heap-allocated array of MR_BooleanResultPoints. Does nothing if the pointer is null.
MRC_API const MR_Mesh * MR_deref_const_MR_BooleanResult_ref(const MR_BooleanResult *_this)
MRC_API MR_BooleanResultPoints * MR_BooleanResultPoints_OffsetMutablePtr(MR_BooleanResultPoints *ptr, ptrdiff_t i)
MRC_API MR_BooleanPreCutResult ** MR_BooleanParameters_GetMutable_outPreCutB(MR_BooleanParameters *_this)
MRC_API const MR_VertBitSet * MR_BooleanResultPoints_Get_meshAVerts(const MR_BooleanResultPoints *_this)
MRC_API void MR_BooleanPreCutResult_Set_isMeshA(MR_BooleanPreCutResult *_this, bool value)
MRC_API void MR_BooleanPreCutResult_Destroy(const MR_BooleanPreCutResult *_this)
Destroys a heap-allocated instance of MR_BooleanPreCutResult. Does nothing if the pointer is null.
MRC_API MR_expected_MR_Mesh_std_string * MR_selfBoolean(const MR_Mesh *mesh, MR_FaceMap *new2Old)
MRC_API MR_std_vector_std_vector_MR_Vector3f * MR_findIntersectionContours(const MR_Mesh *meshA, const MR_Mesh *meshB, const MR_AffineXf3f *rigidB2A)
MRC_API MR_std_vector_std_vector_MR_EdgeId *const * MR_BooleanParameters_Get_outCutEdges(const MR_BooleanParameters *_this)
MRC_API MR_BooleanResultPoints * MR_BooleanResultPoints_DefaultConstruct(void)
MRC_API void MR_BooleanParameters_Set_outPreCutB(MR_BooleanParameters *_this, MR_BooleanPreCutResult *value)
MRC_API void MR_BooleanParameters_Set_outPreCutA(MR_BooleanParameters *_this, MR_BooleanPreCutResult *value)
MRC_API MR_VertBitSet * MR_BooleanResultPoints_GetMutable_meshBVerts(MR_BooleanResultPoints *_this)
MRC_API void MR_BooleanPreCutResult_Set_rigidB2A(MR_BooleanPreCutResult *_this, const MR_AffineXf3f *value)
MRC_API MR_Mesh * MR_deref_MR_BooleanResult_ref(MR_BooleanResult *_this)
MRC_API const MR_AffineXf3f ** MR_BooleanParameters_GetMutable_rigidB2A(MR_BooleanParameters *_this)
struct MR_BooleanPreCutResult MR_BooleanPreCutResult
Definition MRMeshBoolean.h:50
MRC_API void MR_BooleanPreCutResult_Set_meshAVertsNum(MR_BooleanPreCutResult *_this, size_t value)
MRC_API MR_BooleanParameters * MR_BooleanParameters_AssignFromAnother(MR_BooleanParameters *_this, MR_PassBy _other_pass_by, MR_BooleanParameters *_other)
MRC_API void MR_BooleanPreCutResult_Set_intersections(MR_BooleanPreCutResult *_this, MR_PassBy value_pass_by, MR_Vector_MR_Vector_MR_VarEdgeTri *value)
MRC_API void MR_BooleanResultPoints_Destroy(const MR_BooleanResultPoints *_this)
Destroys a heap-allocated instance of MR_BooleanResultPoints. Does nothing if the pointer is null.
MRC_API MR_BooleanResultPoints * MR_BooleanResultPoints_ConstructFrom(MR_PassBy meshAVerts_pass_by, MR_VertBitSet *meshAVerts, MR_PassBy meshBVerts_pass_by, MR_VertBitSet *meshBVerts, MR_PassBy intersectionPoints_pass_by, MR_std_vector_MR_Vector3f *intersectionPoints)
MRC_API void MR_BooleanParameters_Set_mapper(MR_BooleanParameters *_this, MR_BooleanResultMapper *value)
MRC_API MR_Mesh * MR_BooleanResult_arrow_mut(MR_BooleanResult *_this)
MRC_API const MR_BooleanResult * MR_BooleanResult_OffsetPtr(const MR_BooleanResult *ptr, ptrdiff_t i)
MRC_API void MR_BooleanPreCutResult_Set_mesh(MR_BooleanPreCutResult *_this, MR_PassBy value_pass_by, MR_Mesh *value)
MRC_API MR_OneMeshContours * MR_BooleanPreCutResult_GetMutable_contours(MR_BooleanPreCutResult *_this)
MRC_API MR_std_optional_MR_AffineXf3f * MR_BooleanPreCutResult_GetMutable_rigidB2A(MR_BooleanPreCutResult *_this)
MRC_API const MR_Mesh * MR_BooleanPreCutResult_Get_mesh(const MR_BooleanPreCutResult *_this)
MRC_API MR_BooleanPreCutResult * MR_BooleanPreCutResult_DefaultConstruct(void)
MRC_API MR_ConvertToIntVector * MR_BooleanPreCutResult_GetMutable_toInt(MR_BooleanPreCutResult *_this)
MRC_API const MR_std_function_bool_from_float * MR_BooleanParameters_Get_cb(const MR_BooleanParameters *_this)
struct MR_BooleanResultPoints MR_BooleanResultPoints
Definition MRMeshBoolean.h:63
MRC_API const MR_VertBitSet * MR_BooleanResultPoints_Get_meshBVerts(const MR_BooleanResultPoints *_this)
MRC_API const bool * MR_BooleanPreCutResult_Get_isMeshA(const MR_BooleanPreCutResult *_this)
MRC_API MR_std_string * MR_BooleanResult_GetMutable_errorString(MR_BooleanResult *_this)
MRC_API void MR_BooleanResult_Set_errorString(MR_BooleanResult *_this, const char *value, const char *value_end)
MRC_API MR_VertBitSet * MR_BooleanResultPoints_GetMutable_meshAVerts(MR_BooleanResultPoints *_this)
MRC_API const MR_FaceBitSet * MR_BooleanResult_Get_meshBBadContourFaces(const MR_BooleanResult *_this)
struct MR_expected_MR_BooleanResultPoints_std_string MR_expected_MR_BooleanResultPoints_std_string
Definition MRMeshBoolean.h:25
MRC_API MR_BooleanParameters * MR_BooleanParameters_OffsetMutablePtr(MR_BooleanParameters *ptr, ptrdiff_t i)
MR_PassBy
Definition common.h:13
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39