MeshLib C Docs
Loading...
Searching...
No Matches
MRFillContours2D.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMesh/MRId.h>
5#include <MRCMisc/exports.h>
6
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
14typedef struct MR_ObjectMeshData MR_ObjectMeshData; // Defined in `#include <MRCMesh/MRObjectMeshData.h>`.
15typedef struct MR_expected_MR_HoleFillPlan_std_string MR_expected_MR_HoleFillPlan_std_string; // Defined in `#include <MRCMisc/expected_MR_HoleFillPlan_std_string.h>`.
16typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
17typedef struct MR_std_vector_MR_EdgeId MR_std_vector_MR_EdgeId; // Defined in `#include <MRCMisc/std_vector_MR_EdgeId.h>`.
18typedef struct MR_std_vector_std_vector_MR_EdgeId MR_std_vector_std_vector_MR_EdgeId; // Defined in `#include <MRCMisc/std_vector_std_vector_MR_EdgeId.h>`.
19typedef struct MR_std_vector_std_vector_MR_Vector3f MR_std_vector_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_std_vector_MR_Vector3f.h>`.
20
21
27
41
44
47
51
55
59MRC_API MR_IFillContours2DPlanCache *MR_makeFillContours2DPlanCache(void);
60
74
81
86
95
96#ifdef __cplusplus
97} // extern "C"
98#endif
struct MR_std_vector_std_vector_MR_EdgeId MR_std_vector_std_vector_MR_EdgeId
Definition MR2DContoursTriangulation.h:21
struct MR_ObjectMeshData MR_ObjectMeshData
Definition MRChangeMeshDataAction.h:15
struct MR_std_vector_std_vector_MR_Vector3f MR_std_vector_std_vector_MR_Vector3f
Definition MRContour.h:17
struct MR_std_vector_MR_EdgeId MR_std_vector_MR_EdgeId
Definition MRContoursStitch.h:11
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:26
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
struct MR_IFillContours2DPlanCache MR_IFillContours2DPlanCache
Definition MRFillContours2D.h:26
MRC_API MR_AffineXf3f MR_getXfFromOxyPlane_2(const MR_Mesh *mesh, const MR_std_vector_std_vector_MR_EdgeId *paths)
Generated from function MR::getXfFromOxyPlane. Parameter mesh can not be null. It is a single object....
MRC_API void MR_IFillContours2DPlanCache_DestroyArray(const MR_IFillContours2DPlanCache *_this)
Destroys a heap-allocated array of MR_IFillContours2DPlanCache. Does nothing if the pointer is null.
MRC_API MR_expected_void_std_string * MR_fillPlanarHole(MR_ObjectMeshData *data, MR_std_vector_std_vector_MR_EdgeId *holeContours)
given an ObjectMeshData and the contours of a planar hole in it, fills the hole using fillContours2D ...
MRC_API MR_expected_MR_HoleFillPlan_std_string * MR_fillContours2DPlan(const MR_Mesh *mesh, MR_EdgeId holeEdgeId, MR_IFillContours2DPlanCache *cache)
prepare filling plan for hole with border in same plane (i.e. after cut by plane)
MRC_API MR_expected_void_std_string * MR_fillContours2D(MR_Mesh *mesh, const MR_std_vector_MR_EdgeId *holeRepresentativeEdges)
fill holes with border in same plane (i.e. after cut by plane)
struct MR_expected_MR_HoleFillPlan_std_string MR_expected_MR_HoleFillPlan_std_string
Definition MRFillContours2D.h:15
MRC_API MR_IFillContours2DPlanCache * MR_IFillContours2DPlanCache_OffsetMutablePtr(MR_IFillContours2DPlanCache *ptr, ptrdiff_t i)
MRC_API const MR_IFillContours2DPlanCache * MR_IFillContours2DPlanCache_OffsetPtr(const MR_IFillContours2DPlanCache *ptr, ptrdiff_t i)
MRC_API void MR_IFillContours2DPlanCache_Destroy(const MR_IFillContours2DPlanCache *_this)
Destroys a heap-allocated instance of MR_IFillContours2DPlanCache. Does nothing if the pointer is nul...
MRC_API MR_AffineXf3f MR_getXfFromOxyPlane_1(const MR_std_vector_std_vector_MR_Vector3f *contours)
computes the transformation that maps O into center mass of contours' points OXY into best plane cont...
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39
Definition MRId.h:146