MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshBuilderTypes.h File Reference
#include <MRCMesh/MRId.h>
#include <MRCMisc/exports.h>
#include <MRCMisc/std_array_MR_VertId_3.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_FaceBitSet MR_FaceBitSet
 
typedef struct MR_MeshBuilder_Triangle MR_MeshBuilder_Triangle
 
typedef struct MR_MeshBuilder_BuildSettings MR_MeshBuilder_BuildSettings
 
typedef struct MR_MeshBuilder_VertSpan MR_MeshBuilder_VertSpan
 

Functions

MRC_API const MR_std_array_MR_VertId_3MR_MeshBuilder_Triangle_Get_v (const MR_MeshBuilder_Triangle *_this)
 
MRC_API void MR_MeshBuilder_Triangle_Set_v (MR_MeshBuilder_Triangle *_this, MR_std_array_MR_VertId_3 value)
 
MRC_API MR_std_array_MR_VertId_3MR_MeshBuilder_Triangle_GetMutable_v (MR_MeshBuilder_Triangle *_this)
 
MRC_API const MR_FaceIdMR_MeshBuilder_Triangle_Get_f (const MR_MeshBuilder_Triangle *_this)
 
MRC_API void MR_MeshBuilder_Triangle_Set_f (MR_MeshBuilder_Triangle *_this, MR_FaceId value)
 
MRC_API MR_FaceIdMR_MeshBuilder_Triangle_GetMutable_f (MR_MeshBuilder_Triangle *_this)
 
MRC_API MR_MeshBuilder_TriangleMR_MeshBuilder_Triangle_DefaultConstruct (void)
 
