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

Go to the source code of this file.

Typedefs

typedef struct MR_FaceFace MR_FaceFace
 
typedef struct MR_UndirectedEdgeUndirectedEdge MR_UndirectedEdgeUndirectedEdge
 

Functions

MRC_API const MR_FaceIdMR_FaceFace_Get_aFace (const MR_FaceFace *_this)
 
MRC_API void MR_FaceFace_Set_aFace (MR_FaceFace *_this, MR_FaceId value)
 
MRC_API MR_FaceIdMR_FaceFace_GetMutable_aFace (MR_FaceFace *_this)
 
MRC_API const MR_FaceIdMR_FaceFace_Get_bFace (const MR_FaceFace *_this)
 
MRC_API void MR_FaceFace_Set_bFace (MR_FaceFace *_this, MR_FaceId value)
 
MRC_API MR_FaceIdMR_FaceFace_GetMutable_bFace (MR_FaceFace *_this)
 
MRC_API MR_FaceFaceMR_FaceFace_DefaultConstruct (void)
 
MRC_API MR_FaceFaceMR_FaceFace_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_FaceFaceMR_FaceFace_OffsetPtr (const MR_FaceFace *ptr, ptrdiff_t i)
 
MRC_API MR_FaceFaceMR_FaceFace_OffsetMutablePtr (MR_FaceFace *ptr, ptrdiff_t i)
 
MRC_API MR_FaceFaceMR_FaceFace_ConstructFromAnother (const MR_FaceFace *_other)
 
MRC_API MR_FaceFaceMR_FaceFace_Construct (MR_FaceId a, MR_FaceId b)
 
MRC_API void MR_FaceFace_Destroy (const MR_FaceFace *_this)
 Destroys a heap-allocated instance of MR_FaceFace. Does nothing if the pointer is null.
 
MRC_API void MR_FaceFace_DestroyArray (const MR_FaceFace *_this)
 Destroys a heap-allocated array of MR_FaceFace. Does nothing if the pointer is null.
 
MRC_API MR_FaceFaceMR_FaceFace_AssignFromAnother (MR_FaceFace *_this, const MR_FaceFace *_other)
 
MRC_API const MR_UndirectedEdgeIdMR_UndirectedEdgeUndirectedEdge_Get_aUndirEdge (const MR_UndirectedEdgeUndirectedEdge *_this)
 
MRC_API void MR_UndirectedEdgeUndirectedEdge_Set_aUndirEdge (MR_UndirectedEdgeUndirectedEdge *_this, MR_UndirectedEdgeId value)
 
MRC_API MR_UndirectedEdgeIdMR_UndirectedEdgeUndirectedEdge_GetMutable_aUndirEdge (MR_UndirectedEdgeUndirectedEdge *_this)
 
MRC_API const MR_UndirectedEdgeIdMR_UndirectedEdgeUndirectedEdge_Get_bUndirEdge (const MR_UndirectedEdgeUndirectedEdge *_this)
 
MRC_API void MR_UndirectedEdgeUndirectedEdge_Set_bUndirEdge (MR_UndirectedEdgeUndirectedEdge *_this, MR_UndirectedEdgeId value)
 
MRC_API MR_UndirectedEdgeIdMR_UndirectedEdgeUndirectedEdge_GetMutable_bUndirEdge (MR_UndirectedEdgeUndirectedEdge *_this)
 
MRC_API MR_UndirectedEdgeUndirectedEdgeMR_UndirectedEdgeUndirectedEdge_DefaultConstruct (void)
 
MRC_API MR_UndirectedEdgeUndirectedEdgeMR_UndirectedEdgeUndirectedEdge_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_UndirectedEdgeUndirectedEdgeMR_UndirectedEdgeUndirectedEdge_OffsetPtr (const MR_UndirectedEdgeUndirectedEdge *ptr, ptrdiff_t i)
 
MRC_API MR_UndirectedEdgeUndirectedEdgeMR_UndirectedEdgeUndirectedEdge_OffsetMutablePtr (MR_UndirectedEdgeUndirectedEdge *ptr, ptrdiff_t i)
 
MRC_API MR_UndirectedEdgeUndirectedEdgeMR_UndirectedEdgeUndirectedEdge_ConstructFromAnother (const MR_UndirectedEdgeUndirectedEdge *_other)
 
MRC_API MR_UndirectedEdgeUndirectedEdgeMR_UndirectedEdgeUndirectedEdge_Construct (MR_UndirectedEdgeId a, MR_UndirectedEdgeId b)
 
