MeshLib C Docs
Loading...
Searching...
No Matches
MREndMill.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
12
13
28
33
38
43
49
54
60
66
72
78
84
90
96
102
108
112
117
122MRC_API MR_EndMillCutter *MR_EndMillCutter_ConstructFrom(MR_EndMillCutter_Type type, float cornerRadius, float cuttingAngle, float endDiameter);
123
127
131
137
140
143
151
157
163
169
175
181
187
193
201
207
211
216
222MRC_API MR_EndMillTool *MR_EndMillTool_ConstructFrom(float length, float diameter, const MR_EndMillCutter *cutter);
223
227
231
237
240
243
251
256
263MRC_API MR_Mesh *MR_EndMillTool_toMesh(const MR_EndMillTool *_this, const int *horizontalResolution, const int *verticalResolution);
264
265#ifdef __cplusplus
266} // extern "C"
267#endif
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
struct MR_EndMillCutter MR_EndMillCutter
Definition MREndMill.h:32
MRC_API MR_EndMillCutter * MR_EndMillCutter_AssignFromAnother(MR_EndMillCutter *_this, const MR_EndMillCutter *_other)
MRC_API MR_EndMillTool * MR_EndMillTool_OffsetMutablePtr(MR_EndMillTool *ptr, ptrdiff_t i)
MRC_API const MR_EndMillCutter * MR_EndMillCutter_OffsetPtr(const MR_EndMillCutter *ptr, ptrdiff_t i)
MRC_API void MR_EndMillCutter_Set_cuttingAngle(MR_EndMillCutter *_this, float value)
MRC_API float * MR_EndMillTool_GetMutable_diameter(MR_EndMillTool *_this)
MRC_API MR_EndMillCutter * MR_EndMillCutter_ConstructFrom(MR_EndMillCutter_Type type, float cornerRadius, float cuttingAngle, float endDiameter)
MRC_API void MR_EndMillTool_Destroy(const MR_EndMillTool *_this)
Destroys a heap-allocated instance of MR_EndMillTool. Does nothing if the pointer is null.
MRC_API void MR_EndMillTool_Set_length(MR_EndMillTool *_this, float value)
MRC_API MR_EndMillCutter_Type * MR_EndMillCutter_GetMutable_type(MR_EndMillCutter *_this)
MRC_API const float * MR_EndMillCutter_Get_endDiameter(const MR_EndMillCutter *_this)
MRC_API MR_Mesh * MR_EndMillTool_toMesh(const MR_EndMillTool *_this, const int *horizontalResolution, const int *verticalResolution)
MRC_API MR_EndMillCutter * MR_EndMillCutter_OffsetMutablePtr(MR_EndMillCutter *ptr, ptrdiff_t i)
MRC_API const MR_EndMillCutter * MR_EndMillTool_Get_cutter(const MR_EndMillTool *_this)
MRC_API MR_EndMillTool * MR_EndMillTool_ConstructFrom(float length, float diameter, const MR_EndMillCutter *cutter)
MRC_API float * MR_EndMillCutter_GetMutable_cuttingAngle(MR_EndMillCutter *_this)
MRC_API MR_EndMillTool * MR_EndMillTool_DefaultConstructArray(size_t num_elems)
MRC_API const float * MR_EndMillCutter_Get_cuttingAngle(const MR_EndMillCutter *_this)
MRC_API const MR_EndMillTool * MR_EndMillTool_OffsetPtr(const MR_EndMillTool *ptr, ptrdiff_t i)
MRC_API MR_EndMillTool * MR_EndMillTool_DefaultConstruct(void)
MRC_API void MR_EndMillTool_Set_diameter(MR_EndMillTool *_this, float value)
MRC_API void MR_EndMillTool_Set_cutter(MR_EndMillTool *_this, const MR_EndMillCutter *value)
MRC_API float MR_EndMillTool_getMinimalCutLength(const MR_EndMillTool *_this)
MRC_API MR_EndMillTool * MR_EndMillTool_AssignFromAnother(MR_EndMillTool *_this, const MR_EndMillTool *_other)
MRC_API void MR_EndMillCutter_Set_type(MR_EndMillCutter *_this, MR_EndMillCutter_Type value)
MR_EndMillCutter_Type
cutter type
Definition MREndMill.h:16
@ MR_EndMillCutter_Type_BullNose
bull nose end mill
Definition MREndMill.h:22
@ MR_EndMillCutter_Type_Ball
ball end mill
Definition MREndMill.h:20
@ MR_EndMillCutter_Type_Count
chamfer end mill
Definition MREndMill.h:26
@ MR_EndMillCutter_Type_Chamfer
chamfer end mill
Definition MREndMill.h:24
@ MR_EndMillCutter_Type_Flat
flat end mill
Definition MREndMill.h:18
MRC_API float * MR_EndMillCutter_GetMutable_cornerRadius(MR_EndMillCutter *_this)
MRC_API MR_EndMillCutter * MR_EndMillTool_GetMutable_cutter(MR_EndMillTool *_this)
MRC_API const MR_EndMillCutter_Type * MR_EndMillCutter_Get_type(const MR_EndMillCutter *_this)
MRC_API const float * MR_EndMillTool_Get_length(const MR_EndMillTool *_this)
MRC_API const float * MR_EndMillTool_Get_diameter(const MR_EndMillTool *_this)
MRC_API MR_EndMillCutter * MR_EndMillCutter_DefaultConstruct(void)
MRC_API void MR_EndMillTool_DestroyArray(const MR_EndMillTool *_this)
Destroys a heap-allocated array of MR_EndMillTool. Does nothing if the pointer is null.
MRC_API void MR_EndMillCutter_Set_cornerRadius(MR_EndMillCutter *_this, float value)
MRC_API void MR_EndMillCutter_Destroy(const MR_EndMillCutter *_this)
Destroys a heap-allocated instance of MR_EndMillCutter. Does nothing if the pointer is null.
MRC_API void MR_EndMillCutter_DestroyArray(const MR_EndMillCutter *_this)
Destroys a heap-allocated array of MR_EndMillCutter. Does nothing if the pointer is null.
MRC_API const float * MR_EndMillCutter_Get_cornerRadius(const MR_EndMillCutter *_this)
MRC_API void MR_EndMillCutter_Set_endDiameter(MR_EndMillCutter *_this, float value)
MRC_API float * MR_EndMillTool_GetMutable_length(MR_EndMillTool *_this)
MRC_API float * MR_EndMillCutter_GetMutable_endDiameter(MR_EndMillCutter *_this)
MRC_API MR_EndMillTool * MR_EndMillTool_ConstructFromAnother(const MR_EndMillTool *_other)
MRC_API MR_EndMillCutter * MR_EndMillCutter_ConstructFromAnother(const MR_EndMillCutter *_other)
MRC_API MR_EndMillCutter * MR_EndMillCutter_DefaultConstructArray(size_t num_elems)
struct MR_EndMillTool MR_EndMillTool
Definition MREndMill.h:37
#define MRC_API
Definition exports.h:11