MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshPart.h File Reference
#include <MRCMisc/exports.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_FaceBitSet MR_FaceBitSet
 
typedef struct MR_Mesh MR_Mesh
 
typedef struct MR_VertBitSet MR_VertBitSet
 
typedef struct MR_MeshPart MR_MeshPart
 
typedef struct MR_MeshVertPart MR_MeshVertPart
 

Functions

MRC_API const MR_MeshMR_MeshPart_Get_mesh (const MR_MeshPart *_this)
 
MRC_API const MR_FaceBitSet *const * MR_MeshPart_Get_region (const MR_MeshPart *_this)
 
MRC_API void MR_MeshPart_Set_region (MR_MeshPart *_this, const MR_FaceBitSet *value)
 
MRC_API const MR_FaceBitSet ** MR_MeshPart_GetMutable_region (MR_MeshPart *_this)
 
MRC_API MR_MeshPartMR_MeshPart_ConstructFromAnother (const MR_MeshPart *other)
 
MRC_API const MR_MeshPartMR_MeshPart_OffsetPtr (const MR_MeshPart *ptr, ptrdiff_t i)
 
MRC_API MR_MeshPartMR_MeshPart_OffsetMutablePtr (MR_MeshPart *ptr, ptrdiff_t i)
 
MRC_API MR_MeshPartMR_MeshPart_Construct (const MR_Mesh *m, const MR_FaceBitSet *bs)
 
MRC_API void MR_MeshPart_Destroy (const MR_MeshPart *_this)
 Destroys a heap-allocated instance of MR_MeshPart. Does nothing if the pointer is null.
 
MRC_API void MR_MeshPart_DestroyArray (const MR_MeshPart *_this)
 Destroys a heap-allocated array of MR_MeshPart. Does nothing if the pointer is null.
 
MRC_API MR_MeshPartMR_MeshPart_AssignFromAnother (MR_MeshPart *_this, const MR_MeshPart *other)
 
MRC_API const MR_MeshMR_MeshVertPart_Get_mesh (const MR_MeshVertPart *_this)
 
MRC_API const MR_VertBitSet *const * MR_MeshVertPart_Get_region (const MR_MeshVertPart *_this)
 
MRC_API void MR_MeshVertPart_Set_region (MR_MeshVertPart *_this, const MR_VertBitSet *value)
 
MRC_API const MR_VertBitSet ** MR_MeshVertPart_GetMutable_region (MR_MeshVertPart *_this)
 
MRC_API MR_MeshVertPartMR_MeshVertPart_ConstructFromAnother (const MR_MeshVertPart *other)
 
MRC_API const MR_MeshVertPartMR_MeshVertPart_OffsetPtr (const MR_MeshVertPart *ptr, ptrdiff_t i)
 
MRC_API MR_MeshVertPartMR_MeshVertPart_OffsetMutablePtr (MR_MeshVertPart *ptr, ptrdiff_t i)
 
MRC_API MR_MeshVertPartMR_MeshVertPart_Construct (const MR_Mesh *m, const MR_VertBitSet *bs)
 
MRC_API void MR_MeshVertPart_Destroy (const MR_MeshVertPart *_this)
 Destroys a heap-allocated instance of MR_MeshVertPart. Does nothing if the pointer is null.
 
MRC_API void MR_MeshVertPart_DestroyArray (const MR_MeshVertPart *_this)
 Destroys a heap-allocated array of MR_MeshVertPart. Does nothing if the pointer is null.
 
MRC_API MR_MeshVertPartMR_MeshVertPart_AssignFromAnother (MR_MeshVertPart *_this, const MR_MeshVertPart *other)
 

Typedef Documentation

◆ MR_FaceBitSet

typedef struct MR_FaceBitSet MR_FaceBitSet

◆ MR_Mesh

typedef struct MR_Mesh MR_Mesh

◆ MR_MeshPart

typedef struct MR_MeshPart MR_MeshPart