MRC_API void MR_UndirectedEdgeUndirectedEdge_Destroy (const MR_UndirectedEdgeUndirectedEdge *_this)
 Destroys a heap-allocated instance of MR_UndirectedEdgeUndirectedEdge. Does nothing if the pointer is null.
 
MRC_API void MR_UndirectedEdgeUndirectedEdge_DestroyArray (const MR_UndirectedEdgeUndirectedEdge *_this)
 Destroys a heap-allocated array of MR_UndirectedEdgeUndirectedEdge. Does nothing if the pointer is null.
 
MRC_API MR_UndirectedEdgeUndirectedEdgeMR_UndirectedEdgeUndirectedEdge_AssignFromAnother (MR_UndirectedEdgeUndirectedEdge *_this, const MR_UndirectedEdgeUndirectedEdge *_other)
 

Typedef Documentation

◆ MR_FaceFace

typedef struct MR_FaceFace MR_FaceFace

a pair of faces Generated from class MR::FaceFace. 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_UndirectedEdgeUndirectedEdge

a pair of undirected edges Generated from class MR::UndirectedEdgeUndirectedEdge. 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_FaceFace_AssignFromAnother()

MRC_API MR_FaceFace * MR_FaceFace_AssignFromAnother ( MR_FaceFace * _this,
const MR_FaceFace * _other )

Generated from method MR::FaceFace::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_FaceFace_Construct()

MRC_API MR_FaceFace * MR_FaceFace_Construct ( MR_FaceId a,
MR_FaceId b )

Generated from constructor MR::FaceFace::FaceFace. 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. Never returns null. Returns an instance allocated on the heap! Must call MR_FaceFace_Destroy() to free it when you're done using it.

◆ MR_FaceFace_ConstructFromAnother()

MRC_API MR_FaceFace * MR_FaceFace_ConstructFromAnother ( const MR_FaceFace * _other)

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

◆ MR_FaceFace_DefaultConstruct()

MRC_API MR_FaceFace * MR_FaceFace_DefaultConstruct ( void )

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

◆ MR_FaceFace_DefaultConstructArray()

MRC_API MR_FaceFace * MR_FaceFace_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_FaceFace_DestroyArray(). Use MR_FaceFace_OffsetMutablePtr() and MR_FaceFace_OffsetPtr() to access the array elements.

◆ MR_FaceFace_Destroy()

MRC_API void MR_FaceFace_Destroy ( const MR_FaceFace * _this)

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

◆ MR_FaceFace_DestroyArray()

MRC_API void MR_FaceFace_DestroyArray ( const MR_FaceFace * _this)

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

◆ MR_FaceFace_Get_aFace()

MRC_API const MR_FaceId * MR_FaceFace_Get_aFace ( const MR_FaceFace * _this)

Returns a pointer to a member variable of class MR::FaceFace named aFace. 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_FaceFace_Get_bFace()

MRC_API const MR_FaceId * MR_FaceFace_Get_bFace ( const MR_FaceFace * _this)

Returns a pointer to a member variable of class MR::FaceFace named bFace. 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_FaceFace_GetMutable_aFace()

MRC_API MR_FaceId * MR_FaceFace_GetMutable_aFace ( MR_FaceFace * _this)

Returns a mutable pointer to a member variable of class MR::FaceFace named aFace. 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_FaceFace_GetMutable_bFace()

MRC_API MR_FaceId * MR_FaceFace_GetMutable_bFace ( MR_FaceFace * _this)

Returns a mutable pointer to a member variable of class MR::FaceFace named bFace. 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_FaceFace_OffsetMutablePtr()

