MeshLib C Docs
Loading...
Searching...
No Matches
MRFillHoleNicely.h File Reference
#include <MRCMesh/MREnums.h>
#include <MRCMesh/MRId.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_FillHoleParams MR_FillHoleParams
typedef struct MR_StitchHolesParams MR_StitchHolesParams
typedef struct MR_std_function_bool_from_MR_EdgeId MR_std_function_bool_from_MR_EdgeId
typedef struct MR_std_function_void_from_MR_EdgeId_MR_EdgeId MR_std_function_void_from_MR_EdgeId_MR_EdgeId
typedef struct MR_SubdivideFillingSettings MR_SubdivideFillingSettings
typedef struct MR_SmoothFillingSettings MR_SmoothFillingSettings
typedef struct MR_OutAttributesFillingSettings MR_OutAttributesFillingSettings
typedef struct MR_FillHoleNicelySettings MR_FillHoleNicelySettings
typedef struct MR_StitchHolesNicelySettings MR_StitchHolesNicelySettings

Functions

MRC_API MR_UndirectedEdgeBitSet *const * MR_SubdivideFillingSettings_Get_notFlippable (const MR_SubdivideFillingSettings *_this)
MRC_API void MR_SubdivideFillingSettings_Set_notFlippable (MR_SubdivideFillingSettings *_this, MR_UndirectedEdgeBitSet *value)
MRC_API MR_UndirectedEdgeBitSet ** MR_SubdivideFillingSettings_GetMutable_notFlippable (MR_SubdivideFillingSettings *_this)
MRC_API const float * MR_SubdivideFillingSettings_Get_maxEdgeLen (const MR_SubdivideFillingSettings *_this)
MRC_API void MR_SubdivideFillingSettings_Set_maxEdgeLen (MR_SubdivideFillingSettings *_this, float value)
MRC_API float * MR_SubdivideFillingSettings_GetMutable_maxEdgeLen (MR_SubdivideFillingSettings *_this)
MRC_API const int * MR_SubdivideFillingSettings_Get_maxEdgeSplits (const MR_SubdivideFillingSettings *_this)
MRC_API void MR_SubdivideFillingSettings_Set_maxEdgeSplits (MR_SubdivideFillingSettings *_this, int value)
MRC_API int * MR_SubdivideFillingSettings_GetMutable_maxEdgeSplits (MR_SubdivideFillingSettings *_this)
MRC_API const float * MR_SubdivideFillingSettings_Get_maxAngleChangeAfterFlip (const MR_SubdivideFillingSettings *_this)
MRC_API void MR_SubdivideFillingSettings_Set_maxAngleChangeAfterFlip (MR_SubdivideFillingSettings *_this, float value)
MRC_API float * MR_SubdivideFillingSettings_GetMutable_maxAngleChangeAfterFlip (MR_SubdivideFillingSettings *_this)
MRC_API const MR_std_function_bool_from_MR_EdgeIdMR_SubdivideFillingSettings_Get_beforeEdgeSplit (const MR_SubdivideFillingSettings *_this)
MRC_API void MR_SubdivideFillingSettings_Set_beforeEdgeSplit (MR_SubdivideFillingSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_MR_EdgeId *value)
MRC_API MR_std_function_bool_from_MR_EdgeIdMR_SubdivideFillingSettings_GetMutable_beforeEdgeSplit (MR_SubdivideFillingSettings *_this)
MRC_API const MR_std_function_void_from_MR_EdgeId_MR_EdgeIdMR_SubdivideFillingSettings_Get_onEdgeSplit (const MR_SubdivideFillingSettings *_this)
MRC_API void MR_SubdivideFillingSettings_Set_onEdgeSplit (MR_SubdivideFillingSettings *_this, MR_PassBy value_pass_by, MR_std_function_void_from_MR_EdgeId_MR_EdgeId *value)
MRC_API MR_std_function_void_from_MR_EdgeId_MR_EdgeIdMR_SubdivideFillingSettings_GetMutable_onEdgeSplit (MR_SubdivideFillingSettings *_this)
MRC_API MR_SubdivideFillingSettingsMR_SubdivideFillingSettings_DefaultConstruct (void)
MRC_API MR_SubdivideFillingSettingsMR_SubdivideFillingSettings_DefaultConstructArray (size_t num_elems)
MRC_API MR_SubdivideFillingSettingsMR_SubdivideFillingSettings_ConstructFrom (MR_UndirectedEdgeBitSet *notFlippable, float maxEdgeLen, int maxEdgeSplits, float maxAngleChangeAfterFlip, MR_PassBy beforeEdgeSplit_pass_by, MR_std_function_bool_from_MR_EdgeId *beforeEdgeSplit, MR_PassBy onEdgeSplit_pass_by, MR_std_function_void_from_MR_EdgeId_MR_EdgeId *onEdgeSplit)
MRC_API const MR_SubdivideFillingSettingsMR_SubdivideFillingSettings_OffsetPtr (const MR_SubdivideFillingSettings *ptr, ptrdiff_t i)
MRC_API MR_SubdivideFillingSettingsMR_SubdivideFillingSettings_OffsetMutablePtr (MR_SubdivideFillingSettings *ptr, ptrdiff_t i)
MRC_API MR_SubdivideFillingSettingsMR_SubdivideFillingSettings_ConstructFromAnother (MR_PassBy _other_pass_by, MR_SubdivideFillingSettings *_other)
MRC_API void MR_SubdivideFillingSettings_Destroy (const MR_SubdivideFillingSettings *_this)
 Destroys a heap-allocated instance of MR_SubdivideFillingSettings. Does nothing if the pointer is null.
MRC_API void MR_SubdivideFillingSettings_DestroyArray (const MR_SubdivideFillingSettings *_this)
 Destroys a heap-allocated array of MR_SubdivideFillingSettings. Does nothing if the pointer is null.
MRC_API MR_SubdivideFillingSettingsMR_SubdivideFillingSettings_AssignFromAnother (MR_SubdivideFillingSettings *_this, MR_PassBy _other_pass_by, MR_SubdivideFillingSettings *_other)
MRC_API const bool * MR_SmoothFillingSettings_Get_naturalSmooth (const MR_SmoothFillingSettings *_this)
MRC_API void MR_SmoothFillingSettings_Set_naturalSmooth (MR_SmoothFillingSettings *_this, bool value)
MRC_API bool * MR_SmoothFillingSettings_GetMutable_naturalSmooth (MR_SmoothFillingSettings *_this)
MRC_API const MR_EdgeWeightsMR_SmoothFillingSettings_Get_edgeWeights (const MR_SmoothFillingSettings *_this)
MRC_API void MR_SmoothFillingSettings_Set_edgeWeights (MR_SmoothFillingSettings *_this, MR_EdgeWeights value)
MRC_API MR_EdgeWeightsMR_SmoothFillingSettings_GetMutable_edgeWeights (MR_SmoothFillingSettings *_this)
MRC_API const MR_VertexMassMR_SmoothFillingSettings_Get_vmass (const MR_SmoothFillingSettings *_this)
MRC_API void MR_SmoothFillingSettings_Set_vmass (MR_SmoothFillingSettings *_this, MR_VertexMass value)
MRC_API MR_VertexMassMR_SmoothFillingSettings_GetMutable_vmass (MR_SmoothFillingSettings *_this)
MRC_API MR_SmoothFillingSettingsMR_SmoothFillingSettings_DefaultConstruct (void)
MRC_API MR_SmoothFillingSettingsMR_SmoothFillingSettings_DefaultConstructArray (size_t num_elems)
MRC_API MR_SmoothFillingSettingsMR_SmoothFillingSettings_ConstructFrom (bool naturalSmooth, MR_EdgeWeights edgeWeights, MR_VertexMass vmass)
MRC_API const MR_SmoothFillingSettingsMR_SmoothFillingSettings_OffsetPtr (const MR_SmoothFillingSettings *ptr, ptrdiff_t i)
MRC_API MR_SmoothFillingSettingsMR_SmoothFillingSettings_OffsetMutablePtr (MR_SmoothFillingSettings *ptr, ptrdiff_t i)
MRC_API MR_SmoothFillingSettingsMR_SmoothFillingSettings_ConstructFromAnother (const MR_SmoothFillingSettings *_other)
MRC_API void MR_SmoothFillingSettings_Destroy (const MR_SmoothFillingSettings *_this)
 Destroys a heap-allocated instance of MR_SmoothFillingSettings. Does nothing if the pointer is null.
