MeshLib C Docs
Loading...
Searching...
No Matches
MREdgeMetric.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
12typedef struct MR_MeshTopology MR_MeshTopology; // Defined in `#include <MRCMesh/MRMeshTopology.h>`.
13typedef struct MR_VertCoords MR_VertCoords; // Defined in `#include <MRCMesh/MRVector.h>`.
14typedef struct MR_std_function_float_from_MR_EdgeId MR_std_function_float_from_MR_EdgeId; // Defined in `#include <MRCMisc/std_function_float_from_MR_EdgeId.h>`.
15
16
20
25
32
38
46
52
60
66
76MRC_API MR_std_function_float_from_MR_EdgeId *MR_edgeCurvMetric_3(const MR_Mesh *mesh, const float *angleSinFactor, const float *angleSinForBoundary);
77
84MRC_API MR_std_function_float_from_MR_EdgeId *MR_edgeCurvMetric_4(const MR_MeshTopology *topology, const MR_VertCoords *points, const float *angleSinFactor, const float *angleSinForBoundary);
85
95MRC_API MR_std_function_float_from_MR_EdgeId *MR_edgeAbsCurvMetric_3(const MR_Mesh *mesh, const float *angleSinFactor, const float *angleSinForBoundary);
96
103MRC_API MR_std_function_float_from_MR_EdgeId *MR_edgeAbsCurvMetric_4(const MR_MeshTopology *topology, const MR_VertCoords *points, const float *angleSinFactor, const float *angleSinForBoundary);
104
111
117
124
131
137
144
151
157
164
168
173
177MRC_API MR_DihedralAngleProcessParams *MR_DihedralAngleProcessParams_ConstructFrom(float convexFactor, float concaveFactor, float boundaryValue);
178
182
186
192
195
198
206
216
224
232
233#ifdef __cplusplus
234} // extern "C"
235#endif
struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:15
struct MR_VertCoords MR_VertCoords
std::vector<T>-like container that requires specific indexing type,
Definition MRAABBTreePoints.h:21
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
MRC_API MR_std_function_float_from_MR_EdgeId * MR_discreteAbsMeanCurvatureMetric_1(const MR_Mesh *mesh)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_edgeDihedralAngleMetric_2(const MR_Mesh *mesh, const MR_DihedralAngleProcessParams *params)
MRC_API const float * MR_DihedralAngleProcessParams_Get_boundaryValue(const MR_DihedralAngleProcessParams *_this)
MRC_API float * MR_DihedralAngleProcessParams_GetMutable_boundaryValue(MR_DihedralAngleProcessParams *_this)
MRC_API MR_DihedralAngleProcessParams * MR_DihedralAngleProcessParams_AssignFromAnother(MR_DihedralAngleProcessParams *_this, const MR_DihedralAngleProcessParams *_other)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_edgeLengthMetric_1(const MR_Mesh *mesh)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_edgeDihedralAngleMetric_3(const MR_MeshTopology *topology, const MR_VertCoords *points, const MR_DihedralAngleProcessParams *params)
MRC_API MR_DihedralAngleProcessParams * MR_DihedralAngleProcessParams_DefaultConstructArray(size_t num_elems)
MRC_API float * MR_DihedralAngleProcessParams_GetMutable_convexFactor(MR_DihedralAngleProcessParams *_this)
MRC_API MR_DihedralAngleProcessParams * MR_DihedralAngleProcessParams_ConstructFromAnother(const MR_DihedralAngleProcessParams *_other)
MRC_API const float * MR_DihedralAngleProcessParams_Get_convexFactor(const MR_DihedralAngleProcessParams *_this)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_edgeAbsCurvMetric_4(const MR_MeshTopology *topology, const MR_VertCoords *points, const float *angleSinFactor, const float *angleSinForBoundary)
MRC_API const MR_DihedralAngleProcessParams * MR_DihedralAngleProcessParams_OffsetPtr(const MR_DihedralAngleProcessParams *ptr, ptrdiff_t i)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_discreteAbsMeanCurvatureMetric_2(const MR_MeshTopology *topology, const MR_VertCoords *points)
struct MR_DihedralAngleProcessParams MR_DihedralAngleProcessParams
Definition MREdgeMetric.h:19
MRC_API MR_std_function_float_from_MR_EdgeId * MR_edgeLengthMetric_2(const MR_MeshTopology *topology, const MR_VertCoords *points)
MRC_API float * MR_DihedralAngleProcessParams_GetMutable_concaveFactor(MR_DihedralAngleProcessParams *_this)
MRC_API MR_DihedralAngleProcessParams * MR_DihedralAngleProcessParams_DefaultConstruct(void)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_discreteMinusAbsMeanCurvatureMetric_2(const MR_MeshTopology *topology, const MR_VertCoords *points)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_discreteMinusAbsMeanCurvatureMetric_1(const MR_Mesh *mesh)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_edgeTableSymMetric(const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_edgeCurvMetric_3(const MR_Mesh *mesh, const float *angleSinFactor, const float *angleSinForBoundary)
MRC_API void MR_DihedralAngleProcessParams_Set_boundaryValue(MR_DihedralAngleProcessParams *_this, float value)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_edgeCurvMetric_4(const MR_MeshTopology *topology, const MR_VertCoords *points, const float *angleSinFactor, const float *angleSinForBoundary)
MRC_API void MR_DihedralAngleProcessParams_Set_convexFactor(MR_DihedralAngleProcessParams *_this, float value)
MRC_API MR_std_function_float_from_MR_EdgeId * MR_edgeAbsCurvMetric_3(const MR_Mesh *mesh, const float *angleSinFactor, const float *angleSinForBoundary)
MRC_API void MR_DihedralAngleProcessParams_DestroyArray(const MR_DihedralAngleProcessParams *_this)
Destroys a heap-allocated array of MR_DihedralAngleProcessParams. Does nothing if the pointer is null...
MRC_API MR_DihedralAngleProcessParams * MR_DihedralAngleProcessParams_OffsetMutablePtr(MR_DihedralAngleProcessParams *ptr, ptrdiff_t i)
struct MR_std_function_float_from_MR_EdgeId MR_std_function_float_from_MR_EdgeId
Definition MREdgeMetric.h:14
MRC_API void MR_DihedralAngleProcessParams_Set_concaveFactor(MR_DihedralAngleProcessParams *_this, float value)
MRC_API MR_DihedralAngleProcessParams * MR_DihedralAngleProcessParams_ConstructFrom(float convexFactor, float concaveFactor, float boundaryValue)
MRC_API void MR_DihedralAngleProcessParams_Destroy(const MR_DihedralAngleProcessParams *_this)
Destroys a heap-allocated instance of MR_DihedralAngleProcessParams. Does nothing if the pointer is n...
MRC_API MR_std_function_float_from_MR_EdgeId * MR_identityMetric(void)
MRC_API const float * MR_DihedralAngleProcessParams_Get_concaveFactor(const MR_DihedralAngleProcessParams *_this)
#define MRC_API
Definition include/MRCMisc/exports.h:11