MeshLib C Docs
Loading...
Searching...
No Matches
MRUnorientedTriangle.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct MR_VertId MR_VertId; // Defined in `#include <MRCMesh/MRId.h>`.
15
16
21
26
30
35
40
43
46
52
55
58
63
68
74
79
84
89
94
95#ifdef __cplusplus
96} // extern "C"
97#endif
MRC_API MR_UnorientedTriangle * MR_UnorientedTriangle_AssignFromAnother(MR_UnorientedTriangle *_this, const MR_UnorientedTriangle *_other)
MRC_API MR_std_array_MR_VertId_3 * MR_UnorientedTriangle_ConvertTo_std_array_MR_VertId_3_ref(MR_UnorientedTriangle *_this)
MRC_API void MR_UnorientedTriangle_Set_verts(MR_UnorientedTriangle *_this, MR_std_array_MR_VertId_3 value)
MRC_API MR_std_array_MR_VertId_3 * MR_UnorientedTriangle_GetMutable_verts(MR_UnorientedTriangle *_this)
MRC_API const MR_std_array_MR_VertId_3 * MR_UnorientedTriangle_ConvertTo_const_std_array_MR_VertId_3_ref(const MR_UnorientedTriangle *_this)
struct MR_UnorientedTriangle MR_UnorientedTriangle
Definition MRUnorientedTriangle.h:20
MRC_API const MR_UnorientedTriangle * MR_UnorientedTriangle_OffsetPtr(const MR_UnorientedTriangle *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 const MR_std_array_MR_VertId_3 * MR_UnorientedTriangle_Get_verts(const MR_UnorientedTriangle *_this)
MRC_API bool MR_equal_MR_UnorientedTriangle(const MR_UnorientedTriangle *a, const MR_UnorientedTriangle *b)
MRC_API MR_UnorientedTriangle * MR_UnorientedTriangle_ConstructFromAnother(const MR_UnorientedTriangle *_other)
MRC_API MR_UnorientedTriangle * MR_UnorientedTriangle_Construct(const MR_std_array_MR_VertId_3 *inVs, bool *outFlipped)
MRC_API MR_UnorientedTriangle * MR_UnorientedTriangle_OffsetMutablePtr(MR_UnorientedTriangle *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_std_array_MR_VertId_3 MR_UnorientedTriangle_getFlipped(const MR_UnorientedTriangle *_this)
MRC_API void MR_UnorientedTriangle_Destroy(const MR_UnorientedTriangle *_this)
Destroys a heap-allocated instance of MR_UnorientedTriangle. Does nothing if the pointer is null.
MRC_API MR_VertId * MR_UnorientedTriangle_index(MR_UnorientedTriangle *_this, MR_uint64_t i)
MRC_API const MR_VertId * MR_UnorientedTriangle_index_const(const MR_UnorientedTriangle *_this, MR_uint64_t i)
MRC_API void MR_UnorientedTriangle_DestroyArray(const MR_UnorientedTriangle *_this)
Destroys a heap-allocated array of MR_UnorientedTriangle. Does nothing if the pointer is null.
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11
Definition MRId.h:56
A fixed-size array of MR::VertId of size 3.
Definition std_array_MR_VertId_3.h:12