MeshLib C Docs
Loading...
Searching...
No Matches
MRFillingSurface.h File Reference
#include <MRCMesh/MRVector3.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_FunctionVolume MR_FunctionVolume
 
typedef struct MR_Mesh MR_Mesh
 
typedef struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_optional_float MR_std_optional_float
 
typedef struct MR_std_vector_std_string MR_std_vector_std_string
 
typedef enum MR_FillingSurface_TPMS_Type MR_FillingSurface_TPMS_Type
 Supported types of TPMS (Triply Periodic Minimal Surfaces)
 
typedef struct MR_FillingSurface_TPMS_VolumeParams MR_FillingSurface_TPMS_VolumeParams
 
typedef struct MR_FillingSurface_TPMS_MeshParams MR_FillingSurface_TPMS_MeshParams
 
typedef struct MR_FillingSurface_CellularSurface_Params MR_FillingSurface_CellularSurface_Params
 Generated from class MR::FillingSurface::CellularSurface::Params.
 
typedef enum MR_FillingSurface_Kind MR_FillingSurface_Kind
 

Enumerations

enum  MR_FillingSurface_TPMS_Type {
  MR_FillingSurface_TPMS_Type_SchwartzP = 0 , MR_FillingSurface_TPMS_Type_ThickSchwartzP = 1 , MR_FillingSurface_TPMS_Type_DoubleGyroid = 2 , MR_FillingSurface_TPMS_Type_ThickGyroid = 3 ,
  MR_FillingSurface_TPMS_Type_Count = 4
}
 Supported types of TPMS (Triply Periodic Minimal Surfaces) More...
 
enum  MR_FillingSurface_Kind { MR_FillingSurface_Kind_TPMS = 0 , MR_FillingSurface_Kind_Cellular = 1 }
 

Functions

MRC_API MR_std_vector_std_stringMR_FillingSurface_TPMS_getTypeNames (void)
 
MRC_API MR_std_vector_std_stringMR_FillingSurface_TPMS_getTypeTooltips (void)
 
MRC_API bool MR_FillingSurface_TPMS_isThick (MR_FillingSurface_TPMS_Type type)
 
MRC_API const MR_FillingSurface_TPMS_TypeMR_FillingSurface_TPMS_VolumeParams_Get_type (const MR_FillingSurface_TPMS_VolumeParams *_this)
 
MRC_API void MR_FillingSurface_TPMS_VolumeParams_Set_type (MR_FillingSurface_TPMS_VolumeParams *_this, MR_FillingSurface_TPMS_Type value)
 
MRC_API MR_FillingSurface_TPMS_TypeMR_FillingSurface_TPMS_VolumeParams_GetMutable_type (MR_FillingSurface_TPMS_VolumeParams *_this)
 
MRC_API const float * MR_FillingSurface_TPMS_VolumeParams_Get_frequency (const MR_FillingSurface_TPMS_VolumeParams *_this)
 
MRC_API void MR_FillingSurface_TPMS_VolumeParams_Set_frequency (MR_FillingSurface_TPMS_VolumeParams *_this, float value)
 
MRC_API float * MR_FillingSurface_TPMS_VolumeParams_GetMutable_frequency (MR_FillingSurface_TPMS_VolumeParams *_this)
 
MRC_API const float * MR_FillingSurface_TPMS_VolumeParams_Get_resolution (const MR_FillingSurface_TPMS_VolumeParams *_this)
 
MRC_API void MR_FillingSurface_TPMS_VolumeParams_Set_resolution (MR_FillingSurface_TPMS_VolumeParams *_this, float value)
 
MRC_API float * MR_FillingSurface_TPMS_VolumeParams_GetMutable_resolution (MR_FillingSurface_TPMS_VolumeParams *_this)
 
MRC_API MR_FillingSurface_TPMS_VolumeParamsMR_FillingSurface_TPMS_VolumeParams_DefaultConstruct (void)
 
MRC_API MR_FillingSurface_TPMS_VolumeParamsMR_FillingSurface_TPMS_VolumeParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_FillingSurface_TPMS_VolumeParamsMR_FillingSurface_TPMS_VolumeParams_ConstructFrom (MR_FillingSurface_TPMS_Type type, float frequency, float resolution)
 
MRC_API const MR_FillingSurface_TPMS_VolumeParamsMR_FillingSurface_TPMS_VolumeParams_OffsetPtr (const MR_FillingSurface_TPMS_VolumeParams *ptr, ptrdiff_t i)
 Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
 
MRC_API MR_FillingSurface_TPMS_VolumeParamsMR_FillingSurface_TPMS_VolumeParams_OffsetMutablePtr (MR_FillingSurface_TPMS_VolumeParams *ptr, ptrdiff_t i)
 Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
 
MRC_API const MR_FillingSurface_TPMS_MeshParamsMR_FillingSurface_TPMS_VolumeParams_StaticDowncastTo_MR_FillingSurface_TPMS_MeshParams (const MR_FillingSurface_TPMS_VolumeParams *object)
 