MRC_API void MR_SmoothFillingSettings_DestroyArray (const MR_SmoothFillingSettings *_this)
 Destroys a heap-allocated array of MR_SmoothFillingSettings. Does nothing if the pointer is null.
MRC_API MR_SmoothFillingSettingsMR_SmoothFillingSettings_AssignFromAnother (MR_SmoothFillingSettings *_this, const MR_SmoothFillingSettings *_other)
MRC_API MR_VertCoords2 *const * MR_OutAttributesFillingSettings_Get_uvCoords (const MR_OutAttributesFillingSettings *_this)
MRC_API void MR_OutAttributesFillingSettings_Set_uvCoords (MR_OutAttributesFillingSettings *_this, MR_VertCoords2 *value)
MRC_API MR_VertCoords2 ** MR_OutAttributesFillingSettings_GetMutable_uvCoords (MR_OutAttributesFillingSettings *_this)
MRC_API MR_VertColors *const * MR_OutAttributesFillingSettings_Get_colorMap (const MR_OutAttributesFillingSettings *_this)
MRC_API void MR_OutAttributesFillingSettings_Set_colorMap (MR_OutAttributesFillingSettings *_this, MR_VertColors *value)
MRC_API MR_VertColors ** MR_OutAttributesFillingSettings_GetMutable_colorMap (MR_OutAttributesFillingSettings *_this)
MRC_API MR_FaceColors *const * MR_OutAttributesFillingSettings_Get_faceColors (const MR_OutAttributesFillingSettings *_this)
MRC_API void MR_OutAttributesFillingSettings_Set_faceColors (MR_OutAttributesFillingSettings *_this, MR_FaceColors *value)
MRC_API MR_FaceColors ** MR_OutAttributesFillingSettings_GetMutable_faceColors (MR_OutAttributesFillingSettings *_this)
MRC_API MR_OutAttributesFillingSettingsMR_OutAttributesFillingSettings_DefaultConstruct (void)
MRC_API MR_OutAttributesFillingSettingsMR_OutAttributesFillingSettings_DefaultConstructArray (size_t num_elems)
MRC_API MR_OutAttributesFillingSettingsMR_OutAttributesFillingSettings_ConstructFrom (MR_VertCoords2 *uvCoords, MR_VertColors *colorMap, MR_FaceColors *faceColors)
MRC_API const MR_OutAttributesFillingSettingsMR_OutAttributesFillingSettings_OffsetPtr (const MR_OutAttributesFillingSettings *ptr, ptrdiff_t i)
MRC_API MR_OutAttributesFillingSettingsMR_OutAttributesFillingSettings_OffsetMutablePtr (MR_OutAttributesFillingSettings *ptr, ptrdiff_t i)
MRC_API MR_OutAttributesFillingSettingsMR_OutAttributesFillingSettings_ConstructFromAnother (const MR_OutAttributesFillingSettings *_other)
MRC_API void MR_OutAttributesFillingSettings_Destroy (const MR_OutAttributesFillingSettings *_this)
 Destroys a heap-allocated instance of MR_OutAttributesFillingSettings. Does nothing if the pointer is null.
MRC_API void MR_OutAttributesFillingSettings_DestroyArray (const MR_OutAttributesFillingSettings *_this)
 Destroys a heap-allocated array of MR_OutAttributesFillingSettings. Does nothing if the pointer is null.
MRC_API MR_OutAttributesFillingSettingsMR_OutAttributesFillingSettings_AssignFromAnother (MR_OutAttributesFillingSettings *_this, const MR_OutAttributesFillingSettings *_other)
MRC_API const MR_FillHoleParamsMR_FillHoleNicelySettings_Get_triangulateParams (const MR_FillHoleNicelySettings *_this)
MRC_API void MR_FillHoleNicelySettings_Set_triangulateParams (MR_FillHoleNicelySettings *_this, MR_PassBy value_pass_by, MR_FillHoleParams *value)
MRC_API MR_FillHoleParamsMR_FillHoleNicelySettings_GetMutable_triangulateParams (MR_FillHoleNicelySettings *_this)
MRC_API const bool * MR_FillHoleNicelySettings_Get_triangulateOnly (const MR_FillHoleNicelySettings *_this)
MRC_API void MR_FillHoleNicelySettings_Set_triangulateOnly (MR_FillHoleNicelySettings *_this, bool value)
MRC_API bool * MR_FillHoleNicelySettings_GetMutable_triangulateOnly (MR_FillHoleNicelySettings *_this)
MRC_API const MR_SubdivideFillingSettingsMR_FillHoleNicelySettings_Get_subdivideSettings (const MR_FillHoleNicelySettings *_this)
MRC_API void MR_FillHoleNicelySettings_Set_subdivideSettings (MR_FillHoleNicelySettings *_this, MR_PassBy value_pass_by, MR_SubdivideFillingSettings *value)
MRC_API MR_SubdivideFillingSettingsMR_FillHoleNicelySettings_GetMutable_subdivideSettings (MR_FillHoleNicelySettings *_this)
MRC_API const bool * MR_FillHoleNicelySettings_Get_smoothCurvature (const MR_FillHoleNicelySettings *_this)
MRC_API void MR_FillHoleNicelySettings_Set_smoothCurvature (MR_FillHoleNicelySettings *_this, bool value)
MRC_API bool * MR_FillHoleNicelySettings_GetMutable_smoothCurvature (MR_FillHoleNicelySettings *_this)
MRC_API void MR_FillHoleNicelySettings_Set_smoothSeettings (MR_FillHoleNicelySettings *_this, const MR_SmoothFillingSettings *value)
MRC_API const MR_SmoothFillingSettingsMR_StitchHolesNicelySettings_Get_smoothSeettings (const MR_StitchHolesNicelySettings *_this)
MRC_API MR_SmoothFillingSettingsMR_StitchHolesNicelySettings_GetMutable_smoothSeettings (MR_StitchHolesNicelySettings *_this)
MRC_API const MR_OutAttributesFillingSettingsMR_StitchHolesNicelySettings_Get_outAttributes (const MR_StitchHolesNicelySettings *_this)
MRC_API void MR_StitchHolesNicelySettings_Set_outAttributes (MR_StitchHolesNicelySettings *_this, const MR_OutAttributesFillingSettings *value)
MRC_API MR_OutAttributesFillingSettingsMR_StitchHolesNicelySettings_GetMutable_outAttributes (MR_StitchHolesNicelySettings *_this)
MRC_API MR_StitchHolesNicelySettingsMR_StitchHolesNicelySettings_DefaultConstruct (void)
MRC_API MR_StitchHolesNicelySettingsMR_StitchHolesNicelySettings_DefaultConstructArray (size_t num_elems)
MRC_API MR_StitchHolesNicelySettingsMR_StitchHolesNicelySettings_ConstructFrom (MR_PassBy triangulateParams_pass_by, MR_StitchHolesParams *triangulateParams, bool triangulateOnly, MR_PassBy subdivideSettings_pass_by, MR_SubdivideFillingSettings *subdivideSettings, bool smoothCurvature, const MR_SmoothFillingSettings *smoothSeettings, const MR_OutAttributesFillingSettings *outAttributes)
MRC_API const MR_StitchHolesNicelySettingsMR_StitchHolesNicelySettings_OffsetPtr (const MR_StitchHolesNicelySettings *ptr, ptrdiff_t i)
MRC_API MR_StitchHolesNicelySettingsMR_StitchHolesNicelySettings_OffsetMutablePtr (MR_StitchHolesNicelySettings *ptr, ptrdiff_t i)
MRC_API MR_StitchHolesNicelySettingsMR_StitchHolesNicelySettings_ConstructFromAnother (MR_PassBy _other_pass_by, MR_StitchHolesNicelySettings *_other)
MRC_API void MR_StitchHolesNicelySettings_Destroy (const MR_StitchHolesNicelySettings *_this)
 Destroys a heap-allocated instance of MR_StitchHolesNicelySettings. Does nothing if the pointer is null.