stores reference on whole mesh (if region is nullptr) or on its part (if region pointer is valid) Generated from class MR::MeshPart. Supported MR_PassBy modes: MR_PassBy_Copy (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_MeshVertPart

stores reference on whole mesh (if region is nullptr) or on its part (if region pointer is valid) Generated from class MR::MeshVertPart. Supported MR_PassBy modes: MR_PassBy_Copy (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_VertBitSet

typedef struct MR_VertBitSet MR_VertBitSet

Function Documentation

◆ MR_MeshPart_AssignFromAnother()

MRC_API MR_MeshPart * MR_MeshPart_AssignFromAnother ( MR_MeshPart * _this,
const MR_MeshPart * other )

Generated from method MR::MeshPart::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_MeshPart_Construct()

MRC_API MR_MeshPart * MR_MeshPart_Construct ( const MR_Mesh * m,
const MR_FaceBitSet * bs )

Generated from constructor MR::MeshPart::MeshPart. Parameter m can not be null. It is a single object. The reference to the parameter m might be preserved in the constructed object. Parameter bs defaults to a null pointer in C++. The reference to the parameter bs might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshPart_Destroy() to free it when you're done using it.

◆ MR_MeshPart_ConstructFromAnother()

MRC_API MR_MeshPart * MR_MeshPart_ConstructFromAnother ( const MR_MeshPart * other)

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

◆ MR_MeshPart_Destroy()

MRC_API void MR_MeshPart_Destroy ( const MR_MeshPart * _this)

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

◆ MR_MeshPart_DestroyArray()

MRC_API void MR_MeshPart_DestroyArray ( const MR_MeshPart * _this)

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

◆ MR_MeshPart_Get_mesh()

MRC_API const MR_Mesh * MR_MeshPart_Get_mesh ( const MR_MeshPart * _this)

Returns a pointer to a member variable of class MR::MeshPart named mesh. 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_MeshPart_Get_region()

MRC_API const MR_FaceBitSet *const * MR_MeshPart_Get_region ( const MR_MeshPart * _this)

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

MRC_API const MR_FaceBitSet ** MR_MeshPart_GetMutable_region ( MR_MeshPart * _this)

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

MRC_API MR_MeshPart * MR_MeshPart_OffsetMutablePtr ( MR_MeshPart * 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_MeshPart_OffsetPtr()

MRC_API const MR_MeshPart * MR_MeshPart_OffsetPtr ( const MR_MeshPart * 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_MeshPart_Set_region()

MRC_API void MR_MeshPart_Set_region ( MR_MeshPart * _this,
const MR_FaceBitSet * value )

Modifies a member variable of class MR::MeshPart 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_MeshVertPart_AssignFromAnother()

MRC_API MR_MeshVertPart * MR_MeshVertPart_AssignFromAnother ( MR_MeshVertPart * _this,
const MR_MeshVertPart * other )

Generated from method MR::MeshVertPart::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_MeshVertPart_Construct()

MRC_API MR_MeshVertPart * MR_MeshVertPart_Construct ( const MR_Mesh * m,
const MR_VertBitSet * bs )

Generated from constructor MR::MeshVertPart::MeshVertPart. Parameter m can not be null. It is a single object. The reference to the parameter m might be preserved in the constructed object. Parameter bs defaults to a null pointer in C++. The reference to the parameter bs might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshVertPart_Destroy() to free it when you're done using it.

◆ MR_MeshVertPart_ConstructFromAnother()

MRC_API MR_MeshVertPart * MR_MeshVertPart_ConstructFromAnother ( const MR_MeshVertPart * other)

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

◆ MR_MeshVertPart_Destroy()

MRC_API void MR_MeshVertPart_Destroy ( const MR_MeshVertPart * _this)

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

◆ MR_MeshVertPart_DestroyArray()

MRC_API void MR_MeshVertPart_DestroyArray ( const MR_MeshVertPart * _this)

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

◆ MR_MeshVertPart_Get_mesh()

MRC_API const MR_Mesh * MR_MeshVertPart_Get_mesh ( const MR_MeshVertPart * _this)

Returns a pointer to a member variable of class MR::MeshVertPart named mesh. 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_MeshVertPart_Get_region()

MRC_API const MR_VertBitSet *const * MR_MeshVertPart_Get_region ( const MR_MeshVertPart * _this)

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

MRC_API const MR_VertBitSet ** MR_MeshVertPart_GetMutable_region ( MR_MeshVertPart * _this)

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

MRC_API MR_MeshVertPart * MR_MeshVertPart_OffsetMutablePtr ( MR_MeshVertPart * 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_MeshVertPart_OffsetPtr()

MRC_API const MR_MeshVertPart * MR_MeshVertPart_OffsetPtr ( const MR_MeshVertPart * 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_MeshVertPart_Set_region()

MRC_API void MR_MeshVertPart_Set_region ( MR_MeshVertPart * _this,
const MR_VertBitSet * value )

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