struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:16
struct MR_UndirectedEdgeScalars MR_UndirectedEdgeScalars
Definition MRAggregateFlow.h:16
struct MR_std_optional_float MR_std_optional_float
Definition MRBestFitPolynomial.h:14
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
MRC_API const MR_UndirectedEdgeScalars * MR_EdgeLengthMesh_Get_edgeLengths(const MR_EdgeLengthMesh *_this)
MRC_API MR_EdgeLengthMesh * MR_EdgeLengthMesh_fromMesh(const MR_Mesh *mesh)
MRC_API const MR_MeshTopology * MR_EdgeLengthMesh_Get_topology(const MR_EdgeLengthMesh *_this)
MRC_API MR_UndirectedEdgeScalars * MR_EdgeLengthMesh_GetMutable_edgeLengths(MR_EdgeLengthMesh *_this)
MRC_API void MR_EdgeLengthMesh_Set_edgeLengths(MR_EdgeLengthMesh *_this, MR_PassBy value_pass_by, MR_UndirectedEdgeScalars *value)
struct MR_EdgeLengthMesh MR_EdgeLengthMesh
Definition MREdgeLengthMesh.h:23
MRC_API void MR_EdgeLengthMesh_Destroy(const MR_EdgeLengthMesh *_this)
Destroys a heap-allocated instance of MR_EdgeLengthMesh. Does nothing if the pointer is null.
MRC_API void MR_EdgeLengthMesh_Set_topology(MR_EdgeLengthMesh *_this, MR_PassBy value_pass_by, MR_MeshTopology *value)
MRC_API bool MR_EdgeLengthMesh_isDelone(const MR_EdgeLengthMesh *_this, MR_UndirectedEdgeId ue, const float *threshold)
MRC_API MR_EdgeLengthMesh * MR_EdgeLengthMesh_ConstructFrom(MR_PassBy topology_pass_by, MR_MeshTopology *topology, MR_PassBy edgeLengths_pass_by, MR_UndirectedEdgeScalars *edgeLengths)
MRC_API MR_EdgeLengthMesh * MR_EdgeLengthMesh_AssignFromAnother(MR_EdgeLengthMesh *_this, MR_PassBy _other_pass_by, MR_EdgeLengthMesh *_other)
MRC_API MR_EdgeLengthMesh * MR_EdgeLengthMesh_DefaultConstruct(void)
MRC_API bool MR_EdgeLengthMesh_flipEdge(MR_EdgeLengthMesh *_this, MR_EdgeId e)
MRC_API MR_EdgeLengthMesh * MR_EdgeLengthMesh_OffsetMutablePtr(MR_EdgeLengthMesh *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_EdgeLengthMesh * MR_EdgeLengthMesh_DefaultConstructArray(size_t num_elems)
MRC_API float MR_EdgeLengthMesh_cotan(const MR_EdgeLengthMesh *_this, MR_UndirectedEdgeId ue)
MRC_API const MR_EdgeLengthMesh * MR_EdgeLengthMesh_OffsetPtr(const MR_EdgeLengthMesh *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_EdgeLengthMesh_DestroyArray(const MR_EdgeLengthMesh *_this)
Destroys a heap-allocated array of MR_EdgeLengthMesh. Does nothing if the pointer is null.
MRC_API MR_EdgeLengthMesh * MR_EdgeLengthMesh_ConstructFromAnother(MR_PassBy _other_pass_by, MR_EdgeLengthMesh *_other)
MRC_API MR_MeshTopology * MR_EdgeLengthMesh_GetMutable_topology(MR_EdgeLengthMesh *_this)
MRC_API MR_std_optional_float * MR_EdgeLengthMesh_edgeLengthAfterFlip(const MR_EdgeLengthMesh *_this, MR_EdgeId e)
MRC_API float MR_EdgeLengthMesh_leftCotan(const MR_EdgeLengthMesh *_this, MR_EdgeId e)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11