MeshLib C Docs
Loading...
Searching...
No Matches
MRInnerShell.h File Reference
#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_Mesh MR_Mesh
 
typedef struct MR_MeshPart MR_MeshPart
 
typedef struct MR_Vector3f MR_Vector3f
 
typedef struct MR_VertBitSet MR_VertBitSet
 
typedef enum MR_Side MR_Side
 
typedef struct MR_FindInnerShellSettings MR_FindInnerShellSettings
 
typedef struct MR_ShellVertexInfo MR_ShellVertexInfo
 

Enumerations

enum  MR_Side { MR_Side_Negative = 0 , MR_Side_Positive = 1 }
 

Functions

MRC_API const MR_SideMR_FindInnerShellSettings_Get_side (const MR_FindInnerShellSettings *_this)
 
MRC_API void MR_FindInnerShellSettings_Set_side (MR_FindInnerShellSettings *_this, MR_Side value)
 
MRC_API MR_SideMR_FindInnerShellSettings_GetMutable_side (MR_FindInnerShellSettings *_this)
 
MRC_API const float * MR_FindInnerShellSettings_Get_maxDistSq (const MR_FindInnerShellSettings *_this)
 
MRC_API void MR_FindInnerShellSettings_Set_maxDistSq (MR_FindInnerShellSettings *_this, float value)
 
MRC_API float * MR_FindInnerShellSettings_GetMutable_maxDistSq (MR_FindInnerShellSettings *_this)
 
MRC_API const bool * MR_FindInnerShellSettings_Get_useWindingNumber (const MR_FindInnerShellSettings *_this)
 
MRC_API void MR_FindInnerShellSettings_Set_useWindingNumber (MR_FindInnerShellSettings *_this, bool value)
 
MRC_API bool * MR_FindInnerShellSettings_GetMutable_useWindingNumber (MR_FindInnerShellSettings *_this)
 
MRC_API const float * MR_FindInnerShellSettings_Get_windingNumberThreshold (const MR_FindInnerShellSettings *_this)
 
MRC_API void MR_FindInnerShellSettings_Set_windingNumberThreshold (MR_FindInnerShellSettings *_this, float value)
 
MRC_API float * MR_FindInnerShellSettings_GetMutable_windingNumberThreshold (MR_FindInnerShellSettings *_this)
 
MRC_API const int * MR_FindInnerShellSettings_Get_minVertsInComp (const MR_FindInnerShellSettings *_this)
 
MRC_API void MR_FindInnerShellSettings_Set_minVertsInComp (MR_FindInnerShellSettings *_this, int value)
 
MRC_API int * MR_FindInnerShellSettings_GetMutable_minVertsInComp (MR_FindInnerShellSettings *_this)
 
MRC_API MR_FindInnerShellSettingsMR_FindInnerShellSettings_DefaultConstruct (void)
 
MRC_API MR_FindInnerShellSettingsMR_FindInnerShellSettings_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_FindInnerShellSettingsMR_FindInnerShellSettings_ConstructFrom (MR_Side side, float maxDistSq, bool useWindingNumber, float windingNumberThreshold, int minVertsInComp)
 
MRC_API const MR_FindInnerShellSettingsMR_FindInnerShellSettings_OffsetPtr (const MR_FindInnerShellSettings *ptr, ptrdiff_t i)
 
MRC_API MR_FindInnerShellSettingsMR_FindInnerShellSettings_OffsetMutablePtr (MR_FindInnerShellSettings *ptr, ptrdiff_t i)
 
MRC_API MR_FindInnerShellSettingsMR_FindInnerShellSettings_ConstructFromAnother (const MR_FindInnerShellSettings *_other)
 
MRC_API void MR_FindInnerShellSettings_Destroy (const MR_FindInnerShellSettings *_this)
 Destroys a heap-allocated instance of MR_FindInnerShellSettings. Does nothing if the pointer is null.
 
MRC_API void MR_FindInnerShellSettings_DestroyArray (const MR_FindInnerShellSettings *_this)
 Destroys a heap-allocated array of MR_FindInnerShellSettings. Does nothing if the pointer is null.
 
MRC_API MR_FindInnerShellSettingsMR_FindInnerShellSettings_AssignFromAnother (MR_FindInnerShellSettings *_this, const MR_FindInnerShellSettings *_other)
 
MRC_API const bool * MR_ShellVertexInfo_Get_inRange (const MR_ShellVertexInfo *_this)
 
MRC_API void MR_ShellVertexInfo_Set_inRange (MR_ShellVertexInfo *_this, bool value)
 
