MeshLib C Docs
Loading...
Searching...
No Matches
MRPointOnFace.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRId.h>
4#include <MRCMesh/MRVector3.h>
5#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14
18
24
29
35
41
46
52
56
61
65
68
71
76
79
82
86
92
97
98#ifdef __cplusplus
99} // extern "C"
100#endif
struct MR_PointOnFace MR_PointOnFace
Definition MREnumNeighbours.h:15
MRC_API void MR_PointOnFace_Set_point(MR_PointOnFace *_this, MR_Vector3f value)
MRC_API MR_PointOnFace * MR_PointOnFace_DefaultConstruct(void)
MRC_API bool MR_PointOnFace_valid(const MR_PointOnFace *_this)
MRC_API MR_PointOnFace * MR_PointOnFace_ConstructFromAnother(const MR_PointOnFace *_other)
MRC_API void MR_PointOnFace_Set_face(MR_PointOnFace *_this, MR_FaceId value)
MRC_API const MR_PointOnFace * MR_PointOnFace_OffsetPtr(const MR_PointOnFace *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_PointOnFace_DestroyArray(const MR_PointOnFace *_this)
Destroys a heap-allocated array of MR_PointOnFace. Does nothing if the pointer is null.
MRC_API MR_PointOnFace * MR_PointOnFace_DefaultConstructArray(size_t num_elems)
MRC_API MR_Vector3f * MR_PointOnFace_GetMutable_point(MR_PointOnFace *_this)
MRC_API MR_FaceId * MR_PointOnFace_GetMutable_face(MR_PointOnFace *_this)
MRC_API const MR_FaceId * MR_PointOnFace_Get_face(const MR_PointOnFace *_this)
MRC_API MR_PointOnFace * MR_PointOnFace_ConstructFrom(MR_FaceId face, MR_Vector3f point)
MRC_API const MR_Vector3f * MR_PointOnFace_Get_point(const MR_PointOnFace *_this)
MRC_API MR_PointOnFace * MR_PointOnFace_OffsetMutablePtr(MR_PointOnFace *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_PointOnFace_Destroy(const MR_PointOnFace *_this)
Destroys a heap-allocated instance of MR_PointOnFace. Does nothing if the pointer is null.
MRC_API MR_PointOnFace * MR_PointOnFace_AssignFromAnother(MR_PointOnFace *_this, const MR_PointOnFace *_other)
MRC_API bool MR_PointOnFace_ConvertTo_bool(const MR_PointOnFace *_this)
#define MRC_API
Definition exports.h:11
Definition MRId.h:46
Definition MRVector3.h:51