MeshLib C Docs
Loading...
Searching...
No Matches
MRIntersectionContour.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_MeshTopology MR_MeshTopology; // Defined in `#include <MRCMesh/MRMeshTopology.h>`.
13typedef struct MR_OneMeshContours MR_OneMeshContours; // Defined in `#include <MRCMesh/MROneMeshContours.h>`.
14typedef struct MR_Vector_MR_VarEdgeTri MR_Vector_MR_VarEdgeTri; // Defined in `#include <MRCMesh/MRVector.h>`.
15typedef struct MR_Vector_MR_Vector_MR_VarEdgeTri MR_Vector_MR_Vector_MR_VarEdgeTri; // Defined in `#include <MRCMesh/MRVector.h>`.
16typedef struct MR_std_vector_MR_EdgeTri MR_std_vector_MR_EdgeTri; // Defined in `#include <MRCMisc/std_vector_MR_EdgeTri.h>`.
17typedef struct MR_std_vector_int MR_std_vector_int; // Defined in `#include <MRCMisc/std_vector_int.h>`.
18
19
40
63
68
76MRC_DEPRECATED_REASON("cutMesh connects lone contours itself, and the boolean no longer uses this")
78
87MRC_DEPRECATED_REASON("cutMesh connects lone contours itself, and the boolean no longer uses this")
88MRC_API void MR_removeLoneDegeneratedContours(const MR_MeshTopology *edgesTopology, MR_OneMeshContours *faceContours, MR_OneMeshContours *edgeContours);
89
95MRC_DEPRECATED_REASON("cutMesh connects lone contours itself, and the boolean no longer uses this")
96MRC_API void MR_removeLoneContours(MR_Vector_MR_Vector_MR_VarEdgeTri *contours, const bool *ignoreOpen);
97
98#ifdef __cplusplus
99} // extern "C"
100#endif
struct MR_MeshTopology MR_MeshTopology
Definition MRCameraPointsTriangulation.h:14
struct MR_OneMeshContours MR_OneMeshContours
Special data type for MR::cutMesh: the intersections of all contours in one array,...
Definition MRContoursCut.h:17
MRC_API MR_Vector_MR_Vector_MR_VarEdgeTri * MR_orderIntersectionContours(const MR_MeshTopology *topologyA, const MR_MeshTopology *topologyB, const MR_Vector_MR_VarEdgeTri *intersections)
struct MR_std_vector_int MR_std_vector_int
Definition MRIntersectionContour.h:17
struct MR_std_vector_MR_EdgeTri MR_std_vector_MR_EdgeTri
Definition MRIntersectionContour.h:16
MRC_API void MR_removeLoneContours(MR_Vector_MR_Vector_MR_VarEdgeTri *contours, const bool *ignoreOpen)
struct MR_Vector_MR_Vector_MR_VarEdgeTri MR_Vector_MR_Vector_MR_VarEdgeTri
Definition MRIntersectionContour.h:15
MRC_API MR_Vector_MR_Vector_MR_VarEdgeTri * MR_orderSelfIntersectionContours(const MR_MeshTopology *topology, const MR_std_vector_MR_EdgeTri *intersections)
MRC_API MR_std_vector_int * MR_detectLoneContours(const MR_Vector_MR_Vector_MR_VarEdgeTri *contours, const bool *ignoreOpen)
MRC_API bool MR_isClosed_MR_Vector_MR_VarEdgeTri(const MR_Vector_MR_VarEdgeTri *contour)
struct MR_Vector_MR_VarEdgeTri MR_Vector_MR_VarEdgeTri
Definition MRIntersectionContour.h:14
MRC_API void MR_removeLoneDegeneratedContours(const MR_MeshTopology *edgesTopology, MR_OneMeshContours *faceContours, MR_OneMeshContours *edgeContours)
#define MRC_DEPRECATED_REASON(str)
Definition common.h:74
#define MRC_API
Definition include/MRCMisc/exports.h:11