MRC_API bool * MR_ShellVertexInfo_GetMutable_inRange (MR_ShellVertexInfo *_this)
 
MRC_API const bool * MR_ShellVertexInfo_Get_projOnBd (const MR_ShellVertexInfo *_this)
 
MRC_API void MR_ShellVertexInfo_Set_projOnBd (MR_ShellVertexInfo *_this, bool value)
 
MRC_API bool * MR_ShellVertexInfo_GetMutable_projOnBd (MR_ShellVertexInfo *_this)
 
MRC_API const bool * MR_ShellVertexInfo_Get_rightSide (const MR_ShellVertexInfo *_this)
 
MRC_API void MR_ShellVertexInfo_Set_rightSide (MR_ShellVertexInfo *_this, bool value)
 
MRC_API bool * MR_ShellVertexInfo_GetMutable_rightSide (MR_ShellVertexInfo *_this)
 
MRC_API MR_ShellVertexInfoMR_ShellVertexInfo_DefaultConstruct (void)
 
MRC_API MR_ShellVertexInfoMR_ShellVertexInfo_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_ShellVertexInfoMR_ShellVertexInfo_ConstructFrom (bool inRange, bool projOnBd, bool rightSide)
 
MRC_API const MR_ShellVertexInfoMR_ShellVertexInfo_OffsetPtr (const MR_ShellVertexInfo *ptr, ptrdiff_t i)
 
MRC_API MR_ShellVertexInfoMR_ShellVertexInfo_OffsetMutablePtr (MR_ShellVertexInfo *ptr, ptrdiff_t i)
 
MRC_API MR_ShellVertexInfoMR_ShellVertexInfo_ConstructFromAnother (const MR_ShellVertexInfo *_other)
 
MRC_API void MR_ShellVertexInfo_Destroy (const MR_ShellVertexInfo *_this)
 Destroys a heap-allocated instance of MR_ShellVertexInfo. Does nothing if the pointer is null.
 
MRC_API void MR_ShellVertexInfo_DestroyArray (const MR_ShellVertexInfo *_this)
 Destroys a heap-allocated array of MR_ShellVertexInfo. Does nothing if the pointer is null.
 
MRC_API MR_ShellVertexInfoMR_ShellVertexInfo_AssignFromAnother (MR_ShellVertexInfo *_this, const MR_ShellVertexInfo *_other)
 
MRC_API bool MR_ShellVertexInfo_valid (const MR_ShellVertexInfo *_this)
 
MRC_API MR_ShellVertexInfoMR_classifyShellVert (const MR_MeshPart *mp, const MR_Vector3f *shellPoint, const MR_FindInnerShellSettings *settings)
 
MRC_API MR_VertBitSetMR_findInnerShellVerts (const MR_MeshPart *mp, const MR_Mesh *shell, const MR_FindInnerShellSettings *settings)
 
MRC_API MR_FaceBitSetMR_findInnerShellFacesWithSplits (const MR_MeshPart *mp, MR_Mesh *shell, const MR_FindInnerShellSettings *settings)
 

Typedef Documentation

◆ MR_FaceBitSet

typedef struct MR_FaceBitSet MR_FaceBitSet

◆ MR_FindInnerShellSettings

Generated from class MR::FindInnerShellSettings. 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_Mesh

typedef struct MR_Mesh MR_Mesh

◆ MR_MeshPart

typedef struct MR_MeshPart MR_MeshPart

◆ MR_ShellVertexInfo

information about shell vertex Generated from class MR::ShellVertexInfo. 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_Side

typedef enum MR_Side MR_Side

◆ MR_Vector3f

typedef struct MR_Vector3f MR_Vector3f

◆ MR_VertBitSet

typedef struct MR_VertBitSet MR_VertBitSet

Enumeration Type Documentation

◆ MR_Side

enum MR_Side
Enumerator
MR_Side_Negative 
MR_Side_Positive 

Function Documentation

◆ MR_classifyShellVert()

MRC_API MR_ShellVertexInfo * MR_classifyShellVert ( const MR_MeshPart * mp,
const MR_Vector3f * shellPoint,
const MR_FindInnerShellSettings * settings )

Tests

Parameters
shellPointfrom bidirectional shell constructed for an open
mp;
Returns
whether the distance from given point to given mesh part is of same sign as settings.side, if useWindingNumber = false, returns false for all points projecting on mesh boundary Generated from function MR::classifyShellVert. Parameter mp can not be null. It is a single object. Parameter shellPoint 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_ShellVertexInfo_Destroy() to free it when you're done using it.

