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
17
22
25MRC_API const float *MR_SegmPointf_Get_eps(void);
26
31MRC_API const float *MR_SegmPointf_Get_a(const MR_SegmPointf *_this);
32
36MRC_API void MR_SegmPointf_Set_a(MR_SegmPointf *_this, float value);
37
43
47
52
55
58
63
67
70
73
77
82
88
93
99
105
109
112MRC_API const double *MR_SegmPointd_Get_eps(void);
113
118MRC_API const double *MR_SegmPointd_Get_a(const MR_SegmPointd *_this);
119
123MRC_API void MR_SegmPointd_Set_a(MR_SegmPointd *_this, double value);
124
130
134
139
142
145
150
154
157
160
164
169
175
180
186
192
196
197#ifdef __cplusplus
198} // extern "C"
199#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:21
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