MRC_API MR_FillingSurface_TPMS_MeshParamsMR_FillingSurface_TPMS_VolumeParams_MutableStaticDowncastTo_MR_FillingSurface_TPMS_MeshParams (MR_FillingSurface_TPMS_VolumeParams *object)
 
MRC_API MR_FillingSurface_TPMS_VolumeParamsMR_FillingSurface_TPMS_VolumeParams_ConstructFromAnother (const MR_FillingSurface_TPMS_VolumeParams *_other)
 
MRC_API void MR_FillingSurface_TPMS_VolumeParams_Destroy (const MR_FillingSurface_TPMS_VolumeParams *_this)
 Destroys a heap-allocated instance of MR_FillingSurface_TPMS_VolumeParams. Does nothing if the pointer is null.
 
MRC_API void MR_FillingSurface_TPMS_VolumeParams_DestroyArray (const MR_FillingSurface_TPMS_VolumeParams *_this)
 Destroys a heap-allocated array of MR_FillingSurface_TPMS_VolumeParams. Does nothing if the pointer is null.
 
MRC_API MR_FillingSurface_TPMS_VolumeParamsMR_FillingSurface_TPMS_VolumeParams_AssignFromAnother (MR_FillingSurface_TPMS_VolumeParams *_this, const MR_FillingSurface_TPMS_VolumeParams *_other)
 
MRC_API const float * MR_FillingSurface_TPMS_MeshParams_Get_iso (const MR_FillingSurface_TPMS_MeshParams *_this)
 
MRC_API void MR_FillingSurface_TPMS_MeshParams_Set_iso (MR_FillingSurface_TPMS_MeshParams *_this, float value)
 
MRC_API float * MR_FillingSurface_TPMS_MeshParams_GetMutable_iso (MR_FillingSurface_TPMS_MeshParams *_this)
 
MRC_API const bool * MR_FillingSurface_TPMS_MeshParams_Get_decimate (const MR_FillingSurface_TPMS_MeshParams *_this)
 
MRC_API void MR_FillingSurface_TPMS_MeshParams_Set_decimate (MR_FillingSurface_TPMS_MeshParams *_this, bool value)
 
MRC_API bool * MR_FillingSurface_TPMS_MeshParams_GetMutable_decimate (MR_FillingSurface_TPMS_MeshParams *_this)
 
MRC_API MR_FillingSurface_TPMS_MeshParamsMR_FillingSurface_TPMS_MeshParams_DefaultConstruct (void)
 
MRC_API MR_FillingSurface_TPMS_MeshParamsMR_FillingSurface_TPMS_MeshParams_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_FillingSurface_TPMS_MeshParamsMR_FillingSurface_TPMS_MeshParams_OffsetPtr (const MR_FillingSurface_TPMS_MeshParams *ptr, ptrdiff_t i)
 Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
 
MRC_API MR_FillingSurface_TPMS_MeshParamsMR_FillingSurface_TPMS_MeshParams_OffsetMutablePtr (MR_FillingSurface_TPMS_MeshParams *ptr, ptrdiff_t i)
 Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
 
MRC_API const MR_FillingSurface_TPMS_VolumeParamsMR_FillingSurface_TPMS_MeshParams_UpcastTo_MR_FillingSurface_TPMS_VolumeParams (const MR_FillingSurface_TPMS_MeshParams *object)
 
MRC_API MR_FillingSurface_TPMS_VolumeParamsMR_FillingSurface_TPMS_MeshParams_MutableUpcastTo_MR_FillingSurface_TPMS_VolumeParams (MR_FillingSurface_TPMS_MeshParams *object)
 Upcasts an instance of MR::FillingSurface::TPMS::MeshParams to its base class MR::FillingSurface::TPMS::VolumeParams.
 
MRC_API MR_FillingSurface_TPMS_MeshParamsMR_FillingSurface_TPMS_MeshParams_ConstructFromAnother (const MR_FillingSurface_TPMS_MeshParams *_other)
 
MRC_API void MR_FillingSurface_TPMS_MeshParams_Destroy (const MR_FillingSurface_TPMS_MeshParams *_this)
 Destroys a heap-allocated instance of MR_FillingSurface_TPMS_MeshParams. Does nothing if the pointer is null.
 
MRC_API void MR_FillingSurface_TPMS_MeshParams_DestroyArray (const MR_FillingSurface_TPMS_MeshParams *_this)
 Destroys a heap-allocated array of MR_FillingSurface_TPMS_MeshParams. Does nothing if the pointer is null.
 
MRC_API MR_FillingSurface_TPMS_MeshParamsMR_FillingSurface_TPMS_MeshParams_AssignFromAnother (MR_FillingSurface_TPMS_MeshParams *_this, const MR_FillingSurface_TPMS_MeshParams *_other)
 