MRC_API void MR_StitchHolesNicelySettings_DestroyArray (const MR_StitchHolesNicelySettings *_this)
 Destroys a heap-allocated array of MR_StitchHolesNicelySettings. Does nothing if the pointer is null.
MRC_API MR_StitchHolesNicelySettingsMR_StitchHolesNicelySettings_AssignFromAnother (MR_StitchHolesNicelySettings *_this, MR_PassBy _other_pass_by, MR_StitchHolesNicelySettings *_other)
MRC_API MR_FaceBitSetMR_stitchHolesNicely (MR_Mesh *mesh, MR_EdgeId hole0Edge, MR_EdgeId hole1Edge, const MR_StitchHolesNicelySettings *settings)

Typedef Documentation

◆ MR_FillHoleNicelySettings

Generated from class MR::FillHoleNicelySettings. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_FillHoleParams

Generated from class MR::FillHoleParams. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_OutAttributesFillingSettings

Generated from class MR::OutAttributesFillingSettings. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_SmoothFillingSettings

Generated from class MR::SmoothFillingSettings. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_std_function_bool_from_MR_EdgeId

Stores a functor of type: bool(MR::EdgeId). Possibly stateful. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_std_function_void_from_MR_EdgeId_MR_EdgeId

Stores a functor of type: void(MR::EdgeId, MR::EdgeId). Possibly stateful. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_StitchHolesNicelySettings

Generated from class MR::StitchHolesNicelySettings. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_StitchHolesParams

Generated from class MR::StitchHolesParams. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_SubdivideFillingSettings

Generated from class MR::SubdivideFillingSettings. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_FillHoleNicelySettings_Get_smoothCurvature()

MRC_API const bool * MR_FillHoleNicelySettings_Get_smoothCurvature ( const MR_FillHoleNicelySettings * _this)

Whether to make patch over the hole smooth both inside and on its boundary with existed surface Returns a pointer to a member variable of class MR::FillHoleNicelySettings named smoothCurvature. 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. The reference to this object might be preserved as the return value.

◆ MR_FillHoleNicelySettings_Get_subdivideSettings()

MRC_API const MR_SubdivideFillingSettings * MR_FillHoleNicelySettings_Get_subdivideSettings ( const MR_FillHoleNicelySettings * _this)

if triangulateOnly is false - this settings are used to subdivide new filling Returns a pointer to a member variable of class MR::FillHoleNicelySettings named subdivideSettings. 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. The reference to this object might be preserved as the return value.

◆ MR_FillHoleNicelySettings_Get_triangulateOnly()

MRC_API const bool * MR_FillHoleNicelySettings_Get_triangulateOnly ( const MR_FillHoleNicelySettings * _this)

If false then additional vertices are created inside the patch for best mesh quality Returns a pointer to a member variable of class MR::FillHoleNicelySettings named triangulateOnly. 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. The reference to this object might be preserved as the return value.

◆ MR_FillHoleNicelySettings_Get_triangulateParams()

MRC_API const MR_FillHoleParams * MR_FillHoleNicelySettings_Get_triangulateParams ( const MR_FillHoleNicelySettings * _this)

how to triangulate the hole, must be specified by the user Returns a pointer to a member variable of class MR::FillHoleNicelySettings named triangulateParams. 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. The reference to this object might be preserved as the return value.

◆ MR_FillHoleNicelySettings_GetMutable_smoothCurvature()

MRC_API bool * MR_FillHoleNicelySettings_GetMutable_smoothCurvature ( MR_FillHoleNicelySettings * _this)

Whether to make patch over the hole smooth both inside and on its boundary with existed surface Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named smoothCurvature. 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. The reference to this object might be preserved as the return value.

◆ MR_FillHoleNicelySettings_GetMutable_subdivideSettings()

MRC_API MR_SubdivideFillingSettings * MR_FillHoleNicelySettings_GetMutable_subdivideSettings ( MR_FillHoleNicelySettings * _this)

if triangulateOnly is false - this settings are used to subdivide new filling Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named subdivideSettings. 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. The reference to this object might be preserved as the return value.

◆ MR_FillHoleNicelySettings_GetMutable_triangulateOnly()

MRC_API bool * MR_FillHoleNicelySettings_GetMutable_triangulateOnly ( MR_FillHoleNicelySettings * _this)

If false then additional vertices are created inside the patch for best mesh quality Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named triangulateOnly. 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. The reference to this object might be preserved as the return value.

◆ MR_FillHoleNicelySettings_GetMutable_triangulateParams()

MRC_API MR_FillHoleParams * MR_FillHoleNicelySettings_GetMutable_triangulateParams ( MR_FillHoleNicelySettings * _this)

how to triangulate the hole, must be specified by the user Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named triangulateParams. 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. The reference to this object might be preserved as the return value.

◆ MR_FillHoleNicelySettings_Set_smoothCurvature()

MRC_API void MR_FillHoleNicelySettings_Set_smoothCurvature ( MR_FillHoleNicelySettings * _this,
bool value )

Whether to make patch over the hole smooth both inside and on its boundary with existed surface Modifies a member variable of class MR::FillHoleNicelySettings named smoothCurvature. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in smoothCurvature.

◆ MR_FillHoleNicelySettings_Set_smoothSeettings()

MRC_API void MR_FillHoleNicelySettings_Set_smoothSeettings ( MR_FillHoleNicelySettings * _this,
const MR_SmoothFillingSettings * value )