MRC_API MR_MeshBuilder_TriangleMR_MeshBuilder_Triangle_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_MeshBuilder_TriangleMR_MeshBuilder_Triangle_OffsetPtr (const MR_MeshBuilder_Triangle *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_TriangleMR_MeshBuilder_Triangle_OffsetMutablePtr (MR_MeshBuilder_Triangle *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_TriangleMR_MeshBuilder_Triangle_ConstructFromAnother (const MR_MeshBuilder_Triangle *_other)
 
MRC_API MR_MeshBuilder_TriangleMR_MeshBuilder_Triangle_Construct (MR_VertId a, MR_VertId b, MR_VertId c, MR_FaceId f)
 
MRC_API void MR_MeshBuilder_Triangle_Destroy (const MR_MeshBuilder_Triangle *_this)
 Destroys a heap-allocated instance of MR_MeshBuilder_Triangle. Does nothing if the pointer is null.
 
MRC_API void MR_MeshBuilder_Triangle_DestroyArray (const MR_MeshBuilder_Triangle *_this)
 Destroys a heap-allocated array of MR_MeshBuilder_Triangle. Does nothing if the pointer is null.
 
MRC_API MR_MeshBuilder_TriangleMR_MeshBuilder_Triangle_AssignFromAnother (MR_MeshBuilder_Triangle *_this, const MR_MeshBuilder_Triangle *_other)
 
MRC_API bool MR_equal_MR_MeshBuilder_Triangle (const MR_MeshBuilder_Triangle *_this, const MR_MeshBuilder_Triangle *other)
 
MRC_API MR_FaceBitSet *const * MR_MeshBuilder_BuildSettings_Get_region (const MR_MeshBuilder_BuildSettings *_this)
 
MRC_API void MR_MeshBuilder_BuildSettings_Set_region (MR_MeshBuilder_BuildSettings *_this, MR_FaceBitSet *value)
 
MRC_API MR_FaceBitSet ** MR_MeshBuilder_BuildSettings_GetMutable_region (MR_MeshBuilder_BuildSettings *_this)
 
MRC_API const int * MR_MeshBuilder_BuildSettings_Get_shiftFaceId (const MR_MeshBuilder_BuildSettings *_this)
 
MRC_API void MR_MeshBuilder_BuildSettings_Set_shiftFaceId (MR_MeshBuilder_BuildSettings *_this, int value)
 
MRC_API int * MR_MeshBuilder_BuildSettings_GetMutable_shiftFaceId (MR_MeshBuilder_BuildSettings *_this)
 
MRC_API const bool * MR_MeshBuilder_BuildSettings_Get_allowNonManifoldEdge (const MR_MeshBuilder_BuildSettings *_this)
 
MRC_API void MR_MeshBuilder_BuildSettings_Set_allowNonManifoldEdge (MR_MeshBuilder_BuildSettings *_this, bool value)
 
MRC_API bool * MR_MeshBuilder_BuildSettings_GetMutable_allowNonManifoldEdge (MR_MeshBuilder_BuildSettings *_this)
 
MRC_API int *const * MR_MeshBuilder_BuildSettings_Get_skippedFaceCount (const MR_MeshBuilder_BuildSettings *_this)
 
MRC_API void MR_MeshBuilder_BuildSettings_Set_skippedFaceCount (MR_MeshBuilder_BuildSettings *_this, int *value)
 
MRC_API int ** MR_MeshBuilder_BuildSettings_GetMutable_skippedFaceCount (MR_MeshBuilder_BuildSettings *_this)
 
MRC_API MR_MeshBuilder_BuildSettingsMR_MeshBuilder_BuildSettings_DefaultConstruct (void)
 
MRC_API MR_MeshBuilder_BuildSettingsMR_MeshBuilder_BuildSettings_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_MeshBuilder_BuildSettingsMR_MeshBuilder_BuildSettings_ConstructFrom (MR_FaceBitSet *region, int shiftFaceId, bool allowNonManifoldEdge, int *skippedFaceCount)
 
MRC_API const MR_MeshBuilder_BuildSettingsMR_MeshBuilder_BuildSettings_OffsetPtr (const MR_MeshBuilder_BuildSettings *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_BuildSettingsMR_MeshBuilder_BuildSettings_OffsetMutablePtr (MR_MeshBuilder_BuildSettings *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_BuildSettingsMR_MeshBuilder_BuildSettings_ConstructFromAnother (const MR_MeshBuilder_BuildSettings *_other)
 
MRC_API void MR_MeshBuilder_BuildSettings_Destroy (const MR_MeshBuilder_BuildSettings *_this)
 Destroys a heap-allocated instance of MR_MeshBuilder_BuildSettings. Does nothing if the pointer is null.
 
MRC_API void MR_MeshBuilder_BuildSettings_DestroyArray (const MR_MeshBuilder_BuildSettings *_this)
 Destroys a heap-allocated array of MR_MeshBuilder_BuildSettings. Does nothing if the pointer is null.
 
MRC_API MR_MeshBuilder_BuildSettingsMR_MeshBuilder_BuildSettings_AssignFromAnother (MR_MeshBuilder_BuildSettings *_this, const MR_MeshBuilder_BuildSettings *_other)
 
MRC_API const int * MR_MeshBuilder_VertSpan_Get_firstVertex (const MR_MeshBuilder_VertSpan *_this)
 
MRC_API void MR_MeshBuilder_VertSpan_Set_firstVertex (MR_MeshBuilder_VertSpan *_this, int value)
 
MRC_API int * MR_MeshBuilder_VertSpan_GetMutable_firstVertex (MR_MeshBuilder_VertSpan *_this)
 
MRC_API const int * MR_MeshBuilder_VertSpan_Get_lastVertex (const MR_MeshBuilder_VertSpan *_this)
 
MRC_API void MR_MeshBuilder_VertSpan_Set_lastVertex (MR_MeshBuilder_VertSpan *_this, int value)
 
MRC_API int * MR_MeshBuilder_VertSpan_GetMutable_lastVertex (MR_MeshBuilder_VertSpan *_this)
 
MRC_API MR_MeshBuilder_VertSpanMR_MeshBuilder_VertSpan_DefaultConstruct (void)
 
MRC_API MR_MeshBuilder_VertSpanMR_MeshBuilder_VertSpan_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_MeshBuilder_VertSpanMR_MeshBuilder_VertSpan_ConstructFrom (int firstVertex, int lastVertex)
 
MRC_API const MR_MeshBuilder_VertSpanMR_MeshBuilder_VertSpan_OffsetPtr (const MR_MeshBuilder_VertSpan *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_VertSpanMR_MeshBuilder_VertSpan_OffsetMutablePtr (MR_MeshBuilder_VertSpan *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_VertSpanMR_MeshBuilder_VertSpan_ConstructFromAnother (const MR_MeshBuilder_VertSpan *_other)
 
MRC_API void MR_MeshBuilder_VertSpan_Destroy (const MR_MeshBuilder_VertSpan *_this)
 Destroys a heap-allocated instance of MR_MeshBuilder_VertSpan. Does nothing if the pointer is null.
 
MRC_API void MR_MeshBuilder_VertSpan_DestroyArray (const MR_MeshBuilder_VertSpan *_this)
 Destroys a heap-allocated array of MR_MeshBuilder_VertSpan. Does nothing if the pointer is null.
 
MRC_API MR_MeshBuilder_VertSpanMR_MeshBuilder_VertSpan_AssignFromAnother (MR_MeshBuilder_VertSpan *_this, const MR_MeshBuilder_VertSpan *_other)
 

Typedef Documentation

◆ MR_FaceBitSet

typedef struct MR_FaceBitSet MR_FaceBitSet

◆ MR_MeshBuilder_BuildSettings

Generated from class MR::MeshBuilder::BuildSettings. 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_MeshBuilder_Triangle

mesh triangle represented by its three vertices and by its face ID Generated from class MR::MeshBuilder::Triangle. 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_MeshBuilder_VertSpan

Generated from class MR::MeshBuilder::VertSpan. 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_equal_MR_MeshBuilder_Triangle()

MRC_API bool MR_equal_MR_MeshBuilder_Triangle ( const MR_MeshBuilder_Triangle * _this,
const MR_MeshBuilder_Triangle * other )

Generated from method MR::MeshBuilder::Triangle::operator==. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.

◆ MR_MeshBuilder_BuildSettings_AssignFromAnother()

MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_AssignFromAnother ( MR_MeshBuilder_BuildSettings * _this,
const MR_MeshBuilder_BuildSettings * _other )

Generated from method MR::MeshBuilder::BuildSettings::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 had previously.

◆ MR_MeshBuilder_BuildSettings_ConstructFrom()

MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_ConstructFrom ( MR_FaceBitSet * region,
int shiftFaceId,
bool allowNonManifoldEdge,
int * skippedFaceCount )

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

◆ MR_MeshBuilder_BuildSettings_ConstructFromAnother()

MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_ConstructFromAnother ( const MR_MeshBuilder_BuildSettings * _other)

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

◆ MR_MeshBuilder_BuildSettings_DefaultConstruct()

MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_DefaultConstruct ( void )

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

◆ MR_MeshBuilder_BuildSettings_DefaultConstructArray()

MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_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_MeshBuilder_BuildSettings_DestroyArray(). Use MR_MeshBuilder_BuildSettings_OffsetMutablePtr() and MR_MeshBuilder_BuildSettings_OffsetPtr() to access the array elements.

◆ MR_MeshBuilder_BuildSettings_Destroy()

MRC_API void MR_MeshBuilder_BuildSettings_Destroy ( const MR_MeshBuilder_BuildSettings * _this)

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

◆ MR_MeshBuilder_BuildSettings_DestroyArray()

MRC_API void MR_MeshBuilder_BuildSettings_DestroyArray ( const MR_MeshBuilder_BuildSettings * _this)

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

◆ MR_MeshBuilder_BuildSettings_Get_allowNonManifoldEdge()

MRC_API const bool * MR_MeshBuilder_BuildSettings_Get_allowNonManifoldEdge ( const MR_MeshBuilder_BuildSettings * _this)

whether to permit non-manifold edges in the resulting topology Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named allowNonManifoldEdge. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshBuilder_BuildSettings_Get_region()

MRC_API MR_FaceBitSet *const * MR_MeshBuilder_BuildSettings_Get_region ( const MR_MeshBuilder_BuildSettings * _this)

if region is given then on input it contains the faces to be added, and on output the faces failed to be added Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named region. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshBuilder_BuildSettings_Get_shiftFaceId()

MRC_API const int * MR_MeshBuilder_BuildSettings_Get_shiftFaceId ( const MR_MeshBuilder_BuildSettings * _this)

this value to be added to every faceId before its inclusion in the topology Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named shiftFaceId. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshBuilder_BuildSettings_Get_skippedFaceCount()

MRC_API int *const * MR_MeshBuilder_BuildSettings_Get_skippedFaceCount ( const MR_MeshBuilder_BuildSettings * _this)

optional output: counter of skipped faces during mesh creation Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named skippedFaceCount. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshBuilder_BuildSettings_GetMutable_allowNonManifoldEdge()

MRC_API bool * MR_MeshBuilder_BuildSettings_GetMutable_allowNonManifoldEdge ( MR_MeshBuilder_BuildSettings * _this)

whether to permit non-manifold edges in the resulting topology Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named allowNonManifoldEdge. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshBuilder_BuildSettings_GetMutable_region()

MRC_API MR_FaceBitSet ** MR_MeshBuilder_BuildSettings_GetMutable_region ( MR_MeshBuilder_BuildSettings * _this)

if region is given then on input it contains the faces to be added, and on output the faces failed to be added Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named region. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshBuilder_BuildSettings_GetMutable_shiftFaceId()

MRC_API int * MR_MeshBuilder_BuildSettings_GetMutable_shiftFaceId ( MR_MeshBuilder_BuildSettings * _this)

this value to be added to every faceId before its inclusion in the topology Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named shiftFaceId. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshBuilder_BuildSettings_GetMutable_skippedFaceCount()

MRC_API int ** MR_MeshBuilder_BuildSettings_GetMutable_skippedFaceCount ( MR_MeshBuilder_BuildSettings * _this)

optional output: counter of skipped faces during mesh creation Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named skippedFaceCount. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshBuilder_BuildSettings_OffsetMutablePtr()

MRC_API MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_OffsetMutablePtr ( MR_MeshBuilder_BuildSettings * 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_MeshBuilder_BuildSettings_OffsetPtr()

MRC_API const MR_MeshBuilder_BuildSettings * MR_MeshBuilder_BuildSettings_OffsetPtr ( const MR_MeshBuilder_BuildSettings * 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_MeshBuilder_BuildSettings_Set_allowNonManifoldEdge()

MRC_API void MR_MeshBuilder_BuildSettings_Set_allowNonManifoldEdge ( MR_MeshBuilder_BuildSettings * _this,
bool value )

whether to permit non-manifold edges in the resulting topology Modifies a member variable of class MR::MeshBuilder::BuildSettings named allowNonManifoldEdge. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in allowNonManifoldEdge.

◆ MR_MeshBuilder_BuildSettings_Set_region()

MRC_API void MR_MeshBuilder_BuildSettings_Set_region ( MR_MeshBuilder_BuildSettings * _this,
MR_FaceBitSet * value )

if region is given then on input it contains the faces to be added, and on output the faces failed to be added Modifies a member variable of class MR::MeshBuilder::BuildSettings named region. 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 region. When this function is called, this object will drop object references it had previously in region.

◆ MR_MeshBuilder_BuildSettings_Set_shiftFaceId()

MRC_API void MR_MeshBuilder_BuildSettings_Set_shiftFaceId ( MR_MeshBuilder_BuildSettings * _this,
int value )

this value to be added to every faceId before its inclusion in the topology Modifies a member variable of class MR::MeshBuilder::BuildSettings named shiftFaceId. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in shiftFaceId.

◆ MR_MeshBuilder_BuildSettings_Set_skippedFaceCount()

MRC_API void MR_MeshBuilder_BuildSettings_Set_skippedFaceCount ( MR_MeshBuilder_BuildSettings * _this,
int * value )

optional output: counter of skipped faces during mesh creation Modifies a member variable of class MR::MeshBuilder::BuildSettings named skippedFaceCount. 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 skippedFaceCount. When this function is called, this object will drop object references it had previously in skippedFaceCount.

◆ MR_MeshBuilder_Triangle_AssignFromAnother()

MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_AssignFromAnother ( MR_MeshBuilder_Triangle * _this,
const MR_MeshBuilder_Triangle * _other )

Generated from method MR::MeshBuilder::Triangle::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 had previously.

◆ MR_MeshBuilder_Triangle_Construct()

MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_Construct ( MR_VertId a,
MR_VertId b,
MR_VertId c,
MR_FaceId f )

Generated from constructor MR::MeshBuilder::Triangle::Triangle. The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object. The reference to the parameter c might be preserved in the constructed object. The reference to the parameter f might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_Triangle_Destroy() to free it when you're done using it.

◆ MR_MeshBuilder_Triangle_ConstructFromAnother()

MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_ConstructFromAnother ( const MR_MeshBuilder_Triangle * _other)

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

◆ MR_MeshBuilder_Triangle_DefaultConstruct()

MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_DefaultConstruct ( void )

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

◆ MR_MeshBuilder_Triangle_DefaultConstructArray()

MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_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_MeshBuilder_Triangle_DestroyArray(). Use MR_MeshBuilder_Triangle_OffsetMutablePtr() and MR_MeshBuilder_Triangle_OffsetPtr() to access the array elements.

◆ MR_MeshBuilder_Triangle_Destroy()

MRC_API void MR_MeshBuilder_Triangle_Destroy ( const MR_MeshBuilder_Triangle * _this)

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

◆ MR_MeshBuilder_Triangle_DestroyArray()

MRC_API void MR_MeshBuilder_Triangle_DestroyArray ( const MR_MeshBuilder_Triangle * _this)

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

◆ MR_MeshBuilder_Triangle_Get_f()

MRC_API const MR_FaceId * MR_MeshBuilder_Triangle_Get_f ( const MR_MeshBuilder_Triangle * _this)

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

◆ MR_MeshBuilder_Triangle_Get_v()

MRC_API const MR_std_array_MR_VertId_3 * MR_MeshBuilder_Triangle_Get_v ( const MR_MeshBuilder_Triangle * _this)

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

◆ MR_MeshBuilder_Triangle_GetMutable_f()

MRC_API MR_FaceId * MR_MeshBuilder_Triangle_GetMutable_f ( MR_MeshBuilder_Triangle * _this)

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

◆ MR_MeshBuilder_Triangle_GetMutable_v()

MRC_API MR_std_array_MR_VertId_3 * MR_MeshBuilder_Triangle_GetMutable_v ( MR_MeshBuilder_Triangle * _this)

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

◆ MR_MeshBuilder_Triangle_OffsetMutablePtr()

MRC_API MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_OffsetMutablePtr ( MR_MeshBuilder_Triangle * 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_MeshBuilder_Triangle_OffsetPtr()

MRC_API const MR_MeshBuilder_Triangle * MR_MeshBuilder_Triangle_OffsetPtr ( const MR_MeshBuilder_Triangle * 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_MeshBuilder_Triangle_Set_f()

MRC_API void MR_MeshBuilder_Triangle_Set_f ( MR_MeshBuilder_Triangle * _this,
MR_FaceId value )

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

◆ MR_MeshBuilder_Triangle_Set_v()

MRC_API void MR_MeshBuilder_Triangle_Set_v ( MR_MeshBuilder_Triangle * _this,
MR_std_array_MR_VertId_3 value )

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

◆ MR_MeshBuilder_VertSpan_AssignFromAnother()

MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_AssignFromAnother ( MR_MeshBuilder_VertSpan * _this,
const MR_MeshBuilder_VertSpan * _other )

Generated from method MR::MeshBuilder::VertSpan::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 had previously.

◆ MR_MeshBuilder_VertSpan_ConstructFrom()

MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_ConstructFrom ( int firstVertex,
int lastVertex )

Constructs MR::MeshBuilder::VertSpan elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_VertSpan_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_MeshBuilder_VertSpan_ConstructFromAnother()

MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_ConstructFromAnother ( const MR_MeshBuilder_VertSpan * _other)

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

◆ MR_MeshBuilder_VertSpan_DefaultConstruct()

MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_DefaultConstruct ( void )

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

◆ MR_MeshBuilder_VertSpan_DefaultConstructArray()

MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_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_MeshBuilder_VertSpan_DestroyArray(). Use MR_MeshBuilder_VertSpan_OffsetMutablePtr() and MR_MeshBuilder_VertSpan_OffsetPtr() to access the array elements.

◆ MR_MeshBuilder_VertSpan_Destroy()

MRC_API void MR_MeshBuilder_VertSpan_Destroy ( const MR_MeshBuilder_VertSpan * _this)

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

◆ MR_MeshBuilder_VertSpan_DestroyArray()

MRC_API void MR_MeshBuilder_VertSpan_DestroyArray ( const MR_MeshBuilder_VertSpan * _this)

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

◆ MR_MeshBuilder_VertSpan_Get_firstVertex()

MRC_API const int * MR_MeshBuilder_VertSpan_Get_firstVertex ( const MR_MeshBuilder_VertSpan * _this)

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

◆ MR_MeshBuilder_VertSpan_Get_lastVertex()

MRC_API const int * MR_MeshBuilder_VertSpan_Get_lastVertex ( const MR_MeshBuilder_VertSpan * _this)

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

◆ MR_MeshBuilder_VertSpan_GetMutable_firstVertex()

MRC_API int * MR_MeshBuilder_VertSpan_GetMutable_firstVertex ( MR_MeshBuilder_VertSpan * _this)

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

◆ MR_MeshBuilder_VertSpan_GetMutable_lastVertex()

MRC_API int * MR_MeshBuilder_VertSpan_GetMutable_lastVertex ( MR_MeshBuilder_VertSpan * _this)

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

◆ MR_MeshBuilder_VertSpan_OffsetMutablePtr()

MRC_API MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_OffsetMutablePtr ( MR_MeshBuilder_VertSpan * 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_MeshBuilder_VertSpan_OffsetPtr()

MRC_API const MR_MeshBuilder_VertSpan * MR_MeshBuilder_VertSpan_OffsetPtr ( const MR_MeshBuilder_VertSpan * 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_MeshBuilder_VertSpan_Set_firstVertex()

MRC_API void MR_MeshBuilder_VertSpan_Set_firstVertex ( MR_MeshBuilder_VertSpan * _this,
int value )

Modifies a member variable of class MR::MeshBuilder::VertSpan named firstVertex. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in firstVertex.

◆ MR_MeshBuilder_VertSpan_Set_lastVertex()

MRC_API void MR_MeshBuilder_VertSpan_Set_lastVertex ( MR_MeshBuilder_VertSpan * _this,
int value )

Modifies a member variable of class MR::MeshBuilder::VertSpan named lastVertex. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in lastVertex.