MRC_API MR_FunctionVolumeMR_FillingSurface_TPMS_buildVolume (const MR_Vector3f *size, const MR_FillingSurface_TPMS_VolumeParams *params)
 
MRC_API MR_expected_MR_Mesh_std_stringMR_FillingSurface_TPMS_build (const MR_Vector3f *size, const MR_FillingSurface_TPMS_MeshParams *params, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_MR_Mesh_std_stringMR_FillingSurface_TPMS_fill (const MR_Mesh *mesh, const MR_FillingSurface_TPMS_MeshParams *params, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API MR_uint64_t MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Mesh (const MR_Mesh *mesh, float frequency, float resolution)
 
MRC_API MR_uint64_t MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Vector3f (const MR_Vector3f *size, float frequency, float resolution)
 
MRC_API float MR_FillingSurface_TPMS_estimateIso (MR_FillingSurface_TPMS_Type type, float targetDensity)
 
MRC_API float MR_FillingSurface_TPMS_estimateDensity (MR_FillingSurface_TPMS_Type type, float targetIso)
 
MRC_API float MR_FillingSurface_TPMS_getMinimalResolution (MR_FillingSurface_TPMS_Type type, float iso)
 
MRC_API const MR_Vector3fMR_FillingSurface_CellularSurface_Params_Get_period (const MR_FillingSurface_CellularSurface_Params *_this)
 
MRC_API void MR_FillingSurface_CellularSurface_Params_Set_period (MR_FillingSurface_CellularSurface_Params *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_FillingSurface_CellularSurface_Params_GetMutable_period (MR_FillingSurface_CellularSurface_Params *_this)
 
MRC_API const MR_Vector3fMR_FillingSurface_CellularSurface_Params_Get_width (const MR_FillingSurface_CellularSurface_Params *_this)
 
MRC_API void MR_FillingSurface_CellularSurface_Params_Set_width (MR_FillingSurface_CellularSurface_Params *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_FillingSurface_CellularSurface_Params_GetMutable_width (MR_FillingSurface_CellularSurface_Params *_this)
 
MRC_API const float * MR_FillingSurface_CellularSurface_Params_Get_r (const MR_FillingSurface_CellularSurface_Params *_this)
 
MRC_API void MR_FillingSurface_CellularSurface_Params_Set_r (MR_FillingSurface_CellularSurface_Params *_this, float value)
 
MRC_API float * MR_FillingSurface_CellularSurface_Params_GetMutable_r (MR_FillingSurface_CellularSurface_Params *_this)
 
MRC_API const bool * MR_FillingSurface_CellularSurface_Params_Get_highRes (const MR_FillingSurface_CellularSurface_Params *_this)
 
MRC_API void MR_FillingSurface_CellularSurface_Params_Set_highRes (MR_FillingSurface_CellularSurface_Params *_this, bool value)
 
MRC_API bool * MR_FillingSurface_CellularSurface_Params_GetMutable_highRes (MR_FillingSurface_CellularSurface_Params *_this)
 
MRC_API MR_FillingSurface_CellularSurface_ParamsMR_FillingSurface_CellularSurface_Params_DefaultConstruct (void)
 
MRC_API MR_FillingSurface_CellularSurface_ParamsMR_FillingSurface_CellularSurface_Params_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_FillingSurface_CellularSurface_ParamsMR_FillingSurface_CellularSurface_Params_ConstructFrom (MR_Vector3f period, MR_Vector3f width, float r, bool highRes)
 
MRC_API const MR_FillingSurface_CellularSurface_ParamsMR_FillingSurface_CellularSurface_Params_OffsetPtr (const MR_FillingSurface_CellularSurface_Params *ptr, ptrdiff_t i)
 Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
 
MRC_API MR_FillingSurface_CellularSurface_ParamsMR_FillingSurface_CellularSurface_Params_OffsetMutablePtr (MR_FillingSurface_CellularSurface_Params *ptr, ptrdiff_t i)
 Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
 
MRC_API MR_FillingSurface_CellularSurface_ParamsMR_FillingSurface_CellularSurface_Params_ConstructFromAnother (const MR_FillingSurface_CellularSurface_Params *_other)
 
MRC_API void MR_FillingSurface_CellularSurface_Params_Destroy (const MR_FillingSurface_CellularSurface_Params *_this)
 Destroys a heap-allocated instance of MR_FillingSurface_CellularSurface_Params. Does nothing if the pointer is null.
 
MRC_API void MR_FillingSurface_CellularSurface_Params_DestroyArray (const MR_FillingSurface_CellularSurface_Params *_this)
 Destroys a heap-allocated array of MR_FillingSurface_CellularSurface_Params. Does nothing if the pointer is null.
 
MRC_API MR_FillingSurface_CellularSurface_ParamsMR_FillingSurface_CellularSurface_Params_AssignFromAnother (MR_FillingSurface_CellularSurface_Params *_this, const MR_FillingSurface_CellularSurface_Params *_other)
 
MRC_API MR_expected_MR_Mesh_std_stringMR_FillingSurface_CellularSurface_build (const MR_Vector3f *size, const MR_FillingSurface_CellularSurface_Params *params, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_MR_Mesh_std_stringMR_FillingSurface_CellularSurface_fill (const MR_Mesh *mesh, const MR_FillingSurface_CellularSurface_Params *params, const MR_std_function_bool_from_float *cb)
 
MRC_API float MR_FillingSurface_CellularSurface_estimateDensity (float period, float width, float r)
 
MRC_API MR_std_optional_floatMR_FillingSurface_CellularSurface_estimateWidth (float period, float r, float targetDensity)
 
MRC_API MR_std_vector_std_stringMR_FillingSurface_getKindNames (void)
 

Typedef Documentation

◆ MR_expected_MR_Mesh_std_string

◆ MR_FillingSurface_CellularSurface_Params

◆ MR_FillingSurface_Kind

◆ MR_FillingSurface_TPMS_MeshParams

◆ MR_FillingSurface_TPMS_Type

Supported types of TPMS (Triply Periodic Minimal Surfaces)

◆ MR_FillingSurface_TPMS_VolumeParams

◆ MR_FunctionVolume

◆ MR_Mesh

typedef struct MR_Mesh MR_Mesh

◆ MR_std_function_bool_from_float

◆ MR_std_optional_float

◆ MR_std_vector_std_string

Enumeration Type Documentation

◆ MR_FillingSurface_Kind

Enumerator
MR_FillingSurface_Kind_TPMS 
MR_FillingSurface_Kind_Cellular 

◆ MR_FillingSurface_TPMS_Type

Supported types of TPMS (Triply Periodic Minimal Surfaces)

Enumerator
MR_FillingSurface_TPMS_Type_SchwartzP 
MR_FillingSurface_TPMS_Type_ThickSchwartzP 
MR_FillingSurface_TPMS_Type_DoubleGyroid 
MR_FillingSurface_TPMS_Type_ThickGyroid 
MR_FillingSurface_TPMS_Type_Count 

Function Documentation

◆ MR_FillingSurface_CellularSurface_build()

MRC_API MR_expected_MR_Mesh_std_string * MR_FillingSurface_CellularSurface_build ( const MR_Vector3f * size,
const MR_FillingSurface_CellularSurface_Params * params,
const MR_std_function_bool_from_float * cb )

Build a cellular surface of size size Generated from function MR::FillingSurface::CellularSurface::build. Parameter size can not be null. It is a single object. Parameter params can not be null. It is a single object. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_CellularSurface_estimateDensity()

MRC_API float MR_FillingSurface_CellularSurface_estimateDensity ( float period,
float width,
float r )

Estimate the density of the cellular surface Generated from function MR::FillingSurface::CellularSurface::estimateDensity.

◆ MR_FillingSurface_CellularSurface_estimateWidth()

MRC_API MR_std_optional_float * MR_FillingSurface_CellularSurface_estimateWidth ( float period,
float r,
float targetDensity )

Estimate the width that is needed to attain the targetDensity. Inverse of estimateDensity.

Note
The width is not unique in general, no guarantees are made about which value among possible will be returned. Generated from function MR::FillingSurface::CellularSurface::estimateWidth. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_float_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_CellularSurface_fill()

MRC_API MR_expected_MR_Mesh_std_string * MR_FillingSurface_CellularSurface_fill ( const MR_Mesh * mesh,
const MR_FillingSurface_CellularSurface_Params * params,
const MR_std_function_bool_from_float * cb )

Fill given mesh with a cellular surface Generated from function MR::FillingSurface::CellularSurface::fill. Parameter mesh can not be null. It is a single object. Parameter params can not be null. It is a single object. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_CellularSurface_Params_AssignFromAnother()

MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_AssignFromAnother ( MR_FillingSurface_CellularSurface_Params * _this,
const MR_FillingSurface_CellularSurface_Params * _other )

Generated from a method of class MR::FillingSurface::CellularSurface::Params named operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_CellularSurface_Params_ConstructFrom()

MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_ConstructFrom ( MR_Vector3f period,
MR_Vector3f width,
float r,
bool highRes )

Constructs MR::FillingSurface::CellularSurface::Params elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_CellularSurface_Params_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_CellularSurface_Params_ConstructFromAnother()

MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_ConstructFromAnother ( const MR_FillingSurface_CellularSurface_Params * _other)

Generated from a constructor of class MR::FillingSurface::CellularSurface::Params. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_CellularSurface_Params_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_CellularSurface_Params_DefaultConstruct()

MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_CellularSurface_Params_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_CellularSurface_Params_DefaultConstructArray()

MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_FillingSurface_CellularSurface_Params_DestroyArray(). Use MR_FillingSurface_CellularSurface_Params_OffsetMutablePtr() and MR_FillingSurface_CellularSurface_Params_OffsetPtr() to access the array elements.

◆ MR_FillingSurface_CellularSurface_Params_Destroy()

MRC_API void MR_FillingSurface_CellularSurface_Params_Destroy ( const MR_FillingSurface_CellularSurface_Params * _this)

Destroys a heap-allocated instance of MR_FillingSurface_CellularSurface_Params. Does nothing if the pointer is null.

◆ MR_FillingSurface_CellularSurface_Params_DestroyArray()

MRC_API void MR_FillingSurface_CellularSurface_Params_DestroyArray ( const MR_FillingSurface_CellularSurface_Params * _this)

Destroys a heap-allocated array of MR_FillingSurface_CellularSurface_Params. Does nothing if the pointer is null.

◆ MR_FillingSurface_CellularSurface_Params_Get_highRes()

MRC_API const bool * MR_FillingSurface_CellularSurface_Params_Get_highRes ( const MR_FillingSurface_CellularSurface_Params * _this)

Returns a pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named highRes. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_CellularSurface_Params_Get_period()

MRC_API const MR_Vector3f * MR_FillingSurface_CellularSurface_Params_Get_period ( const MR_FillingSurface_CellularSurface_Params * _this)

the distance between consecutive cylinders in each direction Modifies a member variable of class MR::FillingSurface::CellularSurface::Params named period. Parameter _this can not be null. It is a single object.

◆ MR_FillingSurface_CellularSurface_Params_Get_r()

MRC_API const float * MR_FillingSurface_CellularSurface_Params_Get_r ( const MR_FillingSurface_CellularSurface_Params * _this)

the radius of uniting spheres Modifies a member variable of class MR::FillingSurface::CellularSurface::Params named r. Parameter _this can not be null. It is a single object.

◆ MR_FillingSurface_CellularSurface_Params_Get_width()

MRC_API const MR_Vector3f * MR_FillingSurface_CellularSurface_Params_Get_width ( const MR_FillingSurface_CellularSurface_Params * _this)

the width of cylinders in each direction Modifies a member variable of class MR::FillingSurface::CellularSurface::Params named width. Parameter _this can not be null. It is a single object.

◆ MR_FillingSurface_CellularSurface_Params_GetMutable_highRes()

MRC_API bool * MR_FillingSurface_CellularSurface_Params_GetMutable_highRes ( MR_FillingSurface_CellularSurface_Params * _this)

Returns a mutable pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named highRes. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_CellularSurface_Params_GetMutable_period()

MRC_API MR_Vector3f * MR_FillingSurface_CellularSurface_Params_GetMutable_period ( MR_FillingSurface_CellularSurface_Params * _this)

the width of cylinders in each direction Returns a pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named width. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_CellularSurface_Params_GetMutable_r()

MRC_API float * MR_FillingSurface_CellularSurface_Params_GetMutable_r ( MR_FillingSurface_CellularSurface_Params * _this)

◆ MR_FillingSurface_CellularSurface_Params_GetMutable_width()

MRC_API MR_Vector3f * MR_FillingSurface_CellularSurface_Params_GetMutable_width ( MR_FillingSurface_CellularSurface_Params * _this)

the radius of uniting spheres Returns a pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named r. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_CellularSurface_Params_OffsetMutablePtr()

MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_OffsetMutablePtr ( MR_FillingSurface_CellularSurface_Params * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.

◆ MR_FillingSurface_CellularSurface_Params_OffsetPtr()

MRC_API const MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_OffsetPtr ( const MR_FillingSurface_CellularSurface_Params * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.

◆ MR_FillingSurface_CellularSurface_Params_Set_highRes()

MRC_API void MR_FillingSurface_CellularSurface_Params_Set_highRes ( MR_FillingSurface_CellularSurface_Params * _this,
bool value )

Modifies a member variable of class MR::FillingSurface::CellularSurface::Params named highRes. Parameter _this can not be null. It is a single object.

◆ MR_FillingSurface_CellularSurface_Params_Set_period()

MRC_API void MR_FillingSurface_CellularSurface_Params_Set_period ( MR_FillingSurface_CellularSurface_Params * _this,
MR_Vector3f value )

the distance between consecutive cylinders in each direction Returns a mutable pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named period. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_CellularSurface_Params_Set_r()

MRC_API void MR_FillingSurface_CellularSurface_Params_Set_r ( MR_FillingSurface_CellularSurface_Params * _this,
float value )

the radius of uniting spheres Returns a mutable pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named r. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_CellularSurface_Params_Set_width()

MRC_API void MR_FillingSurface_CellularSurface_Params_Set_width ( MR_FillingSurface_CellularSurface_Params * _this,
MR_Vector3f value )

the width of cylinders in each direction Returns a mutable pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named width. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_getKindNames()

MRC_API MR_std_vector_std_string * MR_FillingSurface_getKindNames ( void )

Generated from function MR::FillingSurface::getKindNames. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_string_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_build()

MRC_API MR_expected_MR_Mesh_std_string * MR_FillingSurface_TPMS_build ( const MR_Vector3f * size,
const MR_FillingSurface_TPMS_MeshParams * params,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Constructs TPMS level-set and then convert it to mesh Generated from function MR::FillingSurface::TPMS::build. Parameter size can not be null. It is a single object. Parameter params can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_buildVolume()

MRC_API MR_FunctionVolume * MR_FillingSurface_TPMS_buildVolume ( const MR_Vector3f * size,
const MR_FillingSurface_TPMS_VolumeParams * params )

Construct TPMS using implicit function (https://www.researchgate.net/publication/350658078_Computational_method_and_program_for_generating_a_porous_scaffold_based_on_implicit_surfaces)

Parameters
sizeSize of the cube with the surface
Returns
Distance-volume starting at (0, 0, 0) and having specified size Generated from function MR::FillingSurface::TPMS::buildVolume. Parameter size can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FunctionVolume_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_estimateDensity()

MRC_API float MR_FillingSurface_TPMS_estimateDensity ( MR_FillingSurface_TPMS_Type type,
float targetIso )

Returns approximate density corresponding to the given ISO value

Parameters
targetIsovalue in [-1; 1]
Returns
Value in [0; 1] Generated from function MR::FillingSurface::TPMS::estimateDensity.

◆ MR_FillingSurface_TPMS_estimateIso()

MRC_API float MR_FillingSurface_TPMS_estimateIso ( MR_FillingSurface_TPMS_Type type,
float targetDensity )

Returns approximated ISO value corresponding to the given density

Parameters
targetDensityvalue in [0; 1]
Returns
Value in [-1; 1] Generated from function MR::FillingSurface::TPMS::estimateIso.

◆ MR_FillingSurface_TPMS_fill()

MRC_API MR_expected_MR_Mesh_std_string * MR_FillingSurface_TPMS_fill ( const MR_Mesh * mesh,
const MR_FillingSurface_TPMS_MeshParams * params,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Constructs TPMS-filling for the given mesh Generated from function MR::FillingSurface::TPMS::fill. Parameter mesh can not be null. It is a single object. Parameter params can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_getMinimalResolution()

MRC_API float MR_FillingSurface_TPMS_getMinimalResolution ( MR_FillingSurface_TPMS_Type type,
float iso )

Returns minimal reasonable resolution for given parameters Generated from function MR::FillingSurface::TPMS::getMinimalResolution. the distance between consecutive cylinders in each direction Returns a pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named period. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Mesh()

MRC_API MR_uint64_t MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Mesh ( const MR_Mesh * mesh,
float frequency,
float resolution )

Returns number of voxels that would be used to perform fillWithTPMS Generated from function MR::FillingSurface::TPMS::getNumberOfVoxels. Parameter mesh can not be null. It is a single object.

◆ MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Vector3f()

MRC_API MR_uint64_t MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Vector3f ( const MR_Vector3f * size,
float frequency,
float resolution )

Returns number of voxels that would be used to perform buildTPMS or buildTPMSVolume Generated from function MR::FillingSurface::TPMS::getNumberOfVoxels. Parameter size can not be null. It is a single object.

◆ MR_FillingSurface_TPMS_getTypeNames()

MRC_API MR_std_vector_std_string * MR_FillingSurface_TPMS_getTypeNames ( void )

Returns the names for each type of filling Generated from function MR::FillingSurface::TPMS::getTypeNames. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_string_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_getTypeTooltips()

MRC_API MR_std_vector_std_string * MR_FillingSurface_TPMS_getTypeTooltips ( void )

Returns the tooltips for each type of filling Generated from function MR::FillingSurface::TPMS::getTypeTooltips. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_string_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_isThick()

MRC_API bool MR_FillingSurface_TPMS_isThick ( MR_FillingSurface_TPMS_Type type)

Returns true if the type is thick Generated from function MR::FillingSurface::TPMS::isThick.

◆ MR_FillingSurface_TPMS_MeshParams_AssignFromAnother()

MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_AssignFromAnother ( MR_FillingSurface_TPMS_MeshParams * _this,
const MR_FillingSurface_TPMS_MeshParams * _other )

Generated from a method of class MR::FillingSurface::TPMS::MeshParams named operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_MeshParams_ConstructFromAnother()

MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_ConstructFromAnother ( const MR_FillingSurface_TPMS_MeshParams * _other)

Generated from a constructor of class MR::FillingSurface::TPMS::MeshParams. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_MeshParams_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_MeshParams_DefaultConstruct()

MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_MeshParams_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_MeshParams_DefaultConstructArray()

MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_FillingSurface_TPMS_MeshParams_DestroyArray(). Use MR_FillingSurface_TPMS_MeshParams_OffsetMutablePtr() and MR_FillingSurface_TPMS_MeshParams_OffsetPtr() to access the array elements.

◆ MR_FillingSurface_TPMS_MeshParams_Destroy()

MRC_API void MR_FillingSurface_TPMS_MeshParams_Destroy ( const MR_FillingSurface_TPMS_MeshParams * _this)

Destroys a heap-allocated instance of MR_FillingSurface_TPMS_MeshParams. Does nothing if the pointer is null.

◆ MR_FillingSurface_TPMS_MeshParams_DestroyArray()

MRC_API void MR_FillingSurface_TPMS_MeshParams_DestroyArray ( const MR_FillingSurface_TPMS_MeshParams * _this)

Destroys a heap-allocated array of MR_FillingSurface_TPMS_MeshParams. Does nothing if the pointer is null.

◆ MR_FillingSurface_TPMS_MeshParams_Get_decimate()

MRC_API const bool * MR_FillingSurface_TPMS_MeshParams_Get_decimate ( const MR_FillingSurface_TPMS_MeshParams * _this)

Returns a pointer to a member variable of class MR::FillingSurface::TPMS::MeshParams named decimate. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_MeshParams_Get_iso()

MRC_API const float * MR_FillingSurface_TPMS_MeshParams_Get_iso ( const MR_FillingSurface_TPMS_MeshParams * _this)

Returns a pointer to a member variable of class MR::FillingSurface::TPMS::MeshParams named iso. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_MeshParams_GetMutable_decimate()

MRC_API bool * MR_FillingSurface_TPMS_MeshParams_GetMutable_decimate ( MR_FillingSurface_TPMS_MeshParams * _this)

Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::MeshParams named decimate. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_MeshParams_GetMutable_iso()

MRC_API float * MR_FillingSurface_TPMS_MeshParams_GetMutable_iso ( MR_FillingSurface_TPMS_MeshParams * _this)

Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::MeshParams named iso. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_MeshParams_MutableUpcastTo_MR_FillingSurface_TPMS_VolumeParams()

MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_MeshParams_MutableUpcastTo_MR_FillingSurface_TPMS_VolumeParams ( MR_FillingSurface_TPMS_MeshParams * object)

◆ MR_FillingSurface_TPMS_MeshParams_OffsetMutablePtr()

MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_OffsetMutablePtr ( MR_FillingSurface_TPMS_MeshParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.

◆ MR_FillingSurface_TPMS_MeshParams_OffsetPtr()

MRC_API const MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_OffsetPtr ( const MR_FillingSurface_TPMS_MeshParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.

◆ MR_FillingSurface_TPMS_MeshParams_Set_decimate()

MRC_API void MR_FillingSurface_TPMS_MeshParams_Set_decimate ( MR_FillingSurface_TPMS_MeshParams * _this,
bool value )

Modifies a member variable of class MR::FillingSurface::TPMS::MeshParams named decimate. Parameter _this can not be null. It is a single object.

◆ MR_FillingSurface_TPMS_MeshParams_Set_iso()

MRC_API void MR_FillingSurface_TPMS_MeshParams_Set_iso ( MR_FillingSurface_TPMS_MeshParams * _this,
float value )

Modifies a member variable of class MR::FillingSurface::TPMS::MeshParams named iso. Parameter _this can not be null. It is a single object.

◆ MR_FillingSurface_TPMS_MeshParams_UpcastTo_MR_FillingSurface_TPMS_VolumeParams()

MRC_API const MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_MeshParams_UpcastTo_MR_FillingSurface_TPMS_VolumeParams ( const MR_FillingSurface_TPMS_MeshParams * object)

Upcasts an instance of MR::FillingSurface::TPMS::MeshParams to its base class MR::FillingSurface::TPMS::VolumeParams. This version is acting on mutable pointers.

◆ MR_FillingSurface_TPMS_VolumeParams_AssignFromAnother()

MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_AssignFromAnother ( MR_FillingSurface_TPMS_VolumeParams * _this,
const MR_FillingSurface_TPMS_VolumeParams * _other )

Generated from a method of class MR::FillingSurface::TPMS::VolumeParams named operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_VolumeParams_ConstructFrom()

MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_ConstructFrom ( MR_FillingSurface_TPMS_Type type,
float frequency,
float resolution )

Constructs MR::FillingSurface::TPMS::VolumeParams elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_VolumeParams_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_VolumeParams_ConstructFromAnother()

MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_ConstructFromAnother ( const MR_FillingSurface_TPMS_VolumeParams * _other)

Generated from a constructor of class MR::FillingSurface::TPMS::VolumeParams. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_VolumeParams_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_VolumeParams_DefaultConstruct()

MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_VolumeParams_Destroy() to free it when you're done using it.

◆ MR_FillingSurface_TPMS_VolumeParams_DefaultConstructArray()

MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_FillingSurface_TPMS_VolumeParams_DestroyArray(). Use MR_FillingSurface_TPMS_VolumeParams_OffsetMutablePtr() and MR_FillingSurface_TPMS_VolumeParams_OffsetPtr() to access the array elements.

◆ MR_FillingSurface_TPMS_VolumeParams_Destroy()

MRC_API void MR_FillingSurface_TPMS_VolumeParams_Destroy ( const MR_FillingSurface_TPMS_VolumeParams * _this)

Destroys a heap-allocated instance of MR_FillingSurface_TPMS_VolumeParams. Does nothing if the pointer is null.

◆ MR_FillingSurface_TPMS_VolumeParams_DestroyArray()

MRC_API void MR_FillingSurface_TPMS_VolumeParams_DestroyArray ( const MR_FillingSurface_TPMS_VolumeParams * _this)

Destroys a heap-allocated array of MR_FillingSurface_TPMS_VolumeParams. Does nothing if the pointer is null.

◆ MR_FillingSurface_TPMS_VolumeParams_Get_frequency()

MRC_API const float * MR_FillingSurface_TPMS_VolumeParams_Get_frequency ( const MR_FillingSurface_TPMS_VolumeParams * _this)

Returns a pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named frequency. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_VolumeParams_Get_resolution()

MRC_API const float * MR_FillingSurface_TPMS_VolumeParams_Get_resolution ( const MR_FillingSurface_TPMS_VolumeParams * _this)

Returns a pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named resolution. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_VolumeParams_Get_type()

MRC_API const MR_FillingSurface_TPMS_Type * MR_FillingSurface_TPMS_VolumeParams_Get_type ( const MR_FillingSurface_TPMS_VolumeParams * _this)

Returns a pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named type. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_VolumeParams_GetMutable_frequency()

MRC_API float * MR_FillingSurface_TPMS_VolumeParams_GetMutable_frequency ( MR_FillingSurface_TPMS_VolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named frequency. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_VolumeParams_GetMutable_resolution()

MRC_API float * MR_FillingSurface_TPMS_VolumeParams_GetMutable_resolution ( MR_FillingSurface_TPMS_VolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named resolution. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_VolumeParams_GetMutable_type()

MRC_API MR_FillingSurface_TPMS_Type * MR_FillingSurface_TPMS_VolumeParams_GetMutable_type ( MR_FillingSurface_TPMS_VolumeParams * _this)

Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named type. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_FillingSurface_TPMS_VolumeParams_MutableStaticDowncastTo_MR_FillingSurface_TPMS_MeshParams()

MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_VolumeParams_MutableStaticDowncastTo_MR_FillingSurface_TPMS_MeshParams ( MR_FillingSurface_TPMS_VolumeParams * object)

Downcasts an instance of MR::FillingSurface::TPMS::VolumeParams to a derived class MR::FillingSurface::TPMS::MeshParams. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.

◆ MR_FillingSurface_TPMS_VolumeParams_OffsetMutablePtr()

MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_OffsetMutablePtr ( MR_FillingSurface_TPMS_VolumeParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.

◆ MR_FillingSurface_TPMS_VolumeParams_OffsetPtr()

MRC_API const MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_OffsetPtr ( const MR_FillingSurface_TPMS_VolumeParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.

◆ MR_FillingSurface_TPMS_VolumeParams_Set_frequency()

MRC_API void MR_FillingSurface_TPMS_VolumeParams_Set_frequency ( MR_FillingSurface_TPMS_VolumeParams * _this,
float value )

Modifies a member variable of class MR::FillingSurface::TPMS::VolumeParams named frequency. Parameter _this can not be null. It is a single object.

◆ MR_FillingSurface_TPMS_VolumeParams_Set_resolution()

MRC_API void MR_FillingSurface_TPMS_VolumeParams_Set_resolution ( MR_FillingSurface_TPMS_VolumeParams * _this,
float value )

Modifies a member variable of class MR::FillingSurface::TPMS::VolumeParams named resolution. Parameter _this can not be null. It is a single object.

◆ MR_FillingSurface_TPMS_VolumeParams_Set_type()

MRC_API void MR_FillingSurface_TPMS_VolumeParams_Set_type ( MR_FillingSurface_TPMS_VolumeParams * _this,
MR_FillingSurface_TPMS_Type value )

Modifies a member variable of class MR::FillingSurface::TPMS::VolumeParams named type. Parameter _this can not be null. It is a single object.

◆ MR_FillingSurface_TPMS_VolumeParams_StaticDowncastTo_MR_FillingSurface_TPMS_MeshParams()

MRC_API const MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_VolumeParams_StaticDowncastTo_MR_FillingSurface_TPMS_MeshParams ( const MR_FillingSurface_TPMS_VolumeParams * object)

Downcasts an instance of MR::FillingSurface::TPMS::VolumeParams to a derived class MR::FillingSurface::TPMS::MeshParams. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers.