MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshBuilder.h File Reference
#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_FaceBitSet MR_FaceBitSet
 
typedef struct MR_FaceMap MR_FaceMap
 
typedef struct MR_Mesh MR_Mesh
 
typedef struct MR_MeshBuilder_BuildSettings MR_MeshBuilder_BuildSettings
 
typedef struct MR_MeshTopology MR_MeshTopology
 
typedef struct MR_Triangulation MR_Triangulation
 
typedef struct MR_Vector_MR_MeshBuilder_VertSpan_MR_FaceId MR_Vector_MR_MeshBuilder_VertSpan_MR_FaceId
 
typedef struct MR_VertBitSet MR_VertBitSet
 
typedef struct MR_VertMap MR_VertMap
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_vector_MR_MeshBuilder_MeshPiece MR_std_vector_MR_MeshBuilder_MeshPiece
 
typedef struct MR_std_vector_MR_MeshBuilder_VertDuplication MR_std_vector_MR_MeshBuilder_VertDuplication
 
typedef struct MR_std_vector_MR_VertId MR_std_vector_MR_VertId
 
typedef struct MR_std_vector_std_array_MR_Vector3f_3 MR_std_vector_std_array_MR_Vector3f_3
 
typedef struct MR_MeshBuilder_VertDuplication MR_MeshBuilder_VertDuplication
 
typedef struct MR_MeshBuilder_MeshPiece MR_MeshBuilder_MeshPiece
 
typedef struct MR_MeshBuilder_UniteCloseParams MR_MeshBuilder_UniteCloseParams
 

Functions

MRC_API MR_MeshTopologyMR_MeshBuilder_fromTriangles (const MR_Triangulation *t, const MR_MeshBuilder_BuildSettings *settings, MR_PassBy progressCb_pass_by, MR_std_function_bool_from_float *progressCb)
 
MRC_API const MR_VertIdMR_MeshBuilder_VertDuplication_Get_srcVert (const MR_MeshBuilder_VertDuplication *_this)
 
MRC_API void MR_MeshBuilder_VertDuplication_Set_srcVert (MR_MeshBuilder_VertDuplication *_this, MR_VertId value)
 
MRC_API MR_VertIdMR_MeshBuilder_VertDuplication_GetMutable_srcVert (MR_MeshBuilder_VertDuplication *_this)
 
MRC_API const MR_VertIdMR_MeshBuilder_VertDuplication_Get_dupVert (const MR_MeshBuilder_VertDuplication *_this)
 
MRC_API void MR_MeshBuilder_VertDuplication_Set_dupVert (MR_MeshBuilder_VertDuplication *_this, MR_VertId value)
 
MRC_API MR_VertIdMR_MeshBuilder_VertDuplication_GetMutable_dupVert (MR_MeshBuilder_VertDuplication *_this)
 
MRC_API MR_MeshBuilder_VertDuplicationMR_MeshBuilder_VertDuplication_DefaultConstruct (void)
 
MRC_API MR_MeshBuilder_VertDuplicationMR_MeshBuilder_VertDuplication_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_MeshBuilder_VertDuplicationMR_MeshBuilder_VertDuplication_ConstructFrom (MR_VertId srcVert, MR_VertId dupVert)
 
MRC_API const MR_MeshBuilder_VertDuplicationMR_MeshBuilder_VertDuplication_OffsetPtr (const MR_MeshBuilder_VertDuplication *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_VertDuplicationMR_MeshBuilder_VertDuplication_OffsetMutablePtr (MR_MeshBuilder_VertDuplication *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_VertDuplicationMR_MeshBuilder_VertDuplication_ConstructFromAnother (const MR_MeshBuilder_VertDuplication *_other)
 
MRC_API void MR_MeshBuilder_VertDuplication_Destroy (const MR_MeshBuilder_VertDuplication *_this)
 Destroys a heap-allocated instance of MR_MeshBuilder_VertDuplication. Does nothing if the pointer is null.
 
MRC_API void MR_MeshBuilder_VertDuplication_DestroyArray (const MR_MeshBuilder_VertDuplication *_this)
 Destroys a heap-allocated array of MR_MeshBuilder_VertDuplication. Does nothing if the pointer is null.
 
MRC_API MR_MeshBuilder_VertDuplicationMR_MeshBuilder_VertDuplication_AssignFromAnother (MR_MeshBuilder_VertDuplication *_this, const MR_MeshBuilder_VertDuplication *_other)
 
MRC_API MR_uint64_t MR_MeshBuilder_duplicateNonManifoldVertices (MR_Triangulation *t, MR_FaceBitSet *region, MR_std_vector_MR_MeshBuilder_VertDuplication *dups, const MR_VertId *lastValidVert)
 
MRC_API MR_MeshTopologyMR_MeshBuilder_fromTrianglesDuplicatingNonManifoldVertices (MR_Triangulation *t, MR_std_vector_MR_MeshBuilder_VertDuplication *dups, const MR_MeshBuilder_BuildSettings *settings)
 
MRC_API MR_MeshMR_MeshBuilder_fromPointTriples (const MR_std_vector_std_array_MR_Vector3f_3 *posTriples)
 
MRC_API const MR_FaceMapMR_MeshBuilder_MeshPiece_Get_fmap (const MR_MeshBuilder_MeshPiece *_this)
 
MRC_API void MR_MeshBuilder_MeshPiece_Set_fmap (MR_MeshBuilder_MeshPiece *_this, MR_PassBy value_pass_by, MR_FaceMap *value)
 
MRC_API MR_FaceMapMR_MeshBuilder_MeshPiece_GetMutable_fmap (MR_MeshBuilder_MeshPiece *_this)
 
MRC_API const MR_VertMapMR_MeshBuilder_MeshPiece_Get_vmap (const MR_MeshBuilder_MeshPiece *_this)
 
MRC_API void MR_MeshBuilder_MeshPiece_Set_vmap (MR_MeshBuilder_MeshPiece *_this, MR_PassBy value_pass_by, MR_VertMap *value)
 
MRC_API MR_VertMapMR_MeshBuilder_MeshPiece_GetMutable_vmap (MR_MeshBuilder_MeshPiece *_this)
 
MRC_API const MR_MeshTopologyMR_MeshBuilder_MeshPiece_Get_topology (const MR_MeshBuilder_MeshPiece *_this)
 
MRC_API void MR_MeshBuilder_MeshPiece_Set_topology (MR_MeshBuilder_MeshPiece *_this, MR_PassBy value_pass_by, MR_MeshTopology *value)
 
MRC_API MR_MeshTopologyMR_MeshBuilder_MeshPiece_GetMutable_topology (MR_MeshBuilder_MeshPiece *_this)
 
MRC_API const MR_FaceBitSetMR_MeshBuilder_MeshPiece_Get_rem (const MR_MeshBuilder_MeshPiece *_this)
 
MRC_API void MR_MeshBuilder_MeshPiece_Set_rem (MR_MeshBuilder_MeshPiece *_this, MR_PassBy value_pass_by, MR_FaceBitSet *value)
 
MRC_API MR_FaceBitSetMR_MeshBuilder_MeshPiece_GetMutable_rem (MR_MeshBuilder_MeshPiece *_this)
 
MRC_API MR_MeshBuilder_MeshPieceMR_MeshBuilder_MeshPiece_DefaultConstruct (void)
 
MRC_API MR_MeshBuilder_MeshPieceMR_MeshBuilder_MeshPiece_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_MeshBuilder_MeshPieceMR_MeshBuilder_MeshPiece_ConstructFrom (MR_PassBy fmap_pass_by, MR_FaceMap *fmap, MR_PassBy vmap_pass_by, MR_VertMap *vmap, MR_PassBy topology_pass_by, MR_MeshTopology *topology, MR_PassBy rem_pass_by, MR_FaceBitSet *rem)
 
MRC_API const MR_MeshBuilder_MeshPieceMR_MeshBuilder_MeshPiece_OffsetPtr (const MR_MeshBuilder_MeshPiece *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_MeshPieceMR_MeshBuilder_MeshPiece_OffsetMutablePtr (MR_MeshBuilder_MeshPiece *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_MeshPieceMR_MeshBuilder_MeshPiece_ConstructFromAnother (MR_PassBy _other_pass_by, MR_MeshBuilder_MeshPiece *_other)
 
MRC_API void MR_MeshBuilder_MeshPiece_Destroy (const MR_MeshBuilder_MeshPiece *_this)
 Destroys a heap-allocated instance of MR_MeshBuilder_MeshPiece. Does nothing if the pointer is null.
 
MRC_API void MR_MeshBuilder_MeshPiece_DestroyArray (const MR_MeshBuilder_MeshPiece *_this)
 Destroys a heap-allocated array of MR_MeshBuilder_MeshPiece. Does nothing if the pointer is null.
 
MRC_API MR_MeshBuilder_MeshPieceMR_MeshBuilder_MeshPiece_AssignFromAnother (MR_MeshBuilder_MeshPiece *_this, MR_PassBy _other_pass_by, MR_MeshBuilder_MeshPiece *_other)
 
MRC_API MR_MeshTopologyMR_MeshBuilder_fromDisjointMeshPieces (const MR_Triangulation *t, MR_VertId maxVertId, const MR_std_vector_MR_MeshBuilder_MeshPiece *pieces, const MR_MeshBuilder_BuildSettings *settings)
 
MRC_API void MR_MeshBuilder_addTriangles_MR_Triangulation (MR_MeshTopology *res, const MR_Triangulation *t, const MR_MeshBuilder_BuildSettings *settings)
 
MRC_API void MR_MeshBuilder_addTriangles_std_vector_MR_VertId (MR_MeshTopology *res, MR_std_vector_MR_VertId *vertTriples, MR_FaceBitSet *createdFaces)
 
MRC_API MR_MeshTopologyMR_MeshBuilder_fromFaceSoup (const MR_std_vector_MR_VertId *verts, const MR_Vector_MR_MeshBuilder_VertSpan_MR_FaceId *faces, const MR_MeshBuilder_BuildSettings *settings, MR_PassBy progressCb_pass_by, MR_std_function_bool_from_float *progressCb)
 
MRC_API const float * MR_MeshBuilder_UniteCloseParams_Get_closeDist (const MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API void MR_MeshBuilder_UniteCloseParams_Set_closeDist (MR_MeshBuilder_UniteCloseParams *_this, float value)
 
MRC_API float * MR_MeshBuilder_UniteCloseParams_GetMutable_closeDist (MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API const bool * MR_MeshBuilder_UniteCloseParams_Get_uniteOnlyBd (const MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API void MR_MeshBuilder_UniteCloseParams_Set_uniteOnlyBd (MR_MeshBuilder_UniteCloseParams *_this, bool value)
 
MRC_API bool * MR_MeshBuilder_UniteCloseParams_GetMutable_uniteOnlyBd (MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API MR_VertBitSet *const * MR_MeshBuilder_UniteCloseParams_Get_region (const MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API void MR_MeshBuilder_UniteCloseParams_Set_region (MR_MeshBuilder_UniteCloseParams *_this, MR_VertBitSet *value)
 
MRC_API MR_VertBitSet ** MR_MeshBuilder_UniteCloseParams_GetMutable_region (MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API const bool * MR_MeshBuilder_UniteCloseParams_Get_duplicateNonManifold (const MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API void MR_MeshBuilder_UniteCloseParams_Set_duplicateNonManifold (MR_MeshBuilder_UniteCloseParams *_this, bool value)
 
MRC_API bool * MR_MeshBuilder_UniteCloseParams_GetMutable_duplicateNonManifold (MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API MR_VertMap *const * MR_MeshBuilder_UniteCloseParams_Get_optionalVertOldToNew (const MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API void MR_MeshBuilder_UniteCloseParams_Set_optionalVertOldToNew (MR_MeshBuilder_UniteCloseParams *_this, MR_VertMap *value)
 
MRC_API MR_VertMap ** MR_MeshBuilder_UniteCloseParams_GetMutable_optionalVertOldToNew (MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API MR_std_vector_MR_MeshBuilder_VertDuplication *const * MR_MeshBuilder_UniteCloseParams_Get_optionalDuplications (const MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API void MR_MeshBuilder_UniteCloseParams_Set_optionalDuplications (MR_MeshBuilder_UniteCloseParams *_this, MR_std_vector_MR_MeshBuilder_VertDuplication *value)
 
MRC_API MR_std_vector_MR_MeshBuilder_VertDuplication ** MR_MeshBuilder_UniteCloseParams_GetMutable_optionalDuplications (MR_MeshBuilder_UniteCloseParams *_this)
 
MRC_API MR_MeshBuilder_UniteCloseParamsMR_MeshBuilder_UniteCloseParams_DefaultConstruct (void)
 
MRC_API MR_MeshBuilder_UniteCloseParamsMR_MeshBuilder_UniteCloseParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_MeshBuilder_UniteCloseParamsMR_MeshBuilder_UniteCloseParams_ConstructFrom (float closeDist, bool uniteOnlyBd, MR_VertBitSet *region, bool duplicateNonManifold, MR_VertMap *optionalVertOldToNew, MR_std_vector_MR_MeshBuilder_VertDuplication *optionalDuplications)
 
MRC_API const MR_MeshBuilder_UniteCloseParamsMR_MeshBuilder_UniteCloseParams_OffsetPtr (const MR_MeshBuilder_UniteCloseParams *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_UniteCloseParamsMR_MeshBuilder_UniteCloseParams_OffsetMutablePtr (MR_MeshBuilder_UniteCloseParams *ptr, ptrdiff_t i)
 
MRC_API MR_MeshBuilder_UniteCloseParamsMR_MeshBuilder_UniteCloseParams_ConstructFromAnother (const MR_MeshBuilder_UniteCloseParams *_other)
 
MRC_API void MR_MeshBuilder_UniteCloseParams_Destroy (const MR_MeshBuilder_UniteCloseParams *_this)
 Destroys a heap-allocated instance of MR_MeshBuilder_UniteCloseParams. Does nothing if the pointer is null.
 
MRC_API void MR_MeshBuilder_UniteCloseParams_DestroyArray (const MR_MeshBuilder_UniteCloseParams *_this)
 Destroys a heap-allocated array of MR_MeshBuilder_UniteCloseParams. Does nothing if the pointer is null.
 
MRC_API MR_MeshBuilder_UniteCloseParamsMR_MeshBuilder_UniteCloseParams_AssignFromAnother (MR_MeshBuilder_UniteCloseParams *_this, const MR_MeshBuilder_UniteCloseParams *_other)
 
MRC_API int MR_MeshBuilder_uniteCloseVertices_4 (MR_Mesh *mesh, float closeDist, const bool *uniteOnlyBd, MR_VertMap *optionalVertOldToNew)
 
MRC_API int MR_MeshBuilder_uniteCloseVertices_2 (MR_Mesh *mesh, const MR_MeshBuilder_UniteCloseParams *params)
 

Typedef Documentation

◆ MR_FaceBitSet

typedef struct MR_FaceBitSet MR_FaceBitSet

◆ MR_FaceMap

typedef struct MR_FaceMap MR_FaceMap

◆ MR_Mesh

typedef struct MR_Mesh MR_Mesh

◆ MR_MeshBuilder_BuildSettings

◆ MR_MeshBuilder_MeshPiece

Generated from class MR::MeshBuilder::MeshPiece. 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_UniteCloseParams

Generated from class MR::MeshBuilder::UniteCloseParams. 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_VertDuplication

Generated from class MR::MeshBuilder::VertDuplication. 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_MeshTopology

◆ MR_std_function_bool_from_float

◆ MR_std_vector_MR_MeshBuilder_MeshPiece

◆ MR_std_vector_MR_MeshBuilder_VertDuplication

◆ MR_std_vector_MR_VertId

◆ MR_std_vector_std_array_MR_Vector3f_3

◆ MR_Triangulation

◆ MR_Vector_MR_MeshBuilder_VertSpan_MR_FaceId

◆ MR_VertBitSet

typedef struct MR_VertBitSet MR_VertBitSet

◆ MR_VertMap

typedef struct MR_VertMap MR_VertMap

Function Documentation

◆ MR_MeshBuilder_addTriangles_MR_Triangulation()

MRC_API void MR_MeshBuilder_addTriangles_MR_Triangulation ( MR_MeshTopology * res,
const MR_Triangulation * t,
const MR_MeshBuilder_BuildSettings * settings )

Generated from function MR::MeshBuilder::addTriangles. Parameter res can not be null. It is a single object. Parameter t can not be null. It is a single object. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it.

◆ MR_MeshBuilder_addTriangles_std_vector_MR_VertId()

MRC_API void MR_MeshBuilder_addTriangles_std_vector_MR_VertId ( MR_MeshTopology * res,
MR_std_vector_MR_VertId * vertTriples,
MR_FaceBitSet * createdFaces )

Generated from function MR::MeshBuilder::addTriangles. Parameter res can not be null. It is a single object. Parameter vertTriples can not be null. It is a single object. Parameter createdFaces defaults to a null pointer in C++.

◆ MR_MeshBuilder_duplicateNonManifoldVertices()

MRC_API MR_uint64_t MR_MeshBuilder_duplicateNonManifoldVertices ( MR_Triangulation * t,
MR_FaceBitSet * region,
MR_std_vector_MR_MeshBuilder_VertDuplication * dups,
const MR_VertId * lastValidVert )

Generated from function MR::MeshBuilder::duplicateNonManifoldVertices. Parameter t can not be null. It is a single object. Parameter region defaults to a null pointer in C++. Parameter dups defaults to a null pointer in C++. Parameter lastValidVert has a default argument: {}, pass a null pointer to use it.

◆ MR_MeshBuilder_fromDisjointMeshPieces()

MRC_API MR_MeshTopology * MR_MeshBuilder_fromDisjointMeshPieces ( const MR_Triangulation * t,
MR_VertId maxVertId,
const MR_std_vector_MR_MeshBuilder_MeshPiece * pieces,
const MR_MeshBuilder_BuildSettings * settings )

Generated from function MR::MeshBuilder::fromDisjointMeshPieces. Parameter t can not be null. It is a single object. Parameter pieces can not be null. It is a single object. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshTopology_Destroy() to free it when you're done using it.

◆ MR_MeshBuilder_fromFaceSoup()

MRC_API MR_MeshTopology * MR_MeshBuilder_fromFaceSoup ( const MR_std_vector_MR_VertId * verts,
const MR_Vector_MR_MeshBuilder_VertSpan_MR_FaceId * faces,
const MR_MeshBuilder_BuildSettings * settings,
MR_PassBy progressCb_pass_by,
MR_std_function_bool_from_float * progressCb )

construct mesh topology from face soup, where each face can have arbitrary degree (not only triangles) Generated from function MR::MeshBuilder::fromFaceSoup. Parameter verts can not be null. It is a single object. Parameter faces can not be null. It is a single object. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Parameter progressCb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshTopology_Destroy() to free it when you're done using it.

◆ MR_MeshBuilder_fromPointTriples()

MRC_API MR_Mesh * MR_MeshBuilder_fromPointTriples ( const MR_std_vector_std_array_MR_Vector3f_3 * posTriples)

Generated from function MR::MeshBuilder::fromPointTriples. Parameter posTriples can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_Mesh_Destroy() to free it when you're done using it.

◆ MR_MeshBuilder_fromTriangles()

MRC_API MR_MeshTopology * MR_MeshBuilder_fromTriangles ( const MR_Triangulation * t,
const MR_MeshBuilder_BuildSettings * settings,
MR_PassBy progressCb_pass_by,
MR_std_function_bool_from_float * progressCb )

construct mesh topology from a set of triangles with given ids; if skippedTris is given then it receives all input triangles not added in the resulting topology Generated from function MR::MeshBuilder::fromTriangles. Parameter t can not be null. It is a single object. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Parameter progressCb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshTopology_Destroy() to free it when you're done using it.

◆ MR_MeshBuilder_fromTrianglesDuplicatingNonManifoldVertices()

MRC_API MR_MeshTopology * MR_MeshBuilder_fromTrianglesDuplicatingNonManifoldVertices ( MR_Triangulation * t,
MR_std_vector_MR_MeshBuilder_VertDuplication * dups,
const MR_MeshBuilder_BuildSettings * settings )

Generated from function MR::MeshBuilder::fromTrianglesDuplicatingNonManifoldVertices. Parameter t can not be null. It is a single object. Parameter dups defaults to a null pointer in C++. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshTopology_Destroy() to free it when you're done using it.

◆ MR_MeshBuilder_MeshPiece_AssignFromAnother()

MRC_API MR_MeshBuilder_MeshPiece * MR_MeshBuilder_MeshPiece_AssignFromAnother ( MR_MeshBuilder_MeshPiece * _this,
MR_PassBy _other_pass_by,
MR_MeshBuilder_MeshPiece * _other )

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

◆ MR_MeshBuilder_MeshPiece_ConstructFrom()

MRC_API MR_MeshBuilder_MeshPiece * MR_MeshBuilder_MeshPiece_ConstructFrom ( MR_PassBy fmap_pass_by,
MR_FaceMap * fmap,
MR_PassBy vmap_pass_by,
MR_VertMap * vmap,
MR_PassBy topology_pass_by,
MR_MeshTopology * topology,
MR_PassBy rem_pass_by,
MR_FaceBitSet * rem )

Constructs MR::MeshBuilder::MeshPiece elementwise. The reference to the parameter fmap might be preserved in the constructed object. The reference to the parameter vmap might be preserved in the constructed object. The reference to the parameter topology might be preserved in the constructed object. The reference to the parameter rem might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_MeshPiece_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_MeshPiece_ConstructFromAnother()

MRC_API MR_MeshBuilder_MeshPiece * MR_MeshBuilder_MeshPiece_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_MeshBuilder_MeshPiece * _other )

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

◆ MR_MeshBuilder_MeshPiece_DefaultConstruct()

MRC_API MR_MeshBuilder_MeshPiece * MR_MeshBuilder_MeshPiece_DefaultConstruct ( void )

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

◆ MR_MeshBuilder_MeshPiece_DefaultConstructArray()

MRC_API MR_MeshBuilder_MeshPiece * MR_MeshBuilder_MeshPiece_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_MeshPiece_DestroyArray(). Use MR_MeshBuilder_MeshPiece_OffsetMutablePtr() and MR_MeshBuilder_MeshPiece_OffsetPtr() to access the array elements.

◆ MR_MeshBuilder_MeshPiece_Destroy()

MRC_API void MR_MeshBuilder_MeshPiece_Destroy ( const MR_MeshBuilder_MeshPiece * _this)

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

◆ MR_MeshBuilder_MeshPiece_DestroyArray()

MRC_API void MR_MeshBuilder_MeshPiece_DestroyArray ( const MR_MeshBuilder_MeshPiece * _this)

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

◆ MR_MeshBuilder_MeshPiece_Get_fmap()

MRC_API const MR_FaceMap * MR_MeshBuilder_MeshPiece_Get_fmap ( const MR_MeshBuilder_MeshPiece * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::MeshPiece named fmap. 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_MeshPiece_Get_rem()

MRC_API const MR_FaceBitSet * MR_MeshBuilder_MeshPiece_Get_rem ( const MR_MeshBuilder_MeshPiece * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::MeshPiece named rem. 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_MeshPiece_Get_topology()

MRC_API const MR_MeshTopology * MR_MeshBuilder_MeshPiece_Get_topology ( const MR_MeshBuilder_MeshPiece * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::MeshPiece named topology. 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_MeshPiece_Get_vmap()

MRC_API const MR_VertMap * MR_MeshBuilder_MeshPiece_Get_vmap ( const MR_MeshBuilder_MeshPiece * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::MeshPiece named vmap. 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_MeshPiece_GetMutable_fmap()

MRC_API MR_FaceMap * MR_MeshBuilder_MeshPiece_GetMutable_fmap ( MR_MeshBuilder_MeshPiece * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::MeshPiece named fmap. 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_MeshPiece_GetMutable_rem()

MRC_API MR_FaceBitSet * MR_MeshBuilder_MeshPiece_GetMutable_rem ( MR_MeshBuilder_MeshPiece * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::MeshPiece named rem. 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_MeshPiece_GetMutable_topology()

MRC_API MR_MeshTopology * MR_MeshBuilder_MeshPiece_GetMutable_topology ( MR_MeshBuilder_MeshPiece * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::MeshPiece named topology. 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_MeshPiece_GetMutable_vmap()

MRC_API MR_VertMap * MR_MeshBuilder_MeshPiece_GetMutable_vmap ( MR_MeshBuilder_MeshPiece * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::MeshPiece named vmap. 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_MeshPiece_OffsetMutablePtr()

MRC_API MR_MeshBuilder_MeshPiece * MR_MeshBuilder_MeshPiece_OffsetMutablePtr ( MR_MeshBuilder_MeshPiece * 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_MeshPiece_OffsetPtr()

MRC_API const MR_MeshBuilder_MeshPiece * MR_MeshBuilder_MeshPiece_OffsetPtr ( const MR_MeshBuilder_MeshPiece * 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_MeshPiece_Set_fmap()

MRC_API void MR_MeshBuilder_MeshPiece_Set_fmap ( MR_MeshBuilder_MeshPiece * _this,
MR_PassBy value_pass_by,
MR_FaceMap * value )

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

◆ MR_MeshBuilder_MeshPiece_Set_rem()

MRC_API void MR_MeshBuilder_MeshPiece_Set_rem ( MR_MeshBuilder_MeshPiece * _this,
MR_PassBy value_pass_by,
MR_FaceBitSet * value )

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

◆ MR_MeshBuilder_MeshPiece_Set_topology()

MRC_API void MR_MeshBuilder_MeshPiece_Set_topology ( MR_MeshBuilder_MeshPiece * _this,
MR_PassBy value_pass_by,
MR_MeshTopology * value )

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

◆ MR_MeshBuilder_MeshPiece_Set_vmap()

MRC_API void MR_MeshBuilder_MeshPiece_Set_vmap ( MR_MeshBuilder_MeshPiece * _this,
MR_PassBy value_pass_by,
MR_VertMap * value )

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

◆ MR_MeshBuilder_UniteCloseParams_AssignFromAnother()

MRC_API MR_MeshBuilder_UniteCloseParams * MR_MeshBuilder_UniteCloseParams_AssignFromAnother ( MR_MeshBuilder_UniteCloseParams * _this,
const MR_MeshBuilder_UniteCloseParams * _other )

Generated from method MR::MeshBuilder::UniteCloseParams::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_UniteCloseParams_ConstructFrom()

MRC_API MR_MeshBuilder_UniteCloseParams * MR_MeshBuilder_UniteCloseParams_ConstructFrom ( float closeDist,
bool uniteOnlyBd,
MR_VertBitSet * region,
bool duplicateNonManifold,
MR_VertMap * optionalVertOldToNew,
MR_std_vector_MR_MeshBuilder_VertDuplication * optionalDuplications )

Constructs MR::MeshBuilder::UniteCloseParams elementwise. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter optionalVertOldToNew might be preserved in the constructed object. The reference to the parameter optionalDuplications might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_UniteCloseParams_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_UniteCloseParams_ConstructFromAnother()

MRC_API MR_MeshBuilder_UniteCloseParams * MR_MeshBuilder_UniteCloseParams_ConstructFromAnother ( const MR_MeshBuilder_UniteCloseParams * _other)

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

◆ MR_MeshBuilder_UniteCloseParams_DefaultConstruct()

MRC_API MR_MeshBuilder_UniteCloseParams * MR_MeshBuilder_UniteCloseParams_DefaultConstruct ( void )

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

◆ MR_MeshBuilder_UniteCloseParams_DefaultConstructArray()

MRC_API MR_MeshBuilder_UniteCloseParams * MR_MeshBuilder_UniteCloseParams_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_UniteCloseParams_DestroyArray(). Use MR_MeshBuilder_UniteCloseParams_OffsetMutablePtr() and MR_MeshBuilder_UniteCloseParams_OffsetPtr() to access the array elements.

◆ MR_MeshBuilder_UniteCloseParams_Destroy()

MRC_API void MR_MeshBuilder_UniteCloseParams_Destroy ( const MR_MeshBuilder_UniteCloseParams * _this)

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

◆ MR_MeshBuilder_UniteCloseParams_DestroyArray()

MRC_API void MR_MeshBuilder_UniteCloseParams_DestroyArray ( const MR_MeshBuilder_UniteCloseParams * _this)

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

◆ MR_MeshBuilder_UniteCloseParams_Get_closeDist()

MRC_API const float * MR_MeshBuilder_UniteCloseParams_Get_closeDist ( const MR_MeshBuilder_UniteCloseParams * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named closeDist. 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_UniteCloseParams_Get_duplicateNonManifold()

MRC_API const bool * MR_MeshBuilder_UniteCloseParams_Get_duplicateNonManifold ( const MR_MeshBuilder_UniteCloseParams * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named duplicateNonManifold. 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_UniteCloseParams_Get_optionalDuplications()

MRC_API MR_std_vector_MR_MeshBuilder_VertDuplication *const * MR_MeshBuilder_UniteCloseParams_Get_optionalDuplications ( const MR_MeshBuilder_UniteCloseParams * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named optionalDuplications. 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_UniteCloseParams_Get_optionalVertOldToNew()

MRC_API MR_VertMap *const * MR_MeshBuilder_UniteCloseParams_Get_optionalVertOldToNew ( const MR_MeshBuilder_UniteCloseParams * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named optionalVertOldToNew. 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_UniteCloseParams_Get_region()

MRC_API MR_VertBitSet *const * MR_MeshBuilder_UniteCloseParams_Get_region ( const MR_MeshBuilder_UniteCloseParams * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams 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_UniteCloseParams_Get_uniteOnlyBd()

MRC_API const bool * MR_MeshBuilder_UniteCloseParams_Get_uniteOnlyBd ( const MR_MeshBuilder_UniteCloseParams * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named uniteOnlyBd. 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_UniteCloseParams_GetMutable_closeDist()

MRC_API float * MR_MeshBuilder_UniteCloseParams_GetMutable_closeDist ( MR_MeshBuilder_UniteCloseParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named closeDist. 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_UniteCloseParams_GetMutable_duplicateNonManifold()

MRC_API bool * MR_MeshBuilder_UniteCloseParams_GetMutable_duplicateNonManifold ( MR_MeshBuilder_UniteCloseParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named duplicateNonManifold. 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_UniteCloseParams_GetMutable_optionalDuplications()

MRC_API MR_std_vector_MR_MeshBuilder_VertDuplication ** MR_MeshBuilder_UniteCloseParams_GetMutable_optionalDuplications ( MR_MeshBuilder_UniteCloseParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named optionalDuplications. 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_UniteCloseParams_GetMutable_optionalVertOldToNew()

MRC_API MR_VertMap ** MR_MeshBuilder_UniteCloseParams_GetMutable_optionalVertOldToNew ( MR_MeshBuilder_UniteCloseParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named optionalVertOldToNew. 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_UniteCloseParams_GetMutable_region()

MRC_API MR_VertBitSet ** MR_MeshBuilder_UniteCloseParams_GetMutable_region ( MR_MeshBuilder_UniteCloseParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams 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_UniteCloseParams_GetMutable_uniteOnlyBd()

MRC_API bool * MR_MeshBuilder_UniteCloseParams_GetMutable_uniteOnlyBd ( MR_MeshBuilder_UniteCloseParams * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named uniteOnlyBd. 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_UniteCloseParams_OffsetMutablePtr()

MRC_API MR_MeshBuilder_UniteCloseParams * MR_MeshBuilder_UniteCloseParams_OffsetMutablePtr ( MR_MeshBuilder_UniteCloseParams * 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_UniteCloseParams_OffsetPtr()

MRC_API const MR_MeshBuilder_UniteCloseParams * MR_MeshBuilder_UniteCloseParams_OffsetPtr ( const MR_MeshBuilder_UniteCloseParams * 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_UniteCloseParams_Set_closeDist()

MRC_API void MR_MeshBuilder_UniteCloseParams_Set_closeDist ( MR_MeshBuilder_UniteCloseParams * _this,
float value )

Modifies a member variable of class MR::MeshBuilder::UniteCloseParams named closeDist. 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 closeDist.

◆ MR_MeshBuilder_UniteCloseParams_Set_duplicateNonManifold()

MRC_API void MR_MeshBuilder_UniteCloseParams_Set_duplicateNonManifold ( MR_MeshBuilder_UniteCloseParams * _this,
bool value )

Modifies a member variable of class MR::MeshBuilder::UniteCloseParams named duplicateNonManifold. 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 duplicateNonManifold.

◆ MR_MeshBuilder_UniteCloseParams_Set_optionalDuplications()

MRC_API void MR_MeshBuilder_UniteCloseParams_Set_optionalDuplications ( MR_MeshBuilder_UniteCloseParams * _this,
MR_std_vector_MR_MeshBuilder_VertDuplication * value )

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

◆ MR_MeshBuilder_UniteCloseParams_Set_optionalVertOldToNew()

MRC_API void MR_MeshBuilder_UniteCloseParams_Set_optionalVertOldToNew ( MR_MeshBuilder_UniteCloseParams * _this,
MR_VertMap * value )

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

◆ MR_MeshBuilder_UniteCloseParams_Set_region()

MRC_API void MR_MeshBuilder_UniteCloseParams_Set_region ( MR_MeshBuilder_UniteCloseParams * _this,
MR_VertBitSet * value )

Modifies a member variable of class MR::MeshBuilder::UniteCloseParams 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_UniteCloseParams_Set_uniteOnlyBd()

MRC_API void MR_MeshBuilder_UniteCloseParams_Set_uniteOnlyBd ( MR_MeshBuilder_UniteCloseParams * _this,
bool value )

Modifies a member variable of class MR::MeshBuilder::UniteCloseParams named uniteOnlyBd. 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 uniteOnlyBd.

◆ MR_MeshBuilder_uniteCloseVertices_2()

MRC_API int MR_MeshBuilder_uniteCloseVertices_2 ( MR_Mesh * mesh,
const MR_MeshBuilder_UniteCloseParams * params )

the function finds groups of mesh vertices located closer to each other than

Parameters
params.closeDist,andunites such vertices in one; then the mesh is rebuilt from the remaining triangles
Returns
the number of vertices united, 0 means no change in the mesh Generated from function MR::MeshBuilder::uniteCloseVertices. Parameter mesh can not be null. It is a single object. Parameter params is a single object. Parameter params has a default argument: {}, pass a null pointer to use it.

◆ MR_MeshBuilder_uniteCloseVertices_4()

MRC_API int MR_MeshBuilder_uniteCloseVertices_4 ( MR_Mesh * mesh,
float closeDist,
const bool * uniteOnlyBd,
MR_VertMap * optionalVertOldToNew )

the function finds groups of mesh vertices located closer to each other than

Parameters
closeDist,andunites such vertices in one; then the mesh is rebuilt from the remaining triangles
optionalVertOldToNewis the mapping of vertices: before -> after
uniteOnlyBdif true then only boundary vertices can be united, all internal vertices (even close ones) will remain
Returns
the number of vertices united, 0 means no change in the mesh Generated from function MR::MeshBuilder::uniteCloseVertices. Parameter mesh can not be null. It is a single object. Parameter uniteOnlyBd has a default argument: true, pass a null pointer to use it. Parameter optionalVertOldToNew defaults to a null pointer in C++.

◆ MR_MeshBuilder_VertDuplication_AssignFromAnother()

MRC_API MR_MeshBuilder_VertDuplication * MR_MeshBuilder_VertDuplication_AssignFromAnother ( MR_MeshBuilder_VertDuplication * _this,
const MR_MeshBuilder_VertDuplication * _other )

Generated from method MR::MeshBuilder::VertDuplication::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_VertDuplication_ConstructFrom()

MRC_API MR_MeshBuilder_VertDuplication * MR_MeshBuilder_VertDuplication_ConstructFrom ( MR_VertId srcVert,
MR_VertId dupVert )

Constructs MR::MeshBuilder::VertDuplication elementwise. The reference to the parameter srcVert might be preserved in the constructed object. The reference to the parameter dupVert might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshBuilder_VertDuplication_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_VertDuplication_ConstructFromAnother()

MRC_API MR_MeshBuilder_VertDuplication * MR_MeshBuilder_VertDuplication_ConstructFromAnother ( const MR_MeshBuilder_VertDuplication * _other)

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

◆ MR_MeshBuilder_VertDuplication_DefaultConstruct()

MRC_API MR_MeshBuilder_VertDuplication * MR_MeshBuilder_VertDuplication_DefaultConstruct ( void )

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

◆ MR_MeshBuilder_VertDuplication_DefaultConstructArray()

MRC_API MR_MeshBuilder_VertDuplication * MR_MeshBuilder_VertDuplication_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_VertDuplication_DestroyArray(). Use MR_MeshBuilder_VertDuplication_OffsetMutablePtr() and MR_MeshBuilder_VertDuplication_OffsetPtr() to access the array elements.

◆ MR_MeshBuilder_VertDuplication_Destroy()

MRC_API void MR_MeshBuilder_VertDuplication_Destroy ( const MR_MeshBuilder_VertDuplication * _this)

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

◆ MR_MeshBuilder_VertDuplication_DestroyArray()

MRC_API void MR_MeshBuilder_VertDuplication_DestroyArray ( const MR_MeshBuilder_VertDuplication * _this)

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

◆ MR_MeshBuilder_VertDuplication_Get_dupVert()

MRC_API const MR_VertId * MR_MeshBuilder_VertDuplication_Get_dupVert ( const MR_MeshBuilder_VertDuplication * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::VertDuplication named dupVert. 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_VertDuplication_Get_srcVert()

MRC_API const MR_VertId * MR_MeshBuilder_VertDuplication_Get_srcVert ( const MR_MeshBuilder_VertDuplication * _this)

Returns a pointer to a member variable of class MR::MeshBuilder::VertDuplication named srcVert. 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_VertDuplication_GetMutable_dupVert()

MRC_API MR_VertId * MR_MeshBuilder_VertDuplication_GetMutable_dupVert ( MR_MeshBuilder_VertDuplication * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::VertDuplication named dupVert. 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_VertDuplication_GetMutable_srcVert()

MRC_API MR_VertId * MR_MeshBuilder_VertDuplication_GetMutable_srcVert ( MR_MeshBuilder_VertDuplication * _this)

Returns a mutable pointer to a member variable of class MR::MeshBuilder::VertDuplication named srcVert. 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_VertDuplication_OffsetMutablePtr()

MRC_API MR_MeshBuilder_VertDuplication * MR_MeshBuilder_VertDuplication_OffsetMutablePtr ( MR_MeshBuilder_VertDuplication * 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_VertDuplication_OffsetPtr()

MRC_API const MR_MeshBuilder_VertDuplication * MR_MeshBuilder_VertDuplication_OffsetPtr ( const MR_MeshBuilder_VertDuplication * 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_VertDuplication_Set_dupVert()

MRC_API void MR_MeshBuilder_VertDuplication_Set_dupVert ( MR_MeshBuilder_VertDuplication * _this,
MR_VertId value )

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

◆ MR_MeshBuilder_VertDuplication_Set_srcVert()

MRC_API void MR_MeshBuilder_VertDuplication_Set_srcVert ( MR_MeshBuilder_VertDuplication * _this,
MR_VertId value )

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