MeshLib C Docs
Loading...
Searching...
No Matches
MRHoleFillPlan.h File Reference
#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_std_vector_MR_FillHoleItem MR_std_vector_MR_FillHoleItem
typedef struct MR_FillHoleItem MR_FillHoleItem
typedef struct MR_FillHoleItemEdge MR_FillHoleItemEdge
typedef struct MR_HoleFillPlan MR_HoleFillPlan

Functions

MRC_API const int * MR_FillHoleItem_Get_edgeCode1 (const MR_FillHoleItem *_this)
MRC_API void MR_FillHoleItem_Set_edgeCode1 (MR_FillHoleItem *_this, int value)
MRC_API int * MR_FillHoleItem_GetMutable_edgeCode1 (MR_FillHoleItem *_this)
MRC_API const int * MR_FillHoleItem_Get_edgeCode2 (const MR_FillHoleItem *_this)
MRC_API void MR_FillHoleItem_Set_edgeCode2 (MR_FillHoleItem *_this, int value)
MRC_API int * MR_FillHoleItem_GetMutable_edgeCode2 (MR_FillHoleItem *_this)
MRC_API MR_FillHoleItemMR_FillHoleItem_DefaultConstruct (void)
MRC_API MR_FillHoleItemMR_FillHoleItem_DefaultConstructArray (size_t num_elems)
MRC_API MR_FillHoleItemMR_FillHoleItem_ConstructFrom (int edgeCode1, int edgeCode2)
MRC_API const MR_FillHoleItemMR_FillHoleItem_OffsetPtr (const MR_FillHoleItem *ptr, ptrdiff_t i)
MRC_API MR_FillHoleItemMR_FillHoleItem_OffsetMutablePtr (MR_FillHoleItem *ptr, ptrdiff_t i)
MRC_API MR_FillHoleItemMR_FillHoleItem_ConstructFromAnother (const MR_FillHoleItem *_other)
MRC_API void MR_FillHoleItem_Destroy (const MR_FillHoleItem *_this)
 Destroys a heap-allocated instance of MR_FillHoleItem. Does nothing if the pointer is null.
MRC_API void MR_FillHoleItem_DestroyArray (const MR_FillHoleItem *_this)
 Destroys a heap-allocated array of MR_FillHoleItem. Does nothing if the pointer is null.
MRC_API MR_FillHoleItemMR_FillHoleItem_AssignFromAnother (MR_FillHoleItem *_this, const MR_FillHoleItem *_other)
MRC_API const int * MR_FillHoleItemEdge_Get_item (const MR_FillHoleItemEdge *_this)
MRC_API void MR_FillHoleItemEdge_Set_item (MR_FillHoleItemEdge *_this, int value)
MRC_API int * MR_FillHoleItemEdge_GetMutable_item (MR_FillHoleItemEdge *_this)
MRC_API const bool * MR_FillHoleItemEdge_Get_sym (const MR_FillHoleItemEdge *_this)
MRC_API void MR_FillHoleItemEdge_Set_sym (MR_FillHoleItemEdge *_this, bool value)
MRC_API bool * MR_FillHoleItemEdge_GetMutable_sym (MR_FillHoleItemEdge *_this)
MRC_API MR_FillHoleItemEdgeMR_FillHoleItemEdge_DefaultConstruct (void)
MRC_API MR_FillHoleItemEdgeMR_FillHoleItemEdge_DefaultConstructArray (size_t num_elems)
MRC_API MR_FillHoleItemEdgeMR_FillHoleItemEdge_ConstructFrom (int item, bool sym)
MRC_API const MR_FillHoleItemEdgeMR_FillHoleItemEdge_OffsetPtr (const MR_FillHoleItemEdge *ptr, ptrdiff_t i)
MRC_API MR_FillHoleItemEdgeMR_FillHoleItemEdge_OffsetMutablePtr (MR_FillHoleItemEdge *ptr, ptrdiff_t i)
MRC_API MR_FillHoleItemEdgeMR_FillHoleItemEdge_ConstructFromAnother (const MR_FillHoleItemEdge *_other)
MRC_API void MR_FillHoleItemEdge_Destroy (const MR_FillHoleItemEdge *_this)
 Destroys a heap-allocated instance of MR_FillHoleItemEdge. Does nothing if the pointer is null.
