struct MR_NoInit MR_NoInit
Definition MRAABBTreeNode.h:14
struct MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId
Definition MRAABBTree.h:27
struct MR_std_vector_MR_MeshTriPoint MR_std_vector_MR_MeshTriPoint
Definition MRAggregateFlow.h:23
struct MR_MeshTriPoint MR_MeshTriPoint
Definition MRAggregateFlow.h:13
struct MR_std_vector_MR_EdgePoint MR_std_vector_MR_EdgePoint
Definition MRAlignContoursToMesh.h:23
struct MR_ConvertToIntVector MR_ConvertToIntVector
Definition MRAlphaShape.h:15
struct MR_BitSet MR_BitSet
Definition MRBitSet.h:290
struct MR_CoordinateConverters MR_CoordinateConverters
Definition MRBooleanOperation.h:14
struct MR_std_vector_std_vector_MR_Vector3f MR_std_vector_std_vector_MR_Vector3f
Definition MRContour.h:17
struct MR_SearchPathSettings MR_SearchPathSettings
Definition MRContoursCut.h:18
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_Mesh MR_Mesh
Definition MRCtm.h:17
char MR_GeodesicPathApprox
the algorithm to compute approximately geodesic path
Definition MREnums.h:130
struct MR_std_vector_int MR_std_vector_int
Definition MRIntersectionContour.h:17
struct MR_Vector_MR_Vector_MR_VarEdgeTri MR_Vector_MR_Vector_MR_VarEdgeTri
Definition MRIntersectionContour.h:15
MRC_API void MR_OneMeshContours_Set_offsets(MR_OneMeshContours *_this, MR_PassBy value_pass_by, MR_Vector_int *value)
MRC_API const MR_SortIntersectionsData * MR_SortIntersectionsData_OffsetPtr(const MR_SortIntersectionsData *ptr, ptrdiff_t i)
MRC_API void MR_SortIntersectionsData_Destroy(const MR_SortIntersectionsData *_this)
Destroys a heap-allocated instance of MR_SortIntersectionsData. Does nothing if the pointer is null.
MRC_API const bool * MR_SortIntersectionsData_Get_isOtherA(const MR_SortIntersectionsData *_this)
MRC_API void MR_OneMeshContours_Set_closed(MR_OneMeshContours *_this, MR_PassBy value_pass_by, MR_BitSet *value)
MRC_API int * MR_SearchPathSettings_GetMutable_maxReduceIters(MR_SearchPathSettings *_this)
MRC_API MR_OneMeshContours * MR_surfacePathsToMeshContours(const MR_Mesh *mesh, const MR_std_vector_std_vector_MR_EdgePoint *surfacePaths)
Converts SurfacePaths to OneMeshContours.
MRC_API const MR_Mesh * MR_SortIntersectionsData_Get_otherMesh(const MR_SortIntersectionsData *_this)
MRC_API void MR_OneMeshContours_Destroy(const MR_OneMeshContours *_this)
Destroys a heap-allocated instance of MR_OneMeshContours. Does nothing if the pointer is null.
MRC_API void MR_OneMeshIntersection_DestroyArray(const MR_OneMeshIntersection *_this)
Destroys a heap-allocated array of MR_OneMeshIntersection. Does nothing if the pointer is null.
unsigned char MR_OneMeshIntersection_Primitive
the kind of mesh primitive containing the point
Definition MROneMeshContours.h:42
MRC_API void MR_SortIntersectionsData_Set_converter(MR_SortIntersectionsData *_this, const MR_ConvertToIntVector *value)
MRC_API MR_Vector_int * MR_OneMeshContours_GetMutable_offsets(MR_OneMeshContours *_this)
MRC_API MR_BitSet * MR_OneMeshContours_GetMutable_closed(MR_OneMeshContours *_this)
MRC_API MR_OneMeshContour * MR_OneMeshContour_AssignFromAnother(MR_OneMeshContour *_this, MR_PassBy _other_pass_by, MR_OneMeshContour *_other)
MRC_API MR_std_vector_std_vector_MR_Vector3f * MR_extractMeshContours(const MR_OneMeshContours *meshContours)
MRC_API MR_OneMeshContours * MR_OneMeshContours_AssignFromAnother(MR_OneMeshContours *_this, MR_PassBy _other_pass_by, MR_OneMeshContours *_other)
MRC_API const MR_Vector_MR_OneMeshIntersection * MR_OneMeshContour_Get_intersections(const MR_OneMeshContour *_this)
MRC_API const MR_Vector_int * MR_OneMeshContours_Get_offsets(const MR_OneMeshContours *_this)
MRC_API MR_GeodesicPathApprox * MR_SearchPathSettings_GetMutable_geodesicPathApprox(MR_SearchPathSettings *_this)
MRC_API bool MR_OneMeshIntersection_samePrimitive(const MR_OneMeshIntersection *_this, const MR_OneMeshIntersection *other)
MRC_API MR_OneMeshIntersection * MR_OneMeshIntersection_AssignFromAnother(MR_OneMeshIntersection *_this, const MR_OneMeshIntersection *_other)
MRC_API MR_expected_MR_OneMeshContour_std_string * MR_surfaceLineToClosedMeshContour(const MR_Mesh *mesh, const MR_std_vector_MR_MeshTriPoint *surfaceLine, const MR_SearchPathSettings *searchSettings, MR_std_vector_int *pivotIndices)
Makes closed continuous contour by mesh tri points, note that first and last meshTriPoint should not ...
MRC_API MR_OneMeshIntersection * MR_OneMeshIntersection_DefaultConstruct(void)
MRC_API void MR_OneMeshContour_Destroy(const MR_OneMeshContour *_this)
Destroys a heap-allocated instance of MR_OneMeshContour. Does nothing if the pointer is null.
MRC_API MR_OneMeshContours * MR_OneMeshContours_Construct(const MR_Vector_MR_OneMeshContour *contours)
MRC_API MR_Vector_MR_OneMeshIntersection * MR_OneMeshContour_GetMutable_intersections(MR_OneMeshContour *_this)
struct MR_Vector_MR_OneMeshContour MR_Vector_MR_OneMeshContour
Definition MROneMeshContours.h:23
MRC_API const MR_OneMeshIntersection * MR_OneMeshContours_intersection(const MR_OneMeshContours *_this, size_t c, size_t i)
MRC_API MR_OneMeshContours * MR_OneMeshContours_OffsetMutablePtr(MR_OneMeshContours *ptr, ptrdiff_t i)
MRC_API void MR_OneMeshContours_DestroyArray(const MR_OneMeshContours *_this)
Destroys a heap-allocated array of MR_OneMeshContours. Does nothing if the pointer is null.
struct MR_Vector_MR_OneMeshIntersection MR_Vector_MR_OneMeshIntersection
Definition MROneMeshContours.h:24
MRC_API void MR_SearchPathSettings_Set_geodesicPathApprox(MR_SearchPathSettings *_this, MR_GeodesicPathApprox value)
MRC_API MR_OneMeshIntersection * MR_OneMeshIntersection_ConstructFromAnother(const MR_OneMeshIntersection *_other)
MRC_API void MR_OneMeshIntersection_setPrimitive_MR_EdgeId(MR_OneMeshIntersection *_this, MR_EdgeId e)
MRC_API bool * MR_SortIntersectionsData_GetMutable_isOtherA(MR_SortIntersectionsData *_this)
MRC_API const MR_OneMeshContour * MR_OneMeshContour_OffsetPtr(const MR_OneMeshContour *ptr, ptrdiff_t i)
MRC_API MR_expected_MR_OneMeshContour_std_string * MR_surfaceLineToMeshContour(const MR_Mesh *mesh, const MR_std_vector_MR_MeshTriPoint *surfaceLine, const MR_SearchPathSettings *searchSettings, MR_std_vector_int *pivotIndices)
Makes continuous contour by mesh tri points, if first and last meshTriPoint is the same,...
MRC_API MR_SortIntersectionsData * MR_SortIntersectionsData_OffsetMutablePtr(MR_SortIntersectionsData *ptr, ptrdiff_t i)
MRC_API MR_OneMeshIntersection * MR_OneMeshIntersection_Construct_2_MR_FaceId(MR_FaceId f, const MR_Vector3f *p)
struct MR_expected_MR_OneMeshContour_std_string MR_expected_MR_OneMeshContour_std_string
Definition MROneMeshContours.h:27
MRC_API void MR_SearchPathSettings_DestroyArray(const MR_SearchPathSettings *_this)
Destroys a heap-allocated array of MR_SearchPathSettings. Does nothing if the pointer is null.
MRC_API MR_SearchPathSettings * MR_SearchPathSettings_ConstructFrom(MR_GeodesicPathApprox geodesicPathApprox, int maxReduceIters)
MRC_API MR_Vector_MR_OneMeshIntersection * MR_OneMeshContours_GetMutable_intersections(MR_OneMeshContours *_this)
MRC_API void MR_SortIntersectionsData_Set_isOtherA(MR_SortIntersectionsData *_this, bool value)
MRC_API MR_OneMeshContour * MR_surfacePathWithEndsToMeshContour(const MR_Mesh *mesh, const MR_MeshTriPoint *start, const MR_std_vector_MR_EdgePoint *surfacePath, const MR_MeshTriPoint *end)
Converts SurfacePath to OneMeshContours.
MRC_API MR_OneMeshContour * MR_OneMeshContour_ConstructFrom(MR_PassBy intersections_pass_by, MR_Vector_MR_OneMeshIntersection *intersections, bool closed)
MRC_API MR_OneMeshContour * MR_convertSurfacePathWithEndsToMeshContour(const MR_Mesh *mesh, const MR_MeshTriPoint *start, const MR_std_vector_MR_EdgePoint *surfacePath, const MR_MeshTriPoint *end)
MRC_API MR_OneMeshContours * MR_OneMeshContours_DefaultConstruct(void)
MRC_API void MR_subdivideLoneContours(MR_Mesh *mesh, const MR_OneMeshContours *contours, MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId *new2oldMap)
MRC_API MR_SearchPathSettings * MR_SearchPathSettings_OffsetMutablePtr(MR_SearchPathSettings *ptr, ptrdiff_t i)
MRC_API const MR_Vector_MR_Vector_MR_VarEdgeTri * MR_SortIntersectionsData_Get_contours(const MR_SortIntersectionsData *_this)
MRC_API const size_t * MR_SortIntersectionsData_Get_meshAVertsNum(const MR_SortIntersectionsData *_this)
MRC_API bool MR_OneMeshContours_empty(const MR_OneMeshContours *_this)
MRC_API MR_OneMeshContours * MR_OneMeshContours_DefaultConstructArray(size_t num_elems)
MRC_API const MR_Vector_MR_OneMeshIntersection * MR_OneMeshContours_Get_intersections(const MR_OneMeshContours *_this)
MRC_API void MR_SearchPathSettings_Destroy(const MR_SearchPathSettings *_this)
Destroys a heap-allocated instance of MR_SearchPathSettings. Does nothing if the pointer is null.
MRC_API MR_OneMeshIntersection * MR_OneMeshIntersection_Construct_2_MR_VertId(MR_VertId v, const MR_Vector3f *p)
MRC_API MR_OneMeshContour * MR_OneMeshContour_DefaultConstructArray(size_t num_elems)
MRC_API const MR_AffineXf3f ** MR_SortIntersectionsData_GetMutable_rigidB2A(MR_SortIntersectionsData *_this)
MRC_API void MR_SearchPathSettings_Set_maxReduceIters(MR_SearchPathSettings *_this, int value)
MRC_API MR_SortIntersectionsData * MR_SortIntersectionsData_ConstructFromAnother(const MR_SortIntersectionsData *_other)
MRC_API MR_ConvertToIntVector * MR_SortIntersectionsData_GetMutable_converter(MR_SortIntersectionsData *_this)
MRC_API void MR_OneMeshContours_push_back(MR_OneMeshContours *_this, const MR_OneMeshContour *contour)
MRC_API void MR_SortIntersectionsData_DestroyArray(const MR_SortIntersectionsData *_this)
Destroys a heap-allocated array of MR_SortIntersectionsData. Does nothing if the pointer is null.
MRC_API MR_EdgeId MR_OneMeshIntersection_edge(const MR_OneMeshIntersection *_this)
MRC_API MR_OneMeshContour * MR_OneMeshContours_contour(const MR_OneMeshContours *_this, size_t c)
MRC_API void MR_OneMeshIntersection_setPrimitive_MR_FaceId(MR_OneMeshIntersection *_this, MR_FaceId f)
MRC_API void MR_OneMeshContour_Set_intersections(MR_OneMeshContour *_this, MR_PassBy value_pass_by, MR_Vector_MR_OneMeshIntersection *value)
MRC_API bool * MR_OneMeshContour_GetMutable_closed(MR_OneMeshContour *_this)
MRC_API MR_OneMeshIntersection * MR_OneMeshIntersection_OffsetMutablePtr(MR_OneMeshIntersection *ptr, ptrdiff_t i)
MRC_API MR_VertId MR_OneMeshIntersection_vert(const MR_OneMeshIntersection *_this)
MRC_API const bool * MR_OneMeshContour_Get_closed(const MR_OneMeshContour *_this)
MRC_API MR_OneMeshContour * MR_OneMeshContour_ConstructFromAnother(MR_PassBy _other_pass_by, MR_OneMeshContour *_other)
MRC_API MR_OneMeshIntersection * MR_OneMeshIntersection_Construct_2_MR_EdgeId(MR_EdgeId e, const MR_Vector3f *p)
MRC_API void MR_OneMeshIntersection_Set_coordinate(MR_OneMeshIntersection *_this, MR_Vector3f value)
MRC_API MR_Vector3f * MR_OneMeshIntersection_GetMutable_coordinate(MR_OneMeshIntersection *_this)
MRC_API MR_OneMeshContours * MR_getOneMeshSelfIntersectionContours(const MR_Mesh *mesh, const MR_Vector_MR_Vector_MR_VarEdgeTri *contours, const MR_CoordinateConverters *converters, const MR_AffineXf3f *rigidB2A)
MRC_API MR_FaceId MR_OneMeshIntersection_face(const MR_OneMeshIntersection *_this)
@ MR_OneMeshIntersection_Primitive_Vert
Definition MROneMeshContours.h:47
@ MR_OneMeshIntersection_Primitive_Face
Definition MROneMeshContours.h:45
@ MR_OneMeshIntersection_Primitive_Edge
Definition MROneMeshContours.h:46
MRC_API void MR_OneMeshContours_Set_intersections(MR_OneMeshContours *_this, MR_PassBy value_pass_by, MR_Vector_MR_OneMeshIntersection *value)
MRC_API MR_OneMeshContours * MR_convertSurfacePathsToMeshContours(const MR_Mesh *mesh, const MR_std_vector_std_vector_MR_EdgePoint *surfacePaths)
MRC_API void MR_OneMeshContour_Set_closed(MR_OneMeshContour *_this, bool value)
MRC_API MR_expected_MR_OneMeshContour_std_string * MR_convertMeshTriPointsToClosedContour(const MR_Mesh *mesh, const MR_std_vector_MR_MeshTriPoint *surfaceLine, const MR_SearchPathSettings *searchSettings, MR_std_vector_int *pivotIndices)
MRC_API const MR_BitSet * MR_OneMeshContours_Get_closed(const MR_OneMeshContours *_this)
MRC_API MR_SearchPathSettings * MR_SearchPathSettings_DefaultConstruct(void)
MRC_API bool MR_OneMeshIntersection_isFace(const MR_OneMeshIntersection *_this)
MRC_API MR_SearchPathSettings * MR_SearchPathSettings_ConstructFromAnother(const MR_SearchPathSettings *_other)
MRC_API const MR_GeodesicPathApprox * MR_SearchPathSettings_Get_geodesicPathApprox(const MR_SearchPathSettings *_this)
MRC_API bool MR_OneMeshIntersection_isEdge(const MR_OneMeshIntersection *_this)
struct MR_OneMeshIntersection MR_OneMeshIntersection
Definition MROneMeshContours.h:53
struct MR_OneMeshContour MR_OneMeshContour
Definition MROneMeshContours.h:58
MRC_API void MR_OneMeshContour_DestroyArray(const MR_OneMeshContour *_this)
Destroys a heap-allocated array of MR_OneMeshContour. Does nothing if the pointer is null.
MRC_API const MR_ConvertToIntVector * MR_SortIntersectionsData_Get_converter(const MR_SortIntersectionsData *_this)
struct MR_Vector_int MR_Vector_int
Definition MROneMeshContours.h:26
MRC_API bool MR_OneMeshIntersection_isVert(const MR_OneMeshIntersection *_this)
MRC_API MR_OneMeshIntersection * MR_OneMeshIntersection_DefaultConstructArray(size_t num_elems)
MRC_API const int * MR_SearchPathSettings_Get_maxReduceIters(const MR_SearchPathSettings *_this)
MRC_API void MR_SortIntersectionsData_Set_meshAVertsNum(MR_SortIntersectionsData *_this, size_t value)
MRC_API MR_SearchPathSettings * MR_SearchPathSettings_DefaultConstructArray(size_t num_elems)
MRC_API MR_expected_MR_OneMeshContour_std_string * MR_convertMeshTriPointsToMeshContour(const MR_Mesh *mesh, const MR_std_vector_MR_MeshTriPoint *surfaceLine, const MR_SearchPathSettings *searchSettings, MR_std_vector_int *pivotIndices)
MRC_API MR_OneMeshIntersection_Primitive MR_OneMeshIntersection_primitive(const MR_OneMeshIntersection *_this)
MRC_API void MR_getOneMeshIntersectionContours(const MR_Mesh *meshA, const MR_Mesh *meshB, const MR_Vector_MR_Vector_MR_VarEdgeTri *contours, MR_OneMeshContours *outA, MR_OneMeshContours *outB, const MR_CoordinateConverters *converters, const MR_AffineXf3f *rigidB2A, MR_std_vector_std_vector_MR_Vector3f *outPtsA, const bool *addSelfyTerminalVerts)
MRC_API MR_OneMeshContours * MR_OneMeshContours_ConstructFromAnother(MR_PassBy _other_pass_by, MR_OneMeshContours *_other)
MRC_API const MR_OneMeshContours * MR_OneMeshContours_OffsetPtr(const MR_OneMeshContours *ptr, ptrdiff_t i)
MRC_API void MR_OneMeshIntersection_Destroy(const MR_OneMeshIntersection *_this)
Destroys a heap-allocated instance of MR_OneMeshIntersection. Does nothing if the pointer is null.
MRC_API size_t * MR_SortIntersectionsData_GetMutable_meshAVertsNum(MR_SortIntersectionsData *_this)
MRC_API size_t MR_OneMeshContours_size(const MR_OneMeshContours *_this)
MRC_API MR_SortIntersectionsData * MR_SortIntersectionsData_ConstructFrom(const MR_Mesh *otherMesh, const MR_Vector_MR_Vector_MR_VarEdgeTri *contours, const MR_ConvertToIntVector *converter, const MR_AffineXf3f *rigidB2A, size_t meshAVertsNum, bool isOtherA)
MRC_API const MR_Vector3f * MR_OneMeshIntersection_Get_coordinate(const MR_OneMeshIntersection *_this)
MRC_API MR_OneMeshContour * MR_OneMeshContour_OffsetMutablePtr(MR_OneMeshContour *ptr, ptrdiff_t i)
MRC_API void MR_SortIntersectionsData_Set_rigidB2A(MR_SortIntersectionsData *_this, const MR_AffineXf3f *value)
MRC_API MR_OneMeshIntersection * MR_OneMeshIntersection_Construct_1(const MR_NoInit *_1)
MRC_API const MR_AffineXf3f *const * MR_SortIntersectionsData_Get_rigidB2A(const MR_SortIntersectionsData *_this)
MRC_API MR_OneMeshContour * MR_OneMeshContour_DefaultConstruct(void)
MRC_API MR_SearchPathSettings * MR_SearchPathSettings_AssignFromAnother(MR_SearchPathSettings *_this, const MR_SearchPathSettings *_other)
MRC_API void MR_OneMeshIntersection_setPrimitive_MR_VertId(MR_OneMeshIntersection *_this, MR_VertId v)
MRC_API const MR_SearchPathSettings * MR_SearchPathSettings_OffsetPtr(const MR_SearchPathSettings *ptr, ptrdiff_t i)
MRC_API const MR_OneMeshIntersection * MR_OneMeshIntersection_OffsetPtr(const MR_OneMeshIntersection *ptr, ptrdiff_t i)
#define MRC_DEPRECATED_REASON(str)
Definition common.h:74
MR_PassBy
Definition common.h:13
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39
Generated from class MR::Vector3f.
Definition MRVector3.h:47