◆ MR_findInnerShellFacesWithSplits()

MRC_API MR_FaceBitSet * MR_findInnerShellFacesWithSplits ( const MR_MeshPart * mp,
MR_Mesh * shell,
const MR_FindInnerShellSettings * settings )

Finds inner-shell faces on bidirectional

Parameters
shellconstructed for an open
mp;The function will return all shell faces (after some subdivision) that have distance to mesh of same sign as settings.side Generated from function MR::findInnerShellFacesWithSplits. Parameter mp can not be null. It is a single object. Parameter shell 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_FaceBitSet_Destroy() to free it when you're done using it.

◆ MR_FindInnerShellSettings_AssignFromAnother()

MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_AssignFromAnother ( MR_FindInnerShellSettings * _this,
const MR_FindInnerShellSettings * _other )

Generated from method MR::FindInnerShellSettings::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_FindInnerShellSettings_ConstructFrom()

MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_ConstructFrom ( MR_Side side,
float maxDistSq,
bool useWindingNumber,
float windingNumberThreshold,
int minVertsInComp )

Constructs MR::FindInnerShellSettings elementwise. The reference to the parameter side might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_FindInnerShellSettings_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_FindInnerShellSettings_ConstructFromAnother()

MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_ConstructFromAnother ( const MR_FindInnerShellSettings * _other)

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

◆ MR_FindInnerShellSettings_DefaultConstruct()

MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_DefaultConstruct ( void )

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

◆ MR_FindInnerShellSettings_DefaultConstructArray()

MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_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_FindInnerShellSettings_DestroyArray(). Use MR_FindInnerShellSettings_OffsetMutablePtr() and MR_FindInnerShellSettings_OffsetPtr() to access the array elements.

◆ MR_FindInnerShellSettings_Destroy()

MRC_API void MR_FindInnerShellSettings_Destroy ( const MR_FindInnerShellSettings * _this)

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

◆ MR_FindInnerShellSettings_DestroyArray()

MRC_API void MR_FindInnerShellSettings_DestroyArray ( const MR_FindInnerShellSettings * _this)

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

◆ MR_FindInnerShellSettings_Get_maxDistSq()

MRC_API const float * MR_FindInnerShellSettings_Get_maxDistSq ( const MR_FindInnerShellSettings * _this)

specifies maximum squared distance from shell parts of interest to source mesh Returns a pointer to a member variable of class MR::FindInnerShellSettings named maxDistSq. 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_FindInnerShellSettings_Get_minVertsInComp()

MRC_API const int * MR_FindInnerShellSettings_Get_minVertsInComp ( const MR_FindInnerShellSettings * _this)

components of proper side with smaller number of vertices than this value will be removed from the result; components of wrong side with smaller number of vertices than this value will be added to the result Returns a pointer to a member variable of class MR::FindInnerShellSettings named minVertsInComp. 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_FindInnerShellSettings_Get_side()

MRC_API const MR_Side * MR_FindInnerShellSettings_Get_side ( const MR_FindInnerShellSettings * _this)

specifies which side of shell is of interest: negative or positive relative to mesh normals Returns a pointer to a member variable of class MR::FindInnerShellSettings named side. 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_FindInnerShellSettings_Get_useWindingNumber()

MRC_API const bool * MR_FindInnerShellSettings_Get_useWindingNumber ( const MR_FindInnerShellSettings * _this)

if true, a slower algorithm is activated that is more robust in the presence of self-intersections on mesh Returns a pointer to a member variable of class MR::FindInnerShellSettings named useWindingNumber. 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_FindInnerShellSettings_Get_windingNumberThreshold()

MRC_API const float * MR_FindInnerShellSettings_Get_windingNumberThreshold ( const MR_FindInnerShellSettings * _this)

positive side if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a pointer to a member variable of class MR::FindInnerShellSettings named windingNumberThreshold. 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_FindInnerShellSettings_GetMutable_maxDistSq()

MRC_API float * MR_FindInnerShellSettings_GetMutable_maxDistSq ( MR_FindInnerShellSettings * _this)

specifies maximum squared distance from shell parts of interest to source mesh Returns a mutable pointer to a member variable of class MR::FindInnerShellSettings named maxDistSq. 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_FindInnerShellSettings_GetMutable_minVertsInComp()

MRC_API int * MR_FindInnerShellSettings_GetMutable_minVertsInComp ( MR_FindInnerShellSettings * _this)

