MeshLib C Docs
Loading...
Searching...
No Matches
MRSegmPoint.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdbool.h>
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12
16
20
23MRC_API const float *MR_SegmPointf_Get_eps(void);
24
29MRC_API const float *MR_SegmPointf_Get_a(const MR_SegmPointf *_this);
30
34MRC_API void MR_SegmPointf_Set_a(MR_SegmPointf *_this, float value);
35
41
45
50
53
56
61
65
68
71
75
80
86
91
97
103
107
110MRC_API const double *MR_SegmPointd_Get_eps(void);
111
116MRC_API const double *MR_SegmPointd_Get_a(const MR_SegmPointd *_this);
117
121MRC_API void MR_SegmPointd_Set_a(MR_SegmPointd *_this, double value);
122
128
132
137
140
143
148
152
155
158
162
167
173
178
184
190
194
195#ifdef __cplusplus
196} // extern "C"
197#endif
struct MR_SegmPointf MR_SegmPointf
Definition MREdgePoint.h:16
MRC_API const float * MR_SegmPointf_Get_eps(void)
MRC_API float MR_SegmPointf_ConvertTo_float(const MR_SegmPointf *_this)
MRC_API const float * MR_SegmPointf_Get_a(const MR_SegmPointf *_this)
MRC_API MR_SegmPointd * MR_SegmPointd_Construct(double a)
MRC_API void MR_SegmPointd_Set_a(MR_SegmPointd *_this, double value)
MRC_API bool MR_equal_MR_SegmPointf(const MR_SegmPointf *_this, const MR_SegmPointf *rhs)
MRC_API MR_SegmPointd * MR_SegmPointd_ConstructFromAnother(const MR_SegmPointd *_other)
MRC_API void MR_SegmPointd_Destroy(const MR_SegmPointd *_this)
Destroys a heap-allocated instance of MR_SegmPointd. Does nothing if the pointer is null.
MRC_API MR_SegmPointf * MR_SegmPointf_sym(const MR_SegmPointf *_this)
MRC_API void MR_SegmPointd_DestroyArray(const MR_SegmPointd *_this)
Destroys a heap-allocated array of MR_SegmPointd. Does nothing if the pointer is null.
MRC_API const double * MR_SegmPointd_Get_a(const MR_SegmPointd *_this)
MRC_API MR_SegmPointd * MR_SegmPointd_AssignFromAnother(MR_SegmPointd *_this, const MR_SegmPointd *_other)
MRC_API MR_SegmPointd * MR_SegmPointd_DefaultConstruct(void)
MRC_API const MR_SegmPointf * MR_SegmPointf_OffsetPtr(const MR_SegmPointf *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 bool MR_equal_MR_SegmPointd(const MR_SegmPointd *_this, const MR_SegmPointd *rhs)
MRC_API MR_SegmPointd * MR_SegmPointd_sym(const MR_SegmPointd *_this)
MRC_API MR_SegmPointf * MR_SegmPointf_OffsetMutablePtr(MR_SegmPointf *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_SegmPointf_Set_a(MR_SegmPointf *_this, float value)
MRC_API MR_SegmPointf * MR_SegmPointf_DefaultConstructArray(size_t num_elems)
MRC_API void MR_SegmPointf_Destroy(const MR_SegmPointf *_this)
Destroys a heap-allocated instance of MR_SegmPointf. Does nothing if the pointer is null.
MRC_API MR_SegmPointf * MR_SegmPointf_ConstructFromAnother(const MR_SegmPointf *_other)
MRC_API MR_SegmPointd * MR_SegmPointd_OffsetMutablePtr(MR_SegmPointd *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 int MR_SegmPointd_inVertex(const MR_SegmPointd *_this)
MRC_API double * MR_SegmPointd_ConvertTo_double_ref(MR_SegmPointd *_this)
MRC_API MR_SegmPointf * MR_SegmPointf_AssignFromAnother(MR_SegmPointf *_this, const MR_SegmPointf *_other)
MRC_API bool MR_equal_MR_SegmPointd_double(const MR_SegmPointd *_this, double rhs)
struct MR_SegmPointd MR_SegmPointd
encodes a point inside a line segment using relative distance in [0,1] Generated from class MR::SegmP...
Definition MRSegmPoint.h:19
MRC_API MR_SegmPointf * MR_SegmPointf_DefaultConstruct(void)
MRC_API const double * MR_SegmPointd_Get_eps(void)
MRC_API float * MR_SegmPointf_GetMutable_a(MR_SegmPointf *_this)
MRC_API bool MR_equal_MR_SegmPointf_float(const MR_SegmPointf *_this, float rhs)
MRC_API float * MR_SegmPointf_ConvertTo_float_ref(MR_SegmPointf *_this)
MRC_API double * MR_SegmPointd_GetMutable_a(MR_SegmPointd *_this)
MRC_API double MR_SegmPointd_ConvertTo_double(const MR_SegmPointd *_this)
MRC_API MR_SegmPointf * MR_SegmPointf_Construct(float a)
MRC_API void MR_SegmPointf_DestroyArray(const MR_SegmPointf *_this)
Destroys a heap-allocated array of MR_SegmPointf. Does nothing if the pointer is null.
MRC_API MR_SegmPointd * MR_SegmPointd_DefaultConstructArray(size_t num_elems)
MRC_API const MR_SegmPointd * MR_SegmPointd_OffsetPtr(const MR_SegmPointd *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 int MR_SegmPointf_inVertex(const MR_SegmPointf *_this)
#define MRC_API
Definition exports.h:11