MeshLib C Docs
Loading...
Searching...
No Matches
MRInTreePathBuilder.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRId.h>
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_MeshTopology MR_MeshTopology; // Defined in `#include <MRCMesh/MRMeshTopology.h>`.
14typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
15typedef struct MR_std_vector_MR_EdgeId MR_std_vector_MR_EdgeId; // Defined in `#include <MRCMisc/std_vector_MR_EdgeId.h>`.
16
17
22
26
29
32
38
41
44
50
51#ifdef __cplusplus
52} // extern "C"
53#endif
struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:16
struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
Definition MRAABBTreeBase.h:29
struct MR_std_vector_MR_EdgeId MR_std_vector_MR_EdgeId
Definition MRContoursStitch.h:11
MRC_API MR_std_vector_MR_EdgeId * MR_InTreePathBuilder_build(const MR_InTreePathBuilder *_this, MR_VertId start, MR_VertId finish)
MRC_API void MR_InTreePathBuilder_Destroy(const MR_InTreePathBuilder *_this)
Destroys a heap-allocated instance of MR_InTreePathBuilder. Does nothing if the pointer is null.
MRC_API MR_InTreePathBuilder * MR_InTreePathBuilder_Construct(const MR_MeshTopology *topology, const MR_UndirectedEdgeBitSet *treeEdges)
MRC_API const MR_InTreePathBuilder * MR_InTreePathBuilder_OffsetPtr(const MR_InTreePathBuilder *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_InTreePathBuilder MR_InTreePathBuilder
Definition MRInTreePathBuilder.h:21
MRC_API MR_InTreePathBuilder * MR_InTreePathBuilder_OffsetMutablePtr(MR_InTreePathBuilder *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_InTreePathBuilder_DestroyArray(const MR_InTreePathBuilder *_this)
Destroys a heap-allocated array of MR_InTreePathBuilder. Does nothing if the pointer is null.
MRC_API MR_InTreePathBuilder * MR_InTreePathBuilder_ConstructFromAnother(MR_PassBy _other_pass_by, MR_InTreePathBuilder *_other)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
Definition MRId.h:56