if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling / Returns a pointer to a member variable of class MR::FillHoleNicelySettings named smoothSeettings. / 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. / The reference to this object might be preserved as the return value. MRC_API const MR_SmoothFillingSettings *MR_FillHoleNicelySettings_Get_smoothSeettings(const MR_FillHoleNicelySettings *_this);

/ if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling Modifies a member variable of class MR::FillHoleNicelySettings named smoothSeettings. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element smoothSeettings. When this function is called, this object will drop object references it held previously in smoothSeettings`.

◆ MR_FillHoleNicelySettings_Set_subdivideSettings()

MRC_API void MR_FillHoleNicelySettings_Set_subdivideSettings ( MR_FillHoleNicelySettings * _this,
MR_PassBy value_pass_by,
MR_SubdivideFillingSettings * value )

if triangulateOnly is false - this settings are used to subdivide new filling Modifies a member variable of class MR::FillHoleNicelySettings named subdivideSettings. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element subdivideSettings. When this function is called, this object will drop object references it held previously in subdivideSettings.

◆ MR_FillHoleNicelySettings_Set_triangulateOnly()

MRC_API void MR_FillHoleNicelySettings_Set_triangulateOnly ( MR_FillHoleNicelySettings * _this,
bool value )

If false then additional vertices are created inside the patch for best mesh quality Modifies a member variable of class MR::FillHoleNicelySettings named triangulateOnly. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in triangulateOnly.

◆ MR_FillHoleNicelySettings_Set_triangulateParams()

MRC_API void MR_FillHoleNicelySettings_Set_triangulateParams ( MR_FillHoleNicelySettings * _this,
MR_PassBy value_pass_by,
MR_FillHoleParams * value )

how to triangulate the hole, must be specified by the user Modifies a member variable of class MR::FillHoleNicelySettings named triangulateParams. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element triangulateParams. When this function is called, this object will drop object references it held previously in triangulateParams.

◆ MR_OutAttributesFillingSettings_AssignFromAnother()

MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_AssignFromAnother ( MR_OutAttributesFillingSettings * _this,
const MR_OutAttributesFillingSettings * _other )

Generated from method MR::OutAttributesFillingSettings::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_OutAttributesFillingSettings_ConstructFrom()

MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_ConstructFrom ( MR_VertCoords2 * uvCoords,
MR_VertColors * colorMap,
MR_FaceColors * faceColors )

Constructs MR::OutAttributesFillingSettings elementwise. The reference to the parameter uvCoords might be preserved in the constructed object. The reference to the parameter colorMap might be preserved in the constructed object. The reference to the parameter faceColors might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_OutAttributesFillingSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_OutAttributesFillingSettings_ConstructFromAnother()

MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_ConstructFromAnother ( const MR_OutAttributesFillingSettings * _other)

Generated from constructor MR::OutAttributesFillingSettings::OutAttributesFillingSettings. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_OutAttributesFillingSettings_Destroy() to free it when you're done using it.

◆ MR_OutAttributesFillingSettings_DefaultConstruct()

MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_DefaultConstruct ( void )

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

◆ MR_OutAttributesFillingSettings_DefaultConstructArray()

MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_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_OutAttributesFillingSettings_DestroyArray(). Use MR_OutAttributesFillingSettings_OffsetMutablePtr() and MR_OutAttributesFillingSettings_OffsetPtr() to access the array elements.

◆ MR_OutAttributesFillingSettings_Destroy()

MRC_API void MR_OutAttributesFillingSettings_Destroy ( const MR_OutAttributesFillingSettings * _this)

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

◆ MR_OutAttributesFillingSettings_DestroyArray()

MRC_API void MR_OutAttributesFillingSettings_DestroyArray ( const MR_OutAttributesFillingSettings * _this)

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

◆ MR_OutAttributesFillingSettings_Get_colorMap()

MRC_API MR_VertColors *const * MR_OutAttributesFillingSettings_Get_colorMap ( const MR_OutAttributesFillingSettings * _this)

optional colors of vertices; if provided then elements corresponding to new vertices will be added there Returns a pointer to a member variable of class MR::OutAttributesFillingSettings named colorMap. 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. The reference to this object might be preserved as the return value.

◆ MR_OutAttributesFillingSettings_Get_faceColors()

MRC_API MR_FaceColors *const * MR_OutAttributesFillingSettings_Get_faceColors ( const MR_OutAttributesFillingSettings * _this)

optional colors of faces; if provided then elements corresponding to new faces will be added there Returns a pointer to a member variable of class MR::OutAttributesFillingSettings named faceColors. 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. The reference to this object might be preserved as the return value.

◆ MR_OutAttributesFillingSettings_Get_uvCoords()

MRC_API MR_VertCoords2 *const * MR_OutAttributesFillingSettings_Get_uvCoords ( const MR_OutAttributesFillingSettings * _this)

optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be added there Returns a pointer to a member variable of class MR::OutAttributesFillingSettings named uvCoords. 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. The reference to this object might be preserved as the return value.

◆ MR_OutAttributesFillingSettings_GetMutable_colorMap()

MRC_API MR_VertColors ** MR_OutAttributesFillingSettings_GetMutable_colorMap ( MR_OutAttributesFillingSettings * _this)

optional colors of vertices; if provided then elements corresponding to new vertices will be added there Returns a mutable pointer to a member variable of class MR::OutAttributesFillingSettings named colorMap. 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. The reference to this object might be preserved as the return value.

◆ MR_OutAttributesFillingSettings_GetMutable_faceColors()

MRC_API MR_FaceColors ** MR_OutAttributesFillingSettings_GetMutable_faceColors ( MR_OutAttributesFillingSettings * _this)

optional colors of faces; if provided then elements corresponding to new faces will be added there Returns a mutable pointer to a member variable of class MR::OutAttributesFillingSettings named faceColors. 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. The reference to this object might be preserved as the return value.

◆ MR_OutAttributesFillingSettings_GetMutable_uvCoords()

MRC_API MR_VertCoords2 ** MR_OutAttributesFillingSettings_GetMutable_uvCoords ( MR_OutAttributesFillingSettings * _this)

optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be added there Returns a mutable pointer to a member variable of class MR::OutAttributesFillingSettings named uvCoords. 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. The reference to this object might be preserved as the return value.

◆ MR_OutAttributesFillingSettings_OffsetMutablePtr()

MRC_API MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_OffsetMutablePtr ( MR_OutAttributesFillingSettings * 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. The reference to the parameter ptr might be preserved in the return value.

◆ MR_OutAttributesFillingSettings_OffsetPtr()

MRC_API const MR_OutAttributesFillingSettings * MR_OutAttributesFillingSettings_OffsetPtr ( const MR_OutAttributesFillingSettings * 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. The reference to the parameter ptr might be preserved in the return value.

◆ MR_OutAttributesFillingSettings_Set_colorMap()

MRC_API void MR_OutAttributesFillingSettings_Set_colorMap ( MR_OutAttributesFillingSettings * _this,
MR_VertColors * value )

optional colors of vertices; if provided then elements corresponding to new vertices will be added there Modifies a member variable of class MR::OutAttributesFillingSettings named colorMap. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element colorMap. When this function is called, this object will drop object references it held previously in colorMap.

◆ MR_OutAttributesFillingSettings_Set_faceColors()

MRC_API void MR_OutAttributesFillingSettings_Set_faceColors ( MR_OutAttributesFillingSettings * _this,
MR_FaceColors * value )

optional colors of faces; if provided then elements corresponding to new faces will be added there Modifies a member variable of class MR::OutAttributesFillingSettings named faceColors. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element faceColors. When this function is called, this object will drop object references it held previously in faceColors.

◆ MR_OutAttributesFillingSettings_Set_uvCoords()

MRC_API void MR_OutAttributesFillingSettings_Set_uvCoords ( MR_OutAttributesFillingSettings * _this,
MR_VertCoords2 * value )

optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be added there Modifies a member variable of class MR::OutAttributesFillingSettings named uvCoords. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element uvCoords. When this function is called, this object will drop object references it held previously in uvCoords.

◆ MR_SmoothFillingSettings_AssignFromAnother()

MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_AssignFromAnother ( MR_SmoothFillingSettings * _this,
const MR_SmoothFillingSettings * _other )

Generated from method MR::SmoothFillingSettings::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_SmoothFillingSettings_ConstructFrom()

MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_ConstructFrom ( bool naturalSmooth,
MR_EdgeWeights edgeWeights,
MR_VertexMass vmass )

Constructs MR::SmoothFillingSettings elementwise. The reference to the parameter edgeWeights might be preserved in the constructed object. The reference to the parameter vmass might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SmoothFillingSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_SmoothFillingSettings_ConstructFromAnother()

MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_ConstructFromAnother ( const MR_SmoothFillingSettings * _other)

Generated from constructor MR::SmoothFillingSettings::SmoothFillingSettings. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SmoothFillingSettings_Destroy() to free it when you're done using it.

◆ MR_SmoothFillingSettings_DefaultConstruct()

MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_DefaultConstruct ( void )

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

◆ MR_SmoothFillingSettings_DefaultConstructArray()

MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_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_SmoothFillingSettings_DestroyArray(). Use MR_SmoothFillingSettings_OffsetMutablePtr() and MR_SmoothFillingSettings_OffsetPtr() to access the array elements.

◆ MR_SmoothFillingSettings_Destroy()

MRC_API void MR_SmoothFillingSettings_Destroy ( const MR_SmoothFillingSettings * _this)

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

◆ MR_SmoothFillingSettings_DestroyArray()

MRC_API void MR_SmoothFillingSettings_DestroyArray ( const MR_SmoothFillingSettings * _this)

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

◆ MR_SmoothFillingSettings_Get_edgeWeights()

MRC_API const MR_EdgeWeights * MR_SmoothFillingSettings_Get_edgeWeights ( const MR_SmoothFillingSettings * _this)

edge weighting scheme for smoothCurvature mode Returns a pointer to a member variable of class MR::SmoothFillingSettings named edgeWeights. 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. The reference to this object might be preserved as the return value.

◆ MR_SmoothFillingSettings_Get_naturalSmooth()

MRC_API const bool * MR_SmoothFillingSettings_Get_naturalSmooth ( const MR_SmoothFillingSettings * _this)

Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole Returns a pointer to a member variable of class MR::SmoothFillingSettings named naturalSmooth. 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. The reference to this object might be preserved as the return value.

◆ MR_SmoothFillingSettings_Get_vmass()

MRC_API const MR_VertexMass * MR_SmoothFillingSettings_Get_vmass ( const MR_SmoothFillingSettings * _this)

vertex mass scheme for smoothCurvature mode Returns a pointer to a member variable of class MR::SmoothFillingSettings named vmass. 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. The reference to this object might be preserved as the return value.

◆ MR_SmoothFillingSettings_GetMutable_edgeWeights()

MRC_API MR_EdgeWeights * MR_SmoothFillingSettings_GetMutable_edgeWeights ( MR_SmoothFillingSettings * _this)

edge weighting scheme for smoothCurvature mode Returns a mutable pointer to a member variable of class MR::SmoothFillingSettings named edgeWeights. 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. The reference to this object might be preserved as the return value.

◆ MR_SmoothFillingSettings_GetMutable_naturalSmooth()

MRC_API bool * MR_SmoothFillingSettings_GetMutable_naturalSmooth ( MR_SmoothFillingSettings * _this)

Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole Returns a mutable pointer to a member variable of class MR::SmoothFillingSettings named naturalSmooth. 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. The reference to this object might be preserved as the return value.

◆ MR_SmoothFillingSettings_GetMutable_vmass()

MRC_API MR_VertexMass * MR_SmoothFillingSettings_GetMutable_vmass ( MR_SmoothFillingSettings * _this)

vertex mass scheme for smoothCurvature mode Returns a mutable pointer to a member variable of class MR::SmoothFillingSettings named vmass. 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. The reference to this object might be preserved as the return value.

◆ MR_SmoothFillingSettings_OffsetMutablePtr()

MRC_API MR_SmoothFillingSettings * MR_SmoothFillingSettings_OffsetMutablePtr ( MR_SmoothFillingSettings * 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. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SmoothFillingSettings_OffsetPtr()

MRC_API const MR_SmoothFillingSettings * MR_SmoothFillingSettings_OffsetPtr ( const MR_SmoothFillingSettings * 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. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SmoothFillingSettings_Set_edgeWeights()

MRC_API void MR_SmoothFillingSettings_Set_edgeWeights ( MR_SmoothFillingSettings * _this,
MR_EdgeWeights value )

edge weighting scheme for smoothCurvature mode Modifies a member variable of class MR::SmoothFillingSettings named edgeWeights. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element edgeWeights. When this function is called, this object will drop object references it held previously in edgeWeights.

◆ MR_SmoothFillingSettings_Set_naturalSmooth()

MRC_API void MR_SmoothFillingSettings_Set_naturalSmooth ( MR_SmoothFillingSettings * _this,
bool value )

Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole Modifies a member variable of class MR::SmoothFillingSettings named naturalSmooth. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in naturalSmooth.

◆ MR_SmoothFillingSettings_Set_vmass()

MRC_API void MR_SmoothFillingSettings_Set_vmass ( MR_SmoothFillingSettings * _this,
MR_VertexMass value )

vertex mass scheme for smoothCurvature mode Modifies a member variable of class MR::SmoothFillingSettings named vmass. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element vmass. When this function is called, this object will drop object references it held previously in vmass.

◆ MR_stitchHolesNicely()

MRC_API MR_FaceBitSet * MR_stitchHolesNicely ( MR_Mesh * mesh,
MR_EdgeId hole0Edge,
MR_EdgeId hole1Edge,
const MR_StitchHolesNicelySettings * settings )

stitches two holes building cylinder between them, each hole is specified by one of its edge, optionally subdivides new patch on smaller triangles, optionally make smooth connection with existing triangles outside the hole

Returns
triangles of the patch Generated from function MR::stitchHolesNicely. Parameter mesh can not be null. It is a single object. Parameter settings can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FaceBitSet_Destroy() to free it when you're done using it.

◆ MR_StitchHolesNicelySettings_AssignFromAnother()

MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_AssignFromAnother ( MR_StitchHolesNicelySettings * _this,
MR_PassBy _other_pass_by,
MR_StitchHolesNicelySettings * _other )

Generated from method MR::StitchHolesNicelySettings::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_StitchHolesNicelySettings_ConstructFrom()

MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_ConstructFrom ( MR_PassBy triangulateParams_pass_by,
MR_StitchHolesParams * triangulateParams,
bool triangulateOnly,
MR_PassBy subdivideSettings_pass_by,
MR_SubdivideFillingSettings * subdivideSettings,
bool smoothCurvature,
const MR_SmoothFillingSettings * smoothSeettings,
const MR_OutAttributesFillingSettings * outAttributes )

Constructs MR::StitchHolesNicelySettings elementwise. The reference to the parameter triangulateParams might be preserved in the constructed object. The reference to the parameter subdivideSettings might be preserved in the constructed object. Parameter smoothSeettings can not be null. It is a single object. The reference to the parameter smoothSeettings might be preserved in the constructed object. Parameter outAttributes can not be null. It is a single object. The reference to the parameter outAttributes might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_StitchHolesNicelySettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_StitchHolesNicelySettings_ConstructFromAnother()

MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_StitchHolesNicelySettings * _other )

Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_StitchHolesNicelySettings_Destroy() to free it when you're done using it.

◆ MR_StitchHolesNicelySettings_DefaultConstruct()

MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_DefaultConstruct ( void )

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

◆ MR_StitchHolesNicelySettings_DefaultConstructArray()

MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_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_StitchHolesNicelySettings_DestroyArray(). Use MR_StitchHolesNicelySettings_OffsetMutablePtr() and MR_StitchHolesNicelySettings_OffsetPtr() to access the array elements.

◆ MR_StitchHolesNicelySettings_Destroy()

MRC_API void MR_StitchHolesNicelySettings_Destroy ( const MR_StitchHolesNicelySettings * _this)

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

◆ MR_StitchHolesNicelySettings_DestroyArray()

MRC_API void MR_StitchHolesNicelySettings_DestroyArray ( const MR_StitchHolesNicelySettings * _this)

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

◆ MR_StitchHolesNicelySettings_Get_outAttributes()

MRC_API const MR_OutAttributesFillingSettings * MR_StitchHolesNicelySettings_Get_outAttributes ( const MR_StitchHolesNicelySettings * _this)

structure with optional output attributes Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named outAttributes. 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. The reference to this object might be preserved as the return value.

◆ MR_StitchHolesNicelySettings_Get_smoothSeettings()

MRC_API const MR_SmoothFillingSettings * MR_StitchHolesNicelySettings_Get_smoothSeettings ( const MR_StitchHolesNicelySettings * _this)

if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling / Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named smoothSeettings. / 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. / The reference to this object might be preserved as the return value. MRC_API MR_SmoothFillingSettings *MR_FillHoleNicelySettings_GetMutable_smoothSeettings(MR_FillHoleNicelySettings *_this);

/ structure with optional output attributes / Returns a pointer to a member variable of class MR::FillHoleNicelySettings named outAttributes. / 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. / The reference to this object might be preserved as the return value. MRC_API const MR_OutAttributesFillingSettings *MR_FillHoleNicelySettings_Get_outAttributes(const MR_FillHoleNicelySettings *_this);

/ structure with optional output attributes / Modifies a member variable of class MR::FillHoleNicelySettings named outAttributes. / Parameter _this can not be null. It is a single object. / Parameter value can not be null. It is a single object. / The reference to the parameter value might be preserved in this object in element outAttributes. / When this function is called, this object will drop object references it held previously in outAttributes. MRC_API void MR_FillHoleNicelySettings_Set_outAttributes(MR_FillHoleNicelySettings *_this, const MR_OutAttributesFillingSettings *value);

/ structure with optional output attributes / Returns a mutable pointer to a member variable of class MR::FillHoleNicelySettings named outAttributes. / 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. / The reference to this object might be preserved as the return value. MRC_API MR_OutAttributesFillingSettings *MR_FillHoleNicelySettings_GetMutable_outAttributes(MR_FillHoleNicelySettings *_this);

/ Constructs an empty (default-constructed) instance. / Never returns null. Returns an instance allocated on the heap! Must call MR_FillHoleNicelySettings_Destroy() to free it when you're done using it. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_DefaultConstruct(void);

/ Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. / The array must be destroyed using MR_FillHoleNicelySettings_DestroyArray(). / Use MR_FillHoleNicelySettings_OffsetMutablePtr() and MR_FillHoleNicelySettings_OffsetPtr() to access the array elements. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_DefaultConstructArray(size_t num_elems);

/ Constructs MR::FillHoleNicelySettings elementwise. / The reference to the parameter triangulateParams might be preserved in the constructed object. / The reference to the parameter subdivideSettings might be preserved in the constructed object. / Parameter smoothSeettings can not be null. It is a single object. / The reference to the parameter smoothSeettings might be preserved in the constructed object. / Parameter outAttributes can not be null. It is a single object. / The reference to the parameter outAttributes might be preserved in the constructed object. / Never returns null. Returns an instance allocated on the heap! Must call MR_FillHoleNicelySettings_Destroy() to free it when you're done using it. / When this function is called, this object will drop any object references it held previously. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_ConstructFrom(MR_PassBy triangulateParams_pass_by, MR_FillHoleParams *triangulateParams, bool triangulateOnly, MR_PassBy subdivideSettings_pass_by, MR_SubdivideFillingSettings *subdivideSettings, bool smoothCurvature, const MR_SmoothFillingSettings *smoothSeettings, const MR_OutAttributesFillingSettings *outAttributes);

/ 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. / The reference to the parameter ptr might be preserved in the return value. MRC_API const MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_OffsetPtr(const MR_FillHoleNicelySettings *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. / The reference to the parameter ptr might be preserved in the return value. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_OffsetMutablePtr(MR_FillHoleNicelySettings *ptr, ptrdiff_t i);

/ Generated from constructor MR::FillHoleNicelySettings::FillHoleNicelySettings. / The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. / Never returns null. Returns an instance allocated on the heap! Must call MR_FillHoleNicelySettings_Destroy() to free it when you're done using it. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_FillHoleNicelySettings *_other);

/ Destroys a heap-allocated instance of MR_FillHoleNicelySettings. Does nothing if the pointer is null. MRC_API void MR_FillHoleNicelySettings_Destroy(const MR_FillHoleNicelySettings *_this);

/ Destroys a heap-allocated array of MR_FillHoleNicelySettings. Does nothing if the pointer is null. MRC_API void MR_FillHoleNicelySettings_DestroyArray(const MR_FillHoleNicelySettings *_this);

/ Generated from method MR::FillHoleNicelySettings::operator=. / Parameter _this can not be null. It is a single object. / The reference to things referred to by the parameter _other (if any) might be preserved in this object. / The returned pointer will never be null. It is non-owning, do NOT destroy it. / When this function is called, this object will drop any object references it held previously. MRC_API MR_FillHoleNicelySettings *MR_FillHoleNicelySettings_AssignFromAnother(MR_FillHoleNicelySettings *_this, MR_PassBy _other_pass_by, MR_FillHoleNicelySettings *_other);

/ fills a hole in mesh specified by one of its edge, / optionally subdivides new patch on smaller triangles, / optionally make smooth connection with existing triangles outside the hole /

Returns
triangles of the patch / Generated from function MR::fillHoleNicely. / Parameter mesh can not be null. It is a single object. / Parameter settings can not be null. It is a single object. / Never returns null. Returns an instance allocated on the heap! Must call MR_FaceBitSet_Destroy() to free it when you're done using it. MRC_API MR_FaceBitSet *MR_fillHoleNicely(MR_Mesh *mesh, MR_EdgeId holeEdge, const MR_FillHoleNicelySettings *settings);

/ how to triangulate the cylinder between holes, must be specified by the user / Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named triangulateParams. / 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. / The reference to this object might be preserved as the return value. MRC_API const MR_StitchHolesParams *MR_StitchHolesNicelySettings_Get_triangulateParams(const MR_StitchHolesNicelySettings *_this);

/ how to triangulate the cylinder between holes, must be specified by the user / Modifies a member variable of class MR::StitchHolesNicelySettings named triangulateParams. / Parameter _this can not be null. It is a single object. / The reference to the parameter value might be preserved in this object in element triangulateParams. / When this function is called, this object will drop object references it held previously in triangulateParams. MRC_API void MR_StitchHolesNicelySettings_Set_triangulateParams(MR_StitchHolesNicelySettings *_this, MR_PassBy value_pass_by, MR_StitchHolesParams *value);

/ how to triangulate the cylinder between holes, must be specified by the user / Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named triangulateParams. / 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. / The reference to this object might be preserved as the return value. MRC_API MR_StitchHolesParams *MR_StitchHolesNicelySettings_GetMutable_triangulateParams(MR_StitchHolesNicelySettings *_this);

/ If false then additional vertices are created inside the patch for best mesh quality / Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named triangulateOnly. / 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. / The reference to this object might be preserved as the return value. MRC_API const bool *MR_StitchHolesNicelySettings_Get_triangulateOnly(const MR_StitchHolesNicelySettings *_this);

/ If false then additional vertices are created inside the patch for best mesh quality / Modifies a member variable of class MR::StitchHolesNicelySettings named triangulateOnly. / Parameter _this can not be null. It is a single object. / When this function is called, this object will drop object references it held previously in triangulateOnly. MRC_API void MR_StitchHolesNicelySettings_Set_triangulateOnly(MR_StitchHolesNicelySettings *_this, bool value);

/ If false then additional vertices are created inside the patch for best mesh quality / Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named triangulateOnly. / 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. / The reference to this object might be preserved as the return value. MRC_API bool *MR_StitchHolesNicelySettings_GetMutable_triangulateOnly(MR_StitchHolesNicelySettings *_this);

/ if triangulateOnly is false - this settings are used to subdivide new filling / Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named subdivideSettings. / 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. / The reference to this object might be preserved as the return value. MRC_API const MR_SubdivideFillingSettings *MR_StitchHolesNicelySettings_Get_subdivideSettings(const MR_StitchHolesNicelySettings *_this);

/ if triangulateOnly is false - this settings are used to subdivide new filling / Modifies a member variable of class MR::StitchHolesNicelySettings named subdivideSettings. / Parameter _this can not be null. It is a single object. / The reference to the parameter value might be preserved in this object in element subdivideSettings. / When this function is called, this object will drop object references it held previously in subdivideSettings. MRC_API void MR_StitchHolesNicelySettings_Set_subdivideSettings(MR_StitchHolesNicelySettings *_this, MR_PassBy value_pass_by, MR_SubdivideFillingSettings *value);

/ if triangulateOnly is false - this settings are used to subdivide new filling / Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named subdivideSettings. / 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. / The reference to this object might be preserved as the return value. MRC_API MR_SubdivideFillingSettings *MR_StitchHolesNicelySettings_GetMutable_subdivideSettings(MR_StitchHolesNicelySettings *_this);

/ Whether to make patch over the hole smooth both inside and on its boundary with existed surface / Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named smoothCurvature. / 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. / The reference to this object might be preserved as the return value. MRC_API const bool *MR_StitchHolesNicelySettings_Get_smoothCurvature(const MR_StitchHolesNicelySettings *_this);

/ Whether to make patch over the hole smooth both inside and on its boundary with existed surface / Modifies a member variable of class MR::StitchHolesNicelySettings named smoothCurvature. / Parameter _this can not be null. It is a single object. / When this function is called, this object will drop object references it held previously in smoothCurvature. MRC_API void MR_StitchHolesNicelySettings_Set_smoothCurvature(MR_StitchHolesNicelySettings *_this, bool value);

/ Whether to make patch over the hole smooth both inside and on its boundary with existed surface / Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named smoothCurvature. / 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. / The reference to this object might be preserved as the return value. MRC_API bool *MR_StitchHolesNicelySettings_GetMutable_smoothCurvature(MR_StitchHolesNicelySettings *_this);

/ if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling Returns a pointer to a member variable of class MR::StitchHolesNicelySettings named smoothSeettings. 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. The reference to this object might be preserved as the return value.

◆ MR_StitchHolesNicelySettings_GetMutable_outAttributes()

MRC_API MR_OutAttributesFillingSettings * MR_StitchHolesNicelySettings_GetMutable_outAttributes ( MR_StitchHolesNicelySettings * _this)

structure with optional output attributes Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named outAttributes. 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. The reference to this object might be preserved as the return value.

◆ MR_StitchHolesNicelySettings_GetMutable_smoothSeettings()

MRC_API MR_SmoothFillingSettings * MR_StitchHolesNicelySettings_GetMutable_smoothSeettings ( MR_StitchHolesNicelySettings * _this)

if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling / Modifies a member variable of class MR::StitchHolesNicelySettings named smoothSeettings. / Parameter _this can not be null. It is a single object. / Parameter value can not be null. It is a single object. / The reference to the parameter value might be preserved in this object in element smoothSeettings. / When this function is called, this object will drop object references it held previously in smoothSeettings`. MRC_API void MR_StitchHolesNicelySettings_Set_smoothSeettings(MR_StitchHolesNicelySettings *_this, const MR_SmoothFillingSettings *value);