MRC_API MR_FaceFace * MR_FaceFace_OffsetMutablePtr ( MR_FaceFace * 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_FaceFace_OffsetPtr()

MRC_API const MR_FaceFace * MR_FaceFace_OffsetPtr ( const MR_FaceFace * 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_FaceFace_Set_aFace()

MRC_API void MR_FaceFace_Set_aFace ( MR_FaceFace * _this,
MR_FaceId value )

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

◆ MR_FaceFace_Set_bFace()

MRC_API void MR_FaceFace_Set_bFace ( MR_FaceFace * _this,
MR_FaceId value )

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

◆ MR_UndirectedEdgeUndirectedEdge_AssignFromAnother()

MRC_API MR_UndirectedEdgeUndirectedEdge * MR_UndirectedEdgeUndirectedEdge_AssignFromAnother ( MR_UndirectedEdgeUndirectedEdge * _this,
const MR_UndirectedEdgeUndirectedEdge * _other )

Generated from method MR::UndirectedEdgeUndirectedEdge::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_UndirectedEdgeUndirectedEdge_Construct()

MRC_API MR_UndirectedEdgeUndirectedEdge * MR_UndirectedEdgeUndirectedEdge_Construct ( MR_UndirectedEdgeId a,
MR_UndirectedEdgeId b )

Generated from constructor MR::UndirectedEdgeUndirectedEdge::UndirectedEdgeUndirectedEdge. 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. Never returns null. Returns an instance allocated on the heap! Must call MR_UndirectedEdgeUndirectedEdge_Destroy() to free it when you're done using it.

◆ MR_UndirectedEdgeUndirectedEdge_ConstructFromAnother()

MRC_API MR_UndirectedEdgeUndirectedEdge * MR_UndirectedEdgeUndirectedEdge_ConstructFromAnother ( const MR_UndirectedEdgeUndirectedEdge * _other)

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

◆ MR_UndirectedEdgeUndirectedEdge_DefaultConstruct()

MRC_API MR_UndirectedEdgeUndirectedEdge * MR_UndirectedEdgeUndirectedEdge_DefaultConstruct ( void )

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

◆ MR_UndirectedEdgeUndirectedEdge_DefaultConstructArray()

MRC_API MR_UndirectedEdgeUndirectedEdge * MR_UndirectedEdgeUndirectedEdge_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_UndirectedEdgeUndirectedEdge_DestroyArray(). Use MR_UndirectedEdgeUndirectedEdge_OffsetMutablePtr() and MR_UndirectedEdgeUndirectedEdge_OffsetPtr() to access the array elements.

◆ MR_UndirectedEdgeUndirectedEdge_Destroy()

MRC_API void MR_UndirectedEdgeUndirectedEdge_Destroy ( const MR_UndirectedEdgeUndirectedEdge * _this)

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

◆ MR_UndirectedEdgeUndirectedEdge_DestroyArray()

MRC_API void MR_UndirectedEdgeUndirectedEdge_DestroyArray ( const MR_UndirectedEdgeUndirectedEdge * _this)

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

◆ MR_UndirectedEdgeUndirectedEdge_Get_aUndirEdge()

MRC_API const MR_UndirectedEdgeId * MR_UndirectedEdgeUndirectedEdge_Get_aUndirEdge ( const MR_UndirectedEdgeUndirectedEdge * _this)

Returns a pointer to a member variable of class MR::UndirectedEdgeUndirectedEdge named aUndirEdge. 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_UndirectedEdgeUndirectedEdge_Get_bUndirEdge()

MRC_API const MR_UndirectedEdgeId * MR_UndirectedEdgeUndirectedEdge_Get_bUndirEdge ( const MR_UndirectedEdgeUndirectedEdge * _this)

Returns a pointer to a member variable of class MR::UndirectedEdgeUndirectedEdge named bUndirEdge. 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_UndirectedEdgeUndirectedEdge_GetMutable_aUndirEdge()

MRC_API MR_UndirectedEdgeId * MR_UndirectedEdgeUndirectedEdge_GetMutable_aUndirEdge ( MR_UndirectedEdgeUndirectedEdge * _this)

Returns a mutable pointer to a member variable of class MR::UndirectedEdgeUndirectedEdge named aUndirEdge. 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_UndirectedEdgeUndirectedEdge_GetMutable_bUndirEdge()

MRC_API MR_UndirectedEdgeId * MR_UndirectedEdgeUndirectedEdge_GetMutable_bUndirEdge ( MR_UndirectedEdgeUndirectedEdge * _this)

Returns a mutable pointer to a member variable of class MR::UndirectedEdgeUndirectedEdge named bUndirEdge. 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_UndirectedEdgeUndirectedEdge_OffsetMutablePtr()

MRC_API MR_UndirectedEdgeUndirectedEdge * MR_UndirectedEdgeUndirectedEdge_OffsetMutablePtr ( MR_UndirectedEdgeUndirectedEdge * 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_UndirectedEdgeUndirectedEdge_OffsetPtr()

MRC_API const MR_UndirectedEdgeUndirectedEdge * MR_UndirectedEdgeUndirectedEdge_OffsetPtr ( const MR_UndirectedEdgeUndirectedEdge * 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_UndirectedEdgeUndirectedEdge_Set_aUndirEdge()

MRC_API void MR_UndirectedEdgeUndirectedEdge_Set_aUndirEdge ( MR_UndirectedEdgeUndirectedEdge * _this,
MR_UndirectedEdgeId value )

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

◆ MR_UndirectedEdgeUndirectedEdge_Set_bUndirEdge()

MRC_API void MR_UndirectedEdgeUndirectedEdge_Set_bUndirEdge ( MR_UndirectedEdgeUndirectedEdge * _this,
MR_UndirectedEdgeId value )

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