components of proper side with smaller number of vertices than this value will be removed from the result; components of wrong side with smaller number of vertices than this value will be added to the result Returns a mutable pointer to a member variable of class MR::FindInnerShellSettings named minVertsInComp. 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_FindInnerShellSettings_GetMutable_side()

MRC_API MR_Side * MR_FindInnerShellSettings_GetMutable_side ( MR_FindInnerShellSettings * _this)

specifies which side of shell is of interest: negative or positive relative to mesh normals Returns a mutable pointer to a member variable of class MR::FindInnerShellSettings named side. 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_FindInnerShellSettings_GetMutable_useWindingNumber()

MRC_API bool * MR_FindInnerShellSettings_GetMutable_useWindingNumber ( MR_FindInnerShellSettings * _this)

if true, a slower algorithm is activated that is more robust in the presence of self-intersections on mesh Returns a mutable pointer to a member variable of class MR::FindInnerShellSettings named useWindingNumber. 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_FindInnerShellSettings_GetMutable_windingNumberThreshold()

MRC_API float * MR_FindInnerShellSettings_GetMutable_windingNumberThreshold ( MR_FindInnerShellSettings * _this)

positive side if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a mutable pointer to a member variable of class MR::FindInnerShellSettings named windingNumberThreshold. 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_FindInnerShellSettings_OffsetMutablePtr()