/ if smoothCurvature is true and triangulateOnly is false - these settings are used to smooth new filling Returns a mutable pointer to a member variable of class MR::StitchHolesNicelySettings named smoothSeettings. 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. The reference to this object might be preserved as the return value.

◆ MR_StitchHolesNicelySettings_OffsetMutablePtr()

MRC_API MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_OffsetMutablePtr ( MR_StitchHolesNicelySettings * 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. The reference to the parameter ptr might be preserved in the return value.

◆ MR_StitchHolesNicelySettings_OffsetPtr()

MRC_API const MR_StitchHolesNicelySettings * MR_StitchHolesNicelySettings_OffsetPtr ( const MR_StitchHolesNicelySettings * 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. The reference to the parameter ptr might be preserved in the return value.

◆ MR_StitchHolesNicelySettings_Set_outAttributes()

MRC_API void MR_StitchHolesNicelySettings_Set_outAttributes ( MR_StitchHolesNicelySettings * _this,
const MR_OutAttributesFillingSettings * value )

structure with optional output attributes Modifies a member variable of class MR::StitchHolesNicelySettings named outAttributes. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element outAttributes. When this function is called, this object will drop object references it held previously in outAttributes.

◆ MR_SubdivideFillingSettings_AssignFromAnother()

MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_AssignFromAnother ( MR_SubdivideFillingSettings * _this,
MR_PassBy _other_pass_by,
MR_SubdivideFillingSettings * _other )

Generated from method MR::SubdivideFillingSettings::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_SubdivideFillingSettings_ConstructFrom()

MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_ConstructFrom ( MR_UndirectedEdgeBitSet * notFlippable,
float maxEdgeLen,
int maxEdgeSplits,
float maxAngleChangeAfterFlip,
MR_PassBy beforeEdgeSplit_pass_by,
MR_std_function_bool_from_MR_EdgeId * beforeEdgeSplit,
MR_PassBy onEdgeSplit_pass_by,
MR_std_function_void_from_MR_EdgeId_MR_EdgeId * onEdgeSplit )

Constructs MR::SubdivideFillingSettings elementwise. The reference to the parameter notFlippable might be preserved in the constructed object. The reference to the parameter beforeEdgeSplit might be preserved in the constructed object. The reference to the parameter onEdgeSplit might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SubdivideFillingSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_SubdivideFillingSettings_ConstructFromAnother()

MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_SubdivideFillingSettings * _other )

Generated from constructor MR::SubdivideFillingSettings::SubdivideFillingSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SubdivideFillingSettings_Destroy() to free it when you're done using it.

◆ MR_SubdivideFillingSettings_DefaultConstruct()

MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_DefaultConstruct ( void )

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

◆ MR_SubdivideFillingSettings_DefaultConstructArray()

MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_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_SubdivideFillingSettings_DestroyArray(). Use MR_SubdivideFillingSettings_OffsetMutablePtr() and MR_SubdivideFillingSettings_OffsetPtr() to access the array elements.

◆ MR_SubdivideFillingSettings_Destroy()

MRC_API void MR_SubdivideFillingSettings_Destroy ( const MR_SubdivideFillingSettings * _this)

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

◆ MR_SubdivideFillingSettings_DestroyArray()

MRC_API void MR_SubdivideFillingSettings_DestroyArray ( const MR_SubdivideFillingSettings * _this)

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

◆ MR_SubdivideFillingSettings_Get_beforeEdgeSplit()

MRC_API const MR_std_function_bool_from_MR_EdgeId * MR_SubdivideFillingSettings_Get_beforeEdgeSplit ( const MR_SubdivideFillingSettings * _this)

(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Returns a pointer to a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_Get_maxAngleChangeAfterFlip()

MRC_API const float * MR_SubdivideFillingSettings_Get_maxAngleChangeAfterFlip ( const MR_SubdivideFillingSettings * _this)

Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_Get_maxEdgeLen()

MRC_API const float * MR_SubdivideFillingSettings_Get_maxEdgeLen ( const MR_SubdivideFillingSettings * _this)

Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeLen. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_Get_maxEdgeSplits()

MRC_API const int * MR_SubdivideFillingSettings_Get_maxEdgeSplits ( const MR_SubdivideFillingSettings * _this)

Maximum number of edge splits allowed during subdivision Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_Get_notFlippable()

MRC_API MR_UndirectedEdgeBitSet *const * MR_SubdivideFillingSettings_Get_notFlippable ( const MR_SubdivideFillingSettings * _this)

in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Returns a pointer to a member variable of class MR::SubdivideFillingSettings named notFlippable. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_Get_onEdgeSplit()

MRC_API const MR_std_function_void_from_MR_EdgeId_MR_EdgeId * MR_SubdivideFillingSettings_Get_onEdgeSplit ( const MR_SubdivideFillingSettings * _this)

(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Returns a pointer to a member variable of class MR::SubdivideFillingSettings named onEdgeSplit. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_GetMutable_beforeEdgeSplit()

MRC_API MR_std_function_bool_from_MR_EdgeId * MR_SubdivideFillingSettings_GetMutable_beforeEdgeSplit ( MR_SubdivideFillingSettings * _this)

(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_GetMutable_maxAngleChangeAfterFlip()

MRC_API float * MR_SubdivideFillingSettings_GetMutable_maxAngleChangeAfterFlip ( MR_SubdivideFillingSettings * _this)

Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_GetMutable_maxEdgeLen()

MRC_API float * MR_SubdivideFillingSettings_GetMutable_maxEdgeLen ( MR_SubdivideFillingSettings * _this)

Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeLen. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_GetMutable_maxEdgeSplits()

MRC_API int * MR_SubdivideFillingSettings_GetMutable_maxEdgeSplits ( MR_SubdivideFillingSettings * _this)

Maximum number of edge splits allowed during subdivision Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_GetMutable_notFlippable()

MRC_API MR_UndirectedEdgeBitSet ** MR_SubdivideFillingSettings_GetMutable_notFlippable ( MR_SubdivideFillingSettings * _this)

in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named notFlippable. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_GetMutable_onEdgeSplit()

MRC_API MR_std_function_void_from_MR_EdgeId_MR_EdgeId * MR_SubdivideFillingSettings_GetMutable_onEdgeSplit ( MR_SubdivideFillingSettings * _this)

(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named onEdgeSplit. 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. The reference to this object might be preserved as the return value.

◆ MR_SubdivideFillingSettings_OffsetMutablePtr()

MRC_API MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_OffsetMutablePtr ( MR_SubdivideFillingSettings * 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. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SubdivideFillingSettings_OffsetPtr()

MRC_API const MR_SubdivideFillingSettings * MR_SubdivideFillingSettings_OffsetPtr ( const MR_SubdivideFillingSettings * 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. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SubdivideFillingSettings_Set_beforeEdgeSplit()

MRC_API void MR_SubdivideFillingSettings_Set_beforeEdgeSplit ( MR_SubdivideFillingSettings * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_MR_EdgeId * value )

(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Modifies a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element beforeEdgeSplit. When this function is called, this object will drop object references it held previously in beforeEdgeSplit.

◆ MR_SubdivideFillingSettings_Set_maxAngleChangeAfterFlip()

MRC_API void MR_SubdivideFillingSettings_Set_maxAngleChangeAfterFlip ( MR_SubdivideFillingSettings * _this,
float value )

Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Modifies a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in maxAngleChangeAfterFlip.

◆ MR_SubdivideFillingSettings_Set_maxEdgeLen()

MRC_API void MR_SubdivideFillingSettings_Set_maxEdgeLen ( MR_SubdivideFillingSettings * _this,
float value )

Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Modifies a member variable of class MR::SubdivideFillingSettings named maxEdgeLen. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in maxEdgeLen.

◆ MR_SubdivideFillingSettings_Set_maxEdgeSplits()

MRC_API void MR_SubdivideFillingSettings_Set_maxEdgeSplits ( MR_SubdivideFillingSettings * _this,
int value )

Maximum number of edge splits allowed during subdivision Modifies a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in maxEdgeSplits.

◆ MR_SubdivideFillingSettings_Set_notFlippable()

MRC_API void MR_SubdivideFillingSettings_Set_notFlippable ( MR_SubdivideFillingSettings * _this,
MR_UndirectedEdgeBitSet * value )

in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Modifies a member variable of class MR::SubdivideFillingSettings named notFlippable. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element notFlippable. When this function is called, this object will drop object references it held previously in notFlippable.

◆ MR_SubdivideFillingSettings_Set_onEdgeSplit()

MRC_API void MR_SubdivideFillingSettings_Set_onEdgeSplit ( MR_SubdivideFillingSettings * _this,
MR_PassBy value_pass_by,
MR_std_function_void_from_MR_EdgeId_MR_EdgeId * value )

(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Modifies a member variable of class MR::SubdivideFillingSettings named onEdgeSplit. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element onEdgeSplit. When this function is called, this object will drop object references it held previously in onEdgeSplit.