MeshLib C Docs
Loading...
Searching...
No Matches
MRHoleFillPlan.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.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_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 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

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_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_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)

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)

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 )

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.