MRC_API MR_FindInnerShellSettings * MR_FindInnerShellSettings_OffsetMutablePtr ( MR_FindInnerShellSettings * 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_FindInnerShellSettings_OffsetPtr()

MRC_API const MR_FindInnerShellSettings * MR_FindInnerShellSettings_OffsetPtr ( const MR_FindInnerShellSettings * 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_FindInnerShellSettings_Set_maxDistSq()

MRC_API void MR_FindInnerShellSettings_Set_maxDistSq ( MR_FindInnerShellSettings * _this,
float value )

specifies maximum squared distance from shell parts of interest to source mesh Modifies a member variable of class MR::FindInnerShellSettings named maxDistSq. 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 maxDistSq.

◆ MR_FindInnerShellSettings_Set_minVertsInComp()

MRC_API void MR_FindInnerShellSettings_Set_minVertsInComp ( MR_FindInnerShellSettings * _this,
int value )

components of proper side with smaller number of vertices than this value will be removed from the result; components of wrong side with smaller number of vertices than this value will be added to the result Modifies a member variable of class MR::FindInnerShellSettings named minVertsInComp. 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 minVertsInComp.

◆ MR_FindInnerShellSettings_Set_side()

MRC_API void MR_FindInnerShellSettings_Set_side ( MR_FindInnerShellSettings * _this,
MR_Side value )

specifies which side of shell is of interest: negative or positive relative to mesh normals Modifies a member variable of class MR::FindInnerShellSettings named side. 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 side. When this function is called, this object will drop object references it had previously in side.

◆ MR_FindInnerShellSettings_Set_useWindingNumber()

MRC_API void MR_FindInnerShellSettings_Set_useWindingNumber ( MR_FindInnerShellSettings * _this,
bool value )

if true, a slower algorithm is activated that is more robust in the presence of self-intersections on mesh Modifies a member variable of class MR::FindInnerShellSettings named useWindingNumber. 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 useWindingNumber.

◆ MR_FindInnerShellSettings_Set_windingNumberThreshold()

MRC_API void MR_FindInnerShellSettings_Set_windingNumberThreshold ( MR_FindInnerShellSettings * _this,
float value )

positive side if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Modifies a member variable of class MR::FindInnerShellSettings named windingNumberThreshold. 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 windingNumberThreshold.

◆ MR_findInnerShellVerts()

MRC_API MR_VertBitSet * MR_findInnerShellVerts ( const MR_MeshPart * mp,
const MR_Mesh * shell,
const MR_FindInnerShellSettings * settings )

Finds inner-shell vertices on bidirectional

Parameters
shellconstructed for an open
mp;The function will return all shell vertices that have distance to mesh of same sign as settings.side Generated from function MR::findInnerShellVerts. Parameter mp can not be null. It is a single object. Parameter shell 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_VertBitSet_Destroy() to free it when you're done using it.

◆ MR_ShellVertexInfo_AssignFromAnother()

MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_AssignFromAnother ( MR_ShellVertexInfo * _this,
const MR_ShellVertexInfo * _other )

Generated from method MR::ShellVertexInfo::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_ShellVertexInfo_ConstructFrom()

MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_ConstructFrom ( bool inRange,
bool projOnBd,
bool rightSide )

Constructs MR::ShellVertexInfo elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_ShellVertexInfo_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_ShellVertexInfo_ConstructFromAnother()

MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_ConstructFromAnother ( const MR_ShellVertexInfo * _other)

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

◆ MR_ShellVertexInfo_DefaultConstruct()

MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_DefaultConstruct ( void )

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

◆ MR_ShellVertexInfo_DefaultConstructArray()

MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_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_ShellVertexInfo_DestroyArray(). Use MR_ShellVertexInfo_OffsetMutablePtr() and MR_ShellVertexInfo_OffsetPtr() to access the array elements.

◆ MR_ShellVertexInfo_Destroy()

MRC_API void MR_ShellVertexInfo_Destroy ( const MR_ShellVertexInfo * _this)

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

◆ MR_ShellVertexInfo_DestroyArray()

MRC_API void MR_ShellVertexInfo_DestroyArray ( const MR_ShellVertexInfo * _this)

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

◆ MR_ShellVertexInfo_Get_inRange()

MRC_API const bool * MR_ShellVertexInfo_Get_inRange ( const MR_ShellVertexInfo * _this)

true when shell vertex is within settings.maxDist from source mesh Returns a pointer to a member variable of class MR::ShellVertexInfo named inRange. 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_ShellVertexInfo_Get_projOnBd()

MRC_API const bool * MR_ShellVertexInfo_Get_projOnBd ( const MR_ShellVertexInfo * _this)

shell vertex projects on source mesh boundary (never true for winding rule mode) Returns a pointer to a member variable of class MR::ShellVertexInfo named projOnBd. 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_ShellVertexInfo_Get_rightSide()

MRC_API const bool * MR_ShellVertexInfo_Get_rightSide ( const MR_ShellVertexInfo * _this)

whether shell vertex is on requested side of source mesh Returns a pointer to a member variable of class MR::ShellVertexInfo named rightSide. 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_ShellVertexInfo_GetMutable_inRange()

MRC_API bool * MR_ShellVertexInfo_GetMutable_inRange ( MR_ShellVertexInfo * _this)

true when shell vertex is within settings.maxDist from source mesh Returns a mutable pointer to a member variable of class MR::ShellVertexInfo named inRange. 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_ShellVertexInfo_GetMutable_projOnBd()

MRC_API bool * MR_ShellVertexInfo_GetMutable_projOnBd ( MR_ShellVertexInfo * _this)

shell vertex projects on source mesh boundary (never true for winding rule mode) Returns a mutable pointer to a member variable of class MR::ShellVertexInfo named projOnBd. 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_ShellVertexInfo_GetMutable_rightSide()

MRC_API bool * MR_ShellVertexInfo_GetMutable_rightSide ( MR_ShellVertexInfo * _this)

whether shell vertex is on requested side of source mesh Returns a mutable pointer to a member variable of class MR::ShellVertexInfo named rightSide. 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_ShellVertexInfo_OffsetMutablePtr()

MRC_API MR_ShellVertexInfo * MR_ShellVertexInfo_OffsetMutablePtr ( MR_ShellVertexInfo * 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_ShellVertexInfo_OffsetPtr()

MRC_API const MR_ShellVertexInfo * MR_ShellVertexInfo_OffsetPtr ( const MR_ShellVertexInfo * 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_ShellVertexInfo_Set_inRange()

MRC_API void MR_ShellVertexInfo_Set_inRange ( MR_ShellVertexInfo * _this,
bool value )

true when shell vertex is within settings.maxDist from source mesh Modifies a member variable of class MR::ShellVertexInfo named inRange. 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 inRange.

◆ MR_ShellVertexInfo_Set_projOnBd()

MRC_API void MR_ShellVertexInfo_Set_projOnBd ( MR_ShellVertexInfo * _this,
bool value )

shell vertex projects on source mesh boundary (never true for winding rule mode) Modifies a member variable of class MR::ShellVertexInfo named projOnBd. 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 projOnBd.

◆ MR_ShellVertexInfo_Set_rightSide()

MRC_API void MR_ShellVertexInfo_Set_rightSide ( MR_ShellVertexInfo * _this,
bool value )

whether shell vertex is on requested side of source mesh Modifies a member variable of class MR::ShellVertexInfo named rightSide. 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 rightSide.

◆ MR_ShellVertexInfo_valid()

MRC_API bool MR_ShellVertexInfo_valid ( const MR_ShellVertexInfo * _this)

returns true if shell vertex is in range, does not project on boundary and located on proper side Generated from method MR::ShellVertexInfo::valid. Parameter _this can not be null. It is a single object.