MeshLib C Docs
Loading...
Searching...
No Matches
MRCurve.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRVector3.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12
16
22
27
33
39
44
50
56
61
67
71
76
80
83
86
91
94
97
103
104#ifdef __cplusplus
105} // extern "C"
106#endif
struct MR_CurvePoint MR_CurvePoint
Definition MRCurve.h:15
MRC_API void MR_CurvePoint_DestroyArray(const MR_CurvePoint *_this)
Destroys a heap-allocated array of MR_CurvePoint. Does nothing if the pointer is null.
MRC_API const MR_Vector3f * MR_CurvePoint_Get_pos(const MR_CurvePoint *_this)
MRC_API void MR_CurvePoint_Set_snorm(MR_CurvePoint *_this, MR_Vector3f value)
MRC_API MR_CurvePoint * MR_CurvePoint_DefaultConstructArray(size_t num_elems)
MRC_API MR_CurvePoint * MR_CurvePoint_ConstructFrom(MR_Vector3f pos, MR_Vector3f dir, MR_Vector3f snorm)
MRC_API MR_Vector3f * MR_CurvePoint_GetMutable_dir(MR_CurvePoint *_this)
MRC_API const MR_Vector3f * MR_CurvePoint_Get_dir(const MR_CurvePoint *_this)
MRC_API MR_CurvePoint * MR_CurvePoint_ConstructFromAnother(const MR_CurvePoint *_other)
MRC_API MR_Vector3f * MR_CurvePoint_GetMutable_snorm(MR_CurvePoint *_this)
MRC_API MR_CurvePoint * MR_CurvePoint_AssignFromAnother(MR_CurvePoint *_this, const MR_CurvePoint *_other)
MRC_API const MR_CurvePoint * MR_CurvePoint_OffsetPtr(const MR_CurvePoint *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_Vector3f * MR_CurvePoint_GetMutable_pos(MR_CurvePoint *_this)
MRC_API MR_CurvePoint * MR_CurvePoint_OffsetMutablePtr(MR_CurvePoint *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_CurvePoint_Set_dir(MR_CurvePoint *_this, MR_Vector3f value)
MRC_API const MR_Vector3f * MR_CurvePoint_Get_snorm(const MR_CurvePoint *_this)
MRC_API MR_CurvePoint * MR_CurvePoint_DefaultConstruct(void)
MRC_API void MR_CurvePoint_Set_pos(MR_CurvePoint *_this, MR_Vector3f value)
MRC_API void MR_CurvePoint_Destroy(const MR_CurvePoint *_this)
Destroys a heap-allocated instance of MR_CurvePoint. Does nothing if the pointer is null.
#define MRC_API
Definition exports.h:11
Definition MRVector3.h:52