MRC_API void MR_FillHoleItemEdge_DestroyArray (const MR_FillHoleItemEdge *_this)
 Destroys a heap-allocated array of MR_FillHoleItemEdge. Does nothing if the pointer is null.
MRC_API MR_FillHoleItemEdgeMR_FillHoleItemEdge_AssignFromAnother (MR_FillHoleItemEdge *_this, const MR_FillHoleItemEdge *_other)
MRC_API int MR_FillHoleItemEdge_encode (const MR_FillHoleItemEdge *_this)
MRC_API MR_FillHoleItemEdgeMR_FillHoleItemEdge_decode (int code)
MRC_API const MR_std_vector_MR_FillHoleItemMR_HoleFillPlan_Get_items (const MR_HoleFillPlan *_this)
MRC_API void MR_HoleFillPlan_Set_items (MR_HoleFillPlan *_this, MR_PassBy value_pass_by, MR_std_vector_MR_FillHoleItem *value)
MRC_API MR_std_vector_MR_FillHoleItemMR_HoleFillPlan_GetMutable_items (MR_HoleFillPlan *_this)
MRC_API const int * MR_HoleFillPlan_Get_numTris (const MR_HoleFillPlan *_this)
MRC_API void MR_HoleFillPlan_Set_numTris (MR_HoleFillPlan *_this, int value)
MRC_API int * MR_HoleFillPlan_GetMutable_numTris (MR_HoleFillPlan *_this)
MRC_API MR_HoleFillPlanMR_HoleFillPlan_DefaultConstruct (void)
MRC_API MR_HoleFillPlanMR_HoleFillPlan_DefaultConstructArray (size_t num_elems)
MRC_API MR_HoleFillPlanMR_HoleFillPlan_ConstructFrom (MR_PassBy items_pass_by, MR_std_vector_MR_FillHoleItem *items, int numTris)
MRC_API const MR_HoleFillPlanMR_HoleFillPlan_OffsetPtr (const MR_HoleFillPlan *ptr, ptrdiff_t i)
MRC_API MR_HoleFillPlanMR_HoleFillPlan_OffsetMutablePtr (MR_HoleFillPlan *ptr, ptrdiff_t i)
MRC_API MR_HoleFillPlanMR_HoleFillPlan_ConstructFromAnother (MR_PassBy _other_pass_by, MR_HoleFillPlan *_other)
MRC_API void MR_HoleFillPlan_Destroy (const MR_HoleFillPlan *_this)
 Destroys a heap-allocated instance of MR_HoleFillPlan. Does nothing if the pointer is null.
MRC_API void MR_HoleFillPlan_DestroyArray (const MR_HoleFillPlan *_this)
 Destroys a heap-allocated array of MR_HoleFillPlan. Does nothing if the pointer is null.
MRC_API MR_HoleFillPlanMR_HoleFillPlan_AssignFromAnother (MR_HoleFillPlan *_this, MR_PassBy _other_pass_by, MR_HoleFillPlan *_other)

Typedef Documentation

◆ MR_FillHoleItem

one edge to add, connecting the origins of the two edges given by the codes; a not-negative code is an EdgeId, a negative one denotes an edge that an earlier item of the same plan creates - see FillHoleItemEdge Generated from class MR::FillHoleItem. 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_FillHoleItemEdge

an edge created by an item of the plan, given in the same way as EdgeId gives an edge of a mesh: what the edge is, plus which of its two directions is meant Generated from class MR::FillHoleItemEdge. 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_HoleFillPlan

concise representation of proposed hole triangulation Generated from class MR::HoleFillPlan. 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_vector_MR_FillHoleItem

Generated from C++ container std::vector<MR::FillHoleItem>. 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_FillHoleItem_AssignFromAnother()

MRC_API MR_FillHoleItem * MR_FillHoleItem_AssignFromAnother ( MR_FillHoleItem * _this,
const MR_FillHoleItem * _other )

Generated from method MR::FillHoleItem::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_FillHoleItem_ConstructFrom()

MRC_API MR_FillHoleItem * MR_FillHoleItem_ConstructFrom ( int edgeCode1,
int edgeCode2 )

Constructs MR::FillHoleItem elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_FillHoleItem_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_FillHoleItem_ConstructFromAnother()

MRC_API MR_FillHoleItem * MR_FillHoleItem_ConstructFromAnother ( const MR_FillHoleItem * _other)

Generated from constructor MR::FillHoleItem::FillHoleItem. 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_FillHoleItem_Destroy() to free it when you're done using it.

◆ MR_FillHoleItem_DefaultConstruct()

MRC_API MR_FillHoleItem * MR_FillHoleItem_DefaultConstruct ( void )

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

◆ MR_FillHoleItem_DefaultConstructArray()

MRC_API MR_FillHoleItem * MR_FillHoleItem_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_FillHoleItem_DestroyArray(). Use MR_FillHoleItem_OffsetMutablePtr() and MR_FillHoleItem_OffsetPtr() to access the array elements.

◆ MR_FillHoleItem_Destroy()

MRC_API void MR_FillHoleItem_Destroy ( const MR_FillHoleItem * _this)

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

◆ MR_FillHoleItem_DestroyArray()

MRC_API void MR_FillHoleItem_DestroyArray ( const MR_FillHoleItem * _this)

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

◆ MR_FillHoleItem_Get_edgeCode1()

MRC_API const int * MR_FillHoleItem_Get_edgeCode1 ( const MR_FillHoleItem * _this)

Returns a pointer to a member variable of class MR::FillHoleItem named edgeCode1. 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_FillHoleItem_Get_edgeCode2()

MRC_API const int * MR_FillHoleItem_Get_edgeCode2 ( const MR_FillHoleItem * _this)

Returns a pointer to a member variable of class MR::FillHoleItem named edgeCode2. 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_FillHoleItem_GetMutable_edgeCode1()

MRC_API int * MR_FillHoleItem_GetMutable_edgeCode1 ( MR_FillHoleItem * _this)

Returns a mutable pointer to a member variable of class MR::FillHoleItem named edgeCode1. 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_FillHoleItem_GetMutable_edgeCode2()

MRC_API int * MR_FillHoleItem_GetMutable_edgeCode2 ( MR_FillHoleItem * _this)

Returns a mutable pointer to a member variable of class MR::FillHoleItem named edgeCode2. 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_FillHoleItem_OffsetMutablePtr()

MRC_API MR_FillHoleItem * MR_FillHoleItem_OffsetMutablePtr ( MR_FillHoleItem * 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_FillHoleItem_OffsetPtr()

MRC_API const MR_FillHoleItem * MR_FillHoleItem_OffsetPtr ( const MR_FillHoleItem * 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_FillHoleItem_Set_edgeCode1()

MRC_API void MR_FillHoleItem_Set_edgeCode1 ( MR_FillHoleItem * _this,
int value )

Modifies a member variable of class MR::FillHoleItem named edgeCode1. 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 edgeCode1.

◆ MR_FillHoleItem_Set_edgeCode2()

MRC_API void MR_FillHoleItem_Set_edgeCode2 ( MR_FillHoleItem * _this,
int value )

Modifies a member variable of class MR::FillHoleItem named edgeCode2. 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 edgeCode2.

◆ MR_FillHoleItemEdge_AssignFromAnother()

MRC_API MR_FillHoleItemEdge * MR_FillHoleItemEdge_AssignFromAnother ( MR_FillHoleItemEdge * _this,
const MR_FillHoleItemEdge * _other )

Generated from method MR::FillHoleItemEdge::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_FillHoleItemEdge_ConstructFrom()

MRC_API MR_FillHoleItemEdge * MR_FillHoleItemEdge_ConstructFrom ( int item,
bool sym )

Constructs MR::FillHoleItemEdge elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_FillHoleItemEdge_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_FillHoleItemEdge_ConstructFromAnother()

MRC_API MR_FillHoleItemEdge * MR_FillHoleItemEdge_ConstructFromAnother ( const MR_FillHoleItemEdge * _other)

Generated from constructor MR::FillHoleItemEdge::FillHoleItemEdge. 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_FillHoleItemEdge_Destroy() to free it when you're done using it.

◆ MR_FillHoleItemEdge_decode()

MRC_API MR_FillHoleItemEdge * MR_FillHoleItemEdge_decode ( int code)

decodes a negative code back in the edge it denotes Generated from method MR::FillHoleItemEdge::decode. Never returns null. Returns an instance allocated on the heap! Must call MR_FillHoleItemEdge_Destroy() to free it when you're done using it.

◆ MR_FillHoleItemEdge_DefaultConstruct()

MRC_API MR_FillHoleItemEdge * MR_FillHoleItemEdge_DefaultConstruct ( void )

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

◆ MR_FillHoleItemEdge_DefaultConstructArray()

MRC_API MR_FillHoleItemEdge * MR_FillHoleItemEdge_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_FillHoleItemEdge_DestroyArray(). Use MR_FillHoleItemEdge_OffsetMutablePtr() and MR_FillHoleItemEdge_OffsetPtr() to access the array elements.

◆ MR_FillHoleItemEdge_Destroy()

MRC_API void MR_FillHoleItemEdge_Destroy ( const MR_FillHoleItemEdge * _this)

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

◆ MR_FillHoleItemEdge_DestroyArray()

MRC_API void MR_FillHoleItemEdge_DestroyArray ( const MR_FillHoleItemEdge * _this)

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

◆ MR_FillHoleItemEdge_encode()

MRC_API int MR_FillHoleItemEdge_encode ( const MR_FillHoleItemEdge * _this)

encodes this edge in a negative code Generated from method MR::FillHoleItemEdge::encode. Parameter _this can not be null. It is a single object.

◆ MR_FillHoleItemEdge_Get_item()

MRC_API const int * MR_FillHoleItemEdge_Get_item ( const MR_FillHoleItemEdge * _this)

index of the item creating the edge Returns a pointer to a member variable of class MR::FillHoleItemEdge named item. 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_FillHoleItemEdge_Get_sym()

MRC_API const bool * MR_FillHoleItemEdge_Get_sym ( const MR_FillHoleItemEdge * _this)

take that edge in the opposite direction, so with the other origin Returns a pointer to a member variable of class MR::FillHoleItemEdge named sym. 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_FillHoleItemEdge_GetMutable_item()

MRC_API int * MR_FillHoleItemEdge_GetMutable_item ( MR_FillHoleItemEdge * _this)

index of the item creating the edge Returns a mutable pointer to a member variable of class MR::FillHoleItemEdge named item. 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_FillHoleItemEdge_GetMutable_sym()

MRC_API bool * MR_FillHoleItemEdge_GetMutable_sym ( MR_FillHoleItemEdge * _this)

take that edge in the opposite direction, so with the other origin Returns a mutable pointer to a member variable of class MR::FillHoleItemEdge named sym. 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_FillHoleItemEdge_OffsetMutablePtr()

MRC_API MR_FillHoleItemEdge * MR_FillHoleItemEdge_OffsetMutablePtr ( MR_FillHoleItemEdge * 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_FillHoleItemEdge_OffsetPtr()

MRC_API const MR_FillHoleItemEdge * MR_FillHoleItemEdge_OffsetPtr ( const MR_FillHoleItemEdge * 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_FillHoleItemEdge_Set_item()

MRC_API void MR_FillHoleItemEdge_Set_item ( MR_FillHoleItemEdge * _this,
int value )

index of the item creating the edge Modifies a member variable of class MR::FillHoleItemEdge named item. 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 item.

◆ MR_FillHoleItemEdge_Set_sym()

MRC_API void MR_FillHoleItemEdge_Set_sym ( MR_FillHoleItemEdge * _this,
bool value )

take that edge in the opposite direction, so with the other origin Modifies a member variable of class MR::FillHoleItemEdge named sym. 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 sym.

◆ MR_HoleFillPlan_AssignFromAnother()

MRC_API MR_HoleFillPlan * MR_HoleFillPlan_AssignFromAnother ( MR_HoleFillPlan * _this,
MR_PassBy _other_pass_by,
MR_HoleFillPlan * _other )

Generated from method MR::HoleFillPlan::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_HoleFillPlan_ConstructFrom()

MRC_API MR_HoleFillPlan * MR_HoleFillPlan_ConstructFrom ( MR_PassBy items_pass_by,
MR_std_vector_MR_FillHoleItem * items,
int numTris )

Constructs MR::HoleFillPlan elementwise. The reference to the parameter items might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_HoleFillPlan_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_HoleFillPlan_ConstructFromAnother()

MRC_API MR_HoleFillPlan * MR_HoleFillPlan_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_HoleFillPlan * _other )

Generated from constructor MR::HoleFillPlan::HoleFillPlan. 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_HoleFillPlan_Destroy() to free it when you're done using it.

◆ MR_HoleFillPlan_DefaultConstruct()

MRC_API MR_HoleFillPlan * MR_HoleFillPlan_DefaultConstruct ( void )

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

◆ MR_HoleFillPlan_DefaultConstructArray()

MRC_API MR_HoleFillPlan * MR_HoleFillPlan_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_HoleFillPlan_DestroyArray(). Use MR_HoleFillPlan_OffsetMutablePtr() and MR_HoleFillPlan_OffsetPtr() to access the array elements.

◆ MR_HoleFillPlan_Destroy()

MRC_API void MR_HoleFillPlan_Destroy ( const MR_HoleFillPlan * _this)

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

◆ MR_HoleFillPlan_DestroyArray()

MRC_API void MR_HoleFillPlan_DestroyArray ( const MR_HoleFillPlan * _this)

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

◆ MR_HoleFillPlan_Get_items()

MRC_API const MR_std_vector_MR_FillHoleItem * MR_HoleFillPlan_Get_items ( const MR_HoleFillPlan * _this)

Returns a pointer to a member variable of class MR::HoleFillPlan named items. 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_HoleFillPlan_Get_numTris()

MRC_API const int * MR_HoleFillPlan_Get_numTris ( const MR_HoleFillPlan * _this)

the number of triangles in the filling; zero means that the plan only adds the edges of items and creates no faces, e.g. it splits a hole in several holes Returns a pointer to a member variable of class MR::HoleFillPlan named numTris. 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_HoleFillPlan_GetMutable_items()

MRC_API MR_std_vector_MR_FillHoleItem * MR_HoleFillPlan_GetMutable_items ( MR_HoleFillPlan * _this)

Returns a mutable pointer to a member variable of class MR::HoleFillPlan named items. 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_HoleFillPlan_GetMutable_numTris()

MRC_API int * MR_HoleFillPlan_GetMutable_numTris ( MR_HoleFillPlan * _this)

the number of triangles in the filling; zero means that the plan only adds the edges of items and creates no faces, e.g. it splits a hole in several holes Returns a mutable pointer to a member variable of class MR::HoleFillPlan named numTris. 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_HoleFillPlan_OffsetMutablePtr()

MRC_API MR_HoleFillPlan * MR_HoleFillPlan_OffsetMutablePtr ( MR_HoleFillPlan * 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_HoleFillPlan_OffsetPtr()

MRC_API const MR_HoleFillPlan * MR_HoleFillPlan_OffsetPtr ( const MR_HoleFillPlan * 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_HoleFillPlan_Set_items()

MRC_API void MR_HoleFillPlan_Set_items ( MR_HoleFillPlan * _this,
MR_PassBy value_pass_by,
MR_std_vector_MR_FillHoleItem * value )

Modifies a member variable of class MR::HoleFillPlan named items. 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 items. When this function is called, this object will drop object references it held previously in items.

◆ MR_HoleFillPlan_Set_numTris()

MRC_API void MR_HoleFillPlan_Set_numTris ( MR_HoleFillPlan * _this,
int value )

the number of triangles in the filling; zero means that the plan only adds the edges of items and creates no faces, e.g. it splits a hole in several holes Modifies a member variable of class MR::HoleFillPlan named numTris. 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 numTris.