MeshLib C Docs
Loading...
Searching...
No Matches
MROffsetContours.h File Reference
#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_std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_ref MR_std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_ref
 
typedef struct MR_std_function_float_from_int_int MR_std_function_float_from_int_int
 
typedef struct MR_std_vector_std_vector_MR_OffsetContoursOrigins MR_std_vector_std_vector_MR_OffsetContoursOrigins
 
typedef struct MR_std_vector_std_vector_MR_Vector2f MR_std_vector_std_vector_MR_Vector2f
 
typedef struct MR_std_vector_std_vector_MR_Vector3f MR_std_vector_std_vector_MR_Vector3f
 
typedef struct MR_OffsetContourIndex MR_OffsetContourIndex
 
typedef struct MR_OffsetContoursOrigins MR_OffsetContoursOrigins
 
typedef enum MR_OffsetContoursParams_Type MR_OffsetContoursParams_Type
 type of offset
 
typedef enum MR_OffsetContoursParams_EndType MR_OffsetContoursParams_EndType
 type of offsetting on ends of non-closed contours
 
typedef enum MR_OffsetContoursParams_CornerType MR_OffsetContoursParams_CornerType
 type of positive offset curve in corners
 
typedef struct MR_OffsetContoursParams MR_OffsetContoursParams
 
typedef struct MR_OffsetContoursRestoreZParams MR_OffsetContoursRestoreZParams
 

Enumerations

enum  MR_OffsetContoursParams_Type { MR_OffsetContoursParams_Type_Offset = 0 , MR_OffsetContoursParams_Type_Shell = 1 }
 type of offset More...
 
enum  MR_OffsetContoursParams_EndType { MR_OffsetContoursParams_EndType_Round = 0 , MR_OffsetContoursParams_EndType_Cut = 1 }
 type of offsetting on ends of non-closed contours More...
 
enum  MR_OffsetContoursParams_CornerType { MR_OffsetContoursParams_CornerType_Round = 0 , MR_OffsetContoursParams_CornerType_Sharp = 1 }
 type of positive offset curve in corners More...
 

Functions

MRC_API const int * MR_OffsetContourIndex_Get_contourId (const MR_OffsetContourIndex *_this)
 
MRC_API void MR_OffsetContourIndex_Set_contourId (MR_OffsetContourIndex *_this, int value)
 
MRC_API int * MR_OffsetContourIndex_GetMutable_contourId (MR_OffsetContourIndex *_this)
 
MRC_API const int * MR_OffsetContourIndex_Get_vertId (const MR_OffsetContourIndex *_this)
 
MRC_API void MR_OffsetContourIndex_Set_vertId (MR_OffsetContourIndex *_this, int value)
 
MRC_API int * MR_OffsetContourIndex_GetMutable_vertId (MR_OffsetContourIndex *_this)
 
MRC_API MR_OffsetContourIndexMR_OffsetContourIndex_DefaultConstruct (void)
 
MRC_API MR_OffsetContourIndexMR_OffsetContourIndex_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_OffsetContourIndexMR_OffsetContourIndex_ConstructFrom (int contourId, int vertId)
 
MRC_API const MR_OffsetContourIndexMR_OffsetContourIndex_OffsetPtr (const MR_OffsetContourIndex *ptr, ptrdiff_t i)
 
MRC_API MR_OffsetContourIndexMR_OffsetContourIndex_OffsetMutablePtr (MR_OffsetContourIndex *ptr, ptrdiff_t i)
 
MRC_API MR_OffsetContourIndexMR_OffsetContourIndex_ConstructFromAnother (const MR_OffsetContourIndex *_other)
 
MRC_API void MR_OffsetContourIndex_Destroy (const MR_OffsetContourIndex *_this)
 Destroys a heap-allocated instance of MR_OffsetContourIndex. Does nothing if the pointer is null.
 
MRC_API void MR_OffsetContourIndex_DestroyArray (const MR_OffsetContourIndex *_this)
 Destroys a heap-allocated array of MR_OffsetContourIndex. Does nothing if the pointer is null.
 
MRC_API MR_OffsetContourIndexMR_OffsetContourIndex_AssignFromAnother (MR_OffsetContourIndex *_this, const MR_OffsetContourIndex *_other)
 
MRC_API bool MR_OffsetContourIndex_valid (const MR_OffsetContourIndex *_this)
 
MRC_API const MR_OffsetContourIndexMR_OffsetContoursOrigins_Get_lOrg (const MR_OffsetContoursOrigins *_this)
 
MRC_API void MR_OffsetContoursOrigins_Set_lOrg (MR_OffsetContoursOrigins *_this, const MR_OffsetContourIndex *value)
 
MRC_API MR_OffsetContourIndexMR_OffsetContoursOrigins_GetMutable_lOrg (MR_OffsetContoursOrigins *_this)
 
MRC_API const MR_OffsetContourIndexMR_OffsetContoursOrigins_Get_lDest (const MR_OffsetContoursOrigins *_this)
 
MRC_API void MR_OffsetContoursOrigins_Set_lDest (MR_OffsetContoursOrigins *_this, const MR_OffsetContourIndex *value)
 
MRC_API MR_OffsetContourIndexMR_OffsetContoursOrigins_GetMutable_lDest (MR_OffsetContoursOrigins *_this)
 
MRC_API const MR_OffsetContourIndexMR_OffsetContoursOrigins_Get_uOrg (const MR_OffsetContoursOrigins *_this)
 
MRC_API void MR_OffsetContoursOrigins_Set_uOrg (MR_OffsetContoursOrigins *_this, const MR_OffsetContourIndex *value)
 
MRC_API MR_OffsetContourIndexMR_OffsetContoursOrigins_GetMutable_uOrg (MR_OffsetContoursOrigins *_this)
 
MRC_API const MR_OffsetContourIndexMR_OffsetContoursOrigins_Get_uDest (const MR_OffsetContoursOrigins *_this)
 
MRC_API void MR_OffsetContoursOrigins_Set_uDest (MR_OffsetContoursOrigins *_this, const MR_OffsetContourIndex *value)
 
MRC_API MR_OffsetContourIndexMR_OffsetContoursOrigins_GetMutable_uDest (MR_OffsetContoursOrigins *_this)
 
MRC_API const float * MR_OffsetContoursOrigins_Get_lRatio (const MR_OffsetContoursOrigins *_this)
 
MRC_API void MR_OffsetContoursOrigins_Set_lRatio (MR_OffsetContoursOrigins *_this, float value)
 
MRC_API float * MR_OffsetContoursOrigins_GetMutable_lRatio (MR_OffsetContoursOrigins *_this)
 
MRC_API const float * MR_OffsetContoursOrigins_Get_uRatio (const MR_OffsetContoursOrigins *_this)
 
MRC_API void MR_OffsetContoursOrigins_Set_uRatio (MR_OffsetContoursOrigins *_this, float value)
 
MRC_API float * MR_OffsetContoursOrigins_GetMutable_uRatio (MR_OffsetContoursOrigins *_this)
 
MRC_API MR_OffsetContoursOriginsMR_OffsetContoursOrigins_DefaultConstruct (void)
 
MRC_API MR_OffsetContoursOriginsMR_OffsetContoursOrigins_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_OffsetContoursOriginsMR_OffsetContoursOrigins_ConstructFrom (const MR_OffsetContourIndex *lOrg, const MR_OffsetContourIndex *lDest, const MR_OffsetContourIndex *uOrg, const MR_OffsetContourIndex *uDest, float lRatio, float uRatio)
 
MRC_API const MR_OffsetContoursOriginsMR_OffsetContoursOrigins_OffsetPtr (const MR_OffsetContoursOrigins *ptr, ptrdiff_t i)
 
MRC_API MR_OffsetContoursOriginsMR_OffsetContoursOrigins_OffsetMutablePtr (MR_OffsetContoursOrigins *ptr, ptrdiff_t i)
 
MRC_API MR_OffsetContoursOriginsMR_OffsetContoursOrigins_ConstructFromAnother (const MR_OffsetContoursOrigins *_other)
 
MRC_API void MR_OffsetContoursOrigins_Destroy (const MR_OffsetContoursOrigins *_this)
 Destroys a heap-allocated instance of MR_OffsetContoursOrigins. Does nothing if the pointer is null.
 
MRC_API void MR_OffsetContoursOrigins_DestroyArray (const MR_OffsetContoursOrigins *_this)
 Destroys a heap-allocated array of MR_OffsetContoursOrigins. Does nothing if the pointer is null.
 
MRC_API MR_OffsetContoursOriginsMR_OffsetContoursOrigins_AssignFromAnother (MR_OffsetContoursOrigins *_this, const MR_OffsetContoursOrigins *_other)
 
MRC_API bool MR_OffsetContoursOrigins_valid (const MR_OffsetContoursOrigins *_this)
 
MRC_API bool MR_OffsetContoursOrigins_isIntersection (const MR_OffsetContoursOrigins *_this)
 
MRC_API const MR_OffsetContoursParams_TypeMR_OffsetContoursParams_Get_type (const MR_OffsetContoursParams *_this)
 
MRC_API void MR_OffsetContoursParams_Set_type (MR_OffsetContoursParams *_this, MR_OffsetContoursParams_Type value)
 
MRC_API MR_OffsetContoursParams_TypeMR_OffsetContoursParams_GetMutable_type (MR_OffsetContoursParams *_this)
 
MRC_API const MR_OffsetContoursParams_EndTypeMR_OffsetContoursParams_Get_endType (const MR_OffsetContoursParams *_this)
 
MRC_API void MR_OffsetContoursParams_Set_endType (MR_OffsetContoursParams *_this, MR_OffsetContoursParams_EndType value)
 
MRC_API MR_OffsetContoursParams_EndTypeMR_OffsetContoursParams_GetMutable_endType (MR_OffsetContoursParams *_this)
 
MRC_API const MR_OffsetContoursParams_CornerTypeMR_OffsetContoursParams_Get_cornerType (const MR_OffsetContoursParams *_this)
 
MRC_API void MR_OffsetContoursParams_Set_cornerType (MR_OffsetContoursParams *_this, MR_OffsetContoursParams_CornerType value)
 
MRC_API MR_OffsetContoursParams_CornerTypeMR_OffsetContoursParams_GetMutable_cornerType (MR_OffsetContoursParams *_this)
 
MRC_API const float * MR_OffsetContoursParams_Get_minAnglePrecision (const MR_OffsetContoursParams *_this)
 
MRC_API void MR_OffsetContoursParams_Set_minAnglePrecision (MR_OffsetContoursParams *_this, float value)
 
MRC_API float * MR_OffsetContoursParams_GetMutable_minAnglePrecision (MR_OffsetContoursParams *_this)
 
MRC_API const float * MR_OffsetContoursParams_Get_maxSharpAngle (const MR_OffsetContoursParams *_this)
 
MRC_API void MR_OffsetContoursParams_Set_maxSharpAngle (MR_OffsetContoursParams *_this, float value)
 
MRC_API float * MR_OffsetContoursParams_GetMutable_maxSharpAngle (MR_OffsetContoursParams *_this)
 
MRC_API MR_std_vector_std_vector_MR_OffsetContoursOrigins *const * MR_OffsetContoursParams_Get_indicesMap (const MR_OffsetContoursParams *_this)
 
MRC_API void MR_OffsetContoursParams_Set_indicesMap (MR_OffsetContoursParams *_this, MR_std_vector_std_vector_MR_OffsetContoursOrigins *value)
 
MRC_API MR_std_vector_std_vector_MR_OffsetContoursOrigins ** MR_OffsetContoursParams_GetMutable_indicesMap (MR_OffsetContoursParams *_this)
 
MRC_API MR_OffsetContoursParamsMR_OffsetContoursParams_DefaultConstruct (void)
 
MRC_API MR_OffsetContoursParamsMR_OffsetContoursParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_OffsetContoursParamsMR_OffsetContoursParams_ConstructFrom (MR_OffsetContoursParams_Type type, MR_OffsetContoursParams_EndType endType, MR_OffsetContoursParams_CornerType cornerType, float minAnglePrecision, float maxSharpAngle, MR_std_vector_std_vector_MR_OffsetContoursOrigins *indicesMap)
 
MRC_API const MR_OffsetContoursParamsMR_OffsetContoursParams_OffsetPtr (const MR_OffsetContoursParams *ptr, ptrdiff_t i)
 
MRC_API MR_OffsetContoursParamsMR_OffsetContoursParams_OffsetMutablePtr (MR_OffsetContoursParams *ptr, ptrdiff_t i)
 
MRC_API MR_OffsetContoursParamsMR_OffsetContoursParams_ConstructFromAnother (const MR_OffsetContoursParams *_other)
 
MRC_API void MR_OffsetContoursParams_Destroy (const MR_OffsetContoursParams *_this)
 Destroys a heap-allocated instance of MR_OffsetContoursParams. Does nothing if the pointer is null.
 
MRC_API void MR_OffsetContoursParams_DestroyArray (const MR_OffsetContoursParams *_this)
 Destroys a heap-allocated array of MR_OffsetContoursParams. Does nothing if the pointer is null.
 
MRC_API MR_OffsetContoursParamsMR_OffsetContoursParams_AssignFromAnother (MR_OffsetContoursParams *_this, const MR_OffsetContoursParams *_other)
 
MRC_API MR_std_vector_std_vector_MR_Vector2fMR_offsetContours_3_float (const MR_std_vector_std_vector_MR_Vector2f *contours, float offset, const MR_OffsetContoursParams *params)
 
MRC_API MR_std_vector_std_vector_MR_Vector2fMR_offsetContours_3_std_function_float_func_from_int_int (const MR_std_vector_std_vector_MR_Vector2f *contours, MR_PassBy offset_pass_by, MR_std_function_float_from_int_int *offset, const MR_OffsetContoursParams *params)
 
MRC_API const MR_std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_refMR_OffsetContoursRestoreZParams_Get_zCallback (const MR_OffsetContoursRestoreZParams *_this)
 
MRC_API void MR_OffsetContoursRestoreZParams_Set_zCallback (MR_OffsetContoursRestoreZParams *_this, MR_PassBy value_pass_by, MR_std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_ref *value)
 
MRC_API MR_std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_refMR_OffsetContoursRestoreZParams_GetMutable_zCallback (MR_OffsetContoursRestoreZParams *_this)
 
MRC_API const int * MR_OffsetContoursRestoreZParams_Get_relaxIterations (const MR_OffsetContoursRestoreZParams *_this)
 
MRC_API void MR_OffsetContoursRestoreZParams_Set_relaxIterations (MR_OffsetContoursRestoreZParams *_this, int value)
 
MRC_API int * MR_OffsetContoursRestoreZParams_GetMutable_relaxIterations (MR_OffsetContoursRestoreZParams *_this)
 
MRC_API MR_OffsetContoursRestoreZParamsMR_OffsetContoursRestoreZParams_DefaultConstruct (void)
 
MRC_API MR_OffsetContoursRestoreZParamsMR_OffsetContoursRestoreZParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_OffsetContoursRestoreZParamsMR_OffsetContoursRestoreZParams_ConstructFrom (MR_PassBy zCallback_pass_by, MR_std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_ref *zCallback, int relaxIterations)
 
MRC_API const MR_OffsetContoursRestoreZParamsMR_OffsetContoursRestoreZParams_OffsetPtr (const MR_OffsetContoursRestoreZParams *ptr, ptrdiff_t i)
 
MRC_API MR_OffsetContoursRestoreZParamsMR_OffsetContoursRestoreZParams_OffsetMutablePtr (MR_OffsetContoursRestoreZParams *ptr, ptrdiff_t i)
 
MRC_API MR_OffsetContoursRestoreZParamsMR_OffsetContoursRestoreZParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_OffsetContoursRestoreZParams *_other)
 
MRC_API void MR_OffsetContoursRestoreZParams_Destroy (const MR_OffsetContoursRestoreZParams *_this)
 Destroys a heap-allocated instance of MR_OffsetContoursRestoreZParams. Does nothing if the pointer is null.
 
MRC_API void MR_OffsetContoursRestoreZParams_DestroyArray (const MR_OffsetContoursRestoreZParams *_this)
 Destroys a heap-allocated array of MR_OffsetContoursRestoreZParams. Does nothing if the pointer is null.
 
MRC_API MR_OffsetContoursRestoreZParamsMR_OffsetContoursRestoreZParams_AssignFromAnother (MR_OffsetContoursRestoreZParams *_this, MR_PassBy _other_pass_by, MR_OffsetContoursRestoreZParams *_other)
 
MRC_API MR_std_vector_std_vector_MR_Vector3fMR_offsetContours_4_float (const MR_std_vector_std_vector_MR_Vector3f *contours, float offset, const MR_OffsetContoursParams *params, const MR_OffsetContoursRestoreZParams *zParmas)
 
MRC_API MR_std_vector_std_vector_MR_Vector3fMR_offsetContours_4_std_function_float_func_from_int_int (const MR_std_vector_std_vector_MR_Vector3f *contours, MR_PassBy offset_pass_by, MR_std_function_float_from_int_int *offset, const MR_OffsetContoursParams *params, const MR_OffsetContoursRestoreZParams *zParmas)
 

Typedef Documentation

◆ MR_OffsetContourIndex

Generated from class MR::OffsetContourIndex. 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_OffsetContoursOrigins

Generated from class MR::OffsetContoursOrigins. 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_OffsetContoursParams

Generated from class MR::OffsetContoursParams. 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_OffsetContoursParams_CornerType

type of positive offset curve in corners

◆ MR_OffsetContoursParams_EndType

type of offsetting on ends of non-closed contours

◆ MR_OffsetContoursParams_Type

◆ MR_OffsetContoursRestoreZParams

Parameters of restoring Z coordinate of XY offset 3d contours Generated from class MR::OffsetContoursRestoreZParams. 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_std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_ref

◆ MR_std_function_float_from_int_int

◆ MR_std_vector_std_vector_MR_OffsetContoursOrigins

◆ MR_std_vector_std_vector_MR_Vector2f

◆ MR_std_vector_std_vector_MR_Vector3f

Enumeration Type Documentation

◆ MR_OffsetContoursParams_CornerType

type of positive offset curve in corners

Enumerator
MR_OffsetContoursParams_CornerType_Round 

creates round corners (use minAnglePrecision)

creates sharp connected corner (use maxSharpAngle as limit)

MR_OffsetContoursParams_CornerType_Sharp 

◆ MR_OffsetContoursParams_EndType

type of offsetting on ends of non-closed contours

Enumerator
MR_OffsetContoursParams_EndType_Round 

creates round ends (use minAnglePrecision)

creates sharp end (same as Round with minAnglePrecision < 180 deg)

MR_OffsetContoursParams_EndType_Cut 

◆ MR_OffsetContoursParams_Type

type of offset

Enumerator
MR_OffsetContoursParams_Type_Offset 

One-side signed offset, requires closed contours.

Two-side offset

MR_OffsetContoursParams_Type_Shell 

Function Documentation

◆ MR_OffsetContourIndex_AssignFromAnother()

MRC_API MR_OffsetContourIndex * MR_OffsetContourIndex_AssignFromAnother ( MR_OffsetContourIndex * _this,
const MR_OffsetContourIndex * _other )

Generated from method MR::OffsetContourIndex::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_OffsetContourIndex_ConstructFrom()

MRC_API MR_OffsetContourIndex * MR_OffsetContourIndex_ConstructFrom ( int contourId,
int vertId )

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

MRC_API MR_OffsetContourIndex * MR_OffsetContourIndex_ConstructFromAnother ( const MR_OffsetContourIndex * _other)

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

◆ MR_OffsetContourIndex_DefaultConstruct()

MRC_API MR_OffsetContourIndex * MR_OffsetContourIndex_DefaultConstruct ( void )

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

◆ MR_OffsetContourIndex_DefaultConstructArray()

MRC_API MR_OffsetContourIndex * MR_OffsetContourIndex_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_OffsetContourIndex_DestroyArray(). Use MR_OffsetContourIndex_OffsetMutablePtr() and MR_OffsetContourIndex_OffsetPtr() to access the array elements.

◆ MR_OffsetContourIndex_Destroy()

MRC_API void MR_OffsetContourIndex_Destroy ( const MR_OffsetContourIndex * _this)

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

◆ MR_OffsetContourIndex_DestroyArray()

MRC_API void MR_OffsetContourIndex_DestroyArray ( const MR_OffsetContourIndex * _this)

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

◆ MR_OffsetContourIndex_Get_contourId()

MRC_API const int * MR_OffsetContourIndex_Get_contourId ( const MR_OffsetContourIndex * _this)

Returns a pointer to a member variable of class MR::OffsetContourIndex named contourId. 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_OffsetContourIndex_Get_vertId()

MRC_API const int * MR_OffsetContourIndex_Get_vertId ( const MR_OffsetContourIndex * _this)

Returns a pointer to a member variable of class MR::OffsetContourIndex named vertId. 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_OffsetContourIndex_GetMutable_contourId()

MRC_API int * MR_OffsetContourIndex_GetMutable_contourId ( MR_OffsetContourIndex * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContourIndex named contourId. 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_OffsetContourIndex_GetMutable_vertId()

MRC_API int * MR_OffsetContourIndex_GetMutable_vertId ( MR_OffsetContourIndex * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContourIndex named vertId. 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_OffsetContourIndex_OffsetMutablePtr()

MRC_API MR_OffsetContourIndex * MR_OffsetContourIndex_OffsetMutablePtr ( MR_OffsetContourIndex * 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_OffsetContourIndex_OffsetPtr()

MRC_API const MR_OffsetContourIndex * MR_OffsetContourIndex_OffsetPtr ( const MR_OffsetContourIndex * 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_OffsetContourIndex_Set_contourId()

MRC_API void MR_OffsetContourIndex_Set_contourId ( MR_OffsetContourIndex * _this,
int value )

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

◆ MR_OffsetContourIndex_Set_vertId()

MRC_API void MR_OffsetContourIndex_Set_vertId ( MR_OffsetContourIndex * _this,
int value )

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

◆ MR_OffsetContourIndex_valid()

MRC_API bool MR_OffsetContourIndex_valid ( const MR_OffsetContourIndex * _this)

Generated from method MR::OffsetContourIndex::valid. Parameter _this can not be null. It is a single object.

◆ MR_offsetContours_3_float()

MRC_API MR_std_vector_std_vector_MR_Vector2f * MR_offsetContours_3_float ( const MR_std_vector_std_vector_MR_Vector2f * contours,
float offset,
const MR_OffsetContoursParams * params )

offsets 2d contours in plane Generated from function MR::offsetContours. Parameter contours 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. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_vector_MR_Vector2f_Destroy() to free it when you're done using it.

◆ MR_offsetContours_3_std_function_float_func_from_int_int()

MRC_API MR_std_vector_std_vector_MR_Vector2f * MR_offsetContours_3_std_function_float_func_from_int_int ( const MR_std_vector_std_vector_MR_Vector2f * contours,
MR_PassBy offset_pass_by,
MR_std_function_float_from_int_int * offset,
const MR_OffsetContoursParams * params )

offsets 2d contours in plane Generated from function MR::offsetContours. Parameter contours 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. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_vector_MR_Vector2f_Destroy() to free it when you're done using it.

◆ MR_offsetContours_4_float()

MRC_API MR_std_vector_std_vector_MR_Vector3f * MR_offsetContours_4_float ( const MR_std_vector_std_vector_MR_Vector3f * contours,
float offset,
const MR_OffsetContoursParams * params,
const MR_OffsetContoursRestoreZParams * zParmas )

offsets 3d contours in XY plane Generated from function MR::offsetContours. Parameter contours 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. Parameter zParmas is a single object. Parameter zParmas has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_vector_MR_Vector3f_Destroy() to free it when you're done using it.

◆ MR_offsetContours_4_std_function_float_func_from_int_int()

MRC_API MR_std_vector_std_vector_MR_Vector3f * MR_offsetContours_4_std_function_float_func_from_int_int ( const MR_std_vector_std_vector_MR_Vector3f * contours,
MR_PassBy offset_pass_by,
MR_std_function_float_from_int_int * offset,
const MR_OffsetContoursParams * params,
const MR_OffsetContoursRestoreZParams * zParmas )

offsets 3d contours in XY plane Generated from function MR::offsetContours. Parameter contours 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. Parameter zParmas is a single object. Parameter zParmas has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_vector_MR_Vector3f_Destroy() to free it when you're done using it.

◆ MR_OffsetContoursOrigins_AssignFromAnother()

MRC_API MR_OffsetContoursOrigins * MR_OffsetContoursOrigins_AssignFromAnother ( MR_OffsetContoursOrigins * _this,
const MR_OffsetContoursOrigins * _other )

Generated from method MR::OffsetContoursOrigins::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_OffsetContoursOrigins_ConstructFrom()

MRC_API MR_OffsetContoursOrigins * MR_OffsetContoursOrigins_ConstructFrom ( const MR_OffsetContourIndex * lOrg,
const MR_OffsetContourIndex * lDest,
const MR_OffsetContourIndex * uOrg,
const MR_OffsetContourIndex * uDest,
float lRatio,
float uRatio )

Constructs MR::OffsetContoursOrigins elementwise. Parameter lOrg can not be null. It is a single object. The reference to the parameter lOrg might be preserved in the constructed object. Parameter lDest can not be null. It is a single object. The reference to the parameter lDest might be preserved in the constructed object. Parameter uOrg can not be null. It is a single object. The reference to the parameter uOrg might be preserved in the constructed object. Parameter uDest can not be null. It is a single object. The reference to the parameter uDest might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_OffsetContoursOrigins_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_OffsetContoursOrigins_ConstructFromAnother()

MRC_API MR_OffsetContoursOrigins * MR_OffsetContoursOrigins_ConstructFromAnother ( const MR_OffsetContoursOrigins * _other)

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

◆ MR_OffsetContoursOrigins_DefaultConstruct()

MRC_API MR_OffsetContoursOrigins * MR_OffsetContoursOrigins_DefaultConstruct ( void )

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

◆ MR_OffsetContoursOrigins_DefaultConstructArray()

MRC_API MR_OffsetContoursOrigins * MR_OffsetContoursOrigins_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_OffsetContoursOrigins_DestroyArray(). Use MR_OffsetContoursOrigins_OffsetMutablePtr() and MR_OffsetContoursOrigins_OffsetPtr() to access the array elements.

◆ MR_OffsetContoursOrigins_Destroy()

MRC_API void MR_OffsetContoursOrigins_Destroy ( const MR_OffsetContoursOrigins * _this)

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

◆ MR_OffsetContoursOrigins_DestroyArray()

MRC_API void MR_OffsetContoursOrigins_DestroyArray ( const MR_OffsetContoursOrigins * _this)

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

◆ MR_OffsetContoursOrigins_Get_lDest()

MRC_API const MR_OffsetContourIndex * MR_OffsetContoursOrigins_Get_lDest ( const MR_OffsetContoursOrigins * _this)

Returns a pointer to a member variable of class MR::OffsetContoursOrigins named lDest. 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_OffsetContoursOrigins_Get_lOrg()

MRC_API const MR_OffsetContourIndex * MR_OffsetContoursOrigins_Get_lOrg ( const MR_OffsetContoursOrigins * _this)

Returns a pointer to a member variable of class MR::OffsetContoursOrigins named lOrg. 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_OffsetContoursOrigins_Get_lRatio()

MRC_API const float * MR_OffsetContoursOrigins_Get_lRatio ( const MR_OffsetContoursOrigins * _this)

Returns a pointer to a member variable of class MR::OffsetContoursOrigins named lRatio. 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_OffsetContoursOrigins_Get_uDest()

MRC_API const MR_OffsetContourIndex * MR_OffsetContoursOrigins_Get_uDest ( const MR_OffsetContoursOrigins * _this)

Returns a pointer to a member variable of class MR::OffsetContoursOrigins named uDest. 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_OffsetContoursOrigins_Get_uOrg()

MRC_API const MR_OffsetContourIndex * MR_OffsetContoursOrigins_Get_uOrg ( const MR_OffsetContoursOrigins * _this)

Returns a pointer to a member variable of class MR::OffsetContoursOrigins named uOrg. 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_OffsetContoursOrigins_Get_uRatio()

MRC_API const float * MR_OffsetContoursOrigins_Get_uRatio ( const MR_OffsetContoursOrigins * _this)

Returns a pointer to a member variable of class MR::OffsetContoursOrigins named uRatio. 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_OffsetContoursOrigins_GetMutable_lDest()

MRC_API MR_OffsetContourIndex * MR_OffsetContoursOrigins_GetMutable_lDest ( MR_OffsetContoursOrigins * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named lDest. 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_OffsetContoursOrigins_GetMutable_lOrg()

MRC_API MR_OffsetContourIndex * MR_OffsetContoursOrigins_GetMutable_lOrg ( MR_OffsetContoursOrigins * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named lOrg. 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_OffsetContoursOrigins_GetMutable_lRatio()

MRC_API float * MR_OffsetContoursOrigins_GetMutable_lRatio ( MR_OffsetContoursOrigins * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named lRatio. 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_OffsetContoursOrigins_GetMutable_uDest()

MRC_API MR_OffsetContourIndex * MR_OffsetContoursOrigins_GetMutable_uDest ( MR_OffsetContoursOrigins * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named uDest. 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_OffsetContoursOrigins_GetMutable_uOrg()

MRC_API MR_OffsetContourIndex * MR_OffsetContoursOrigins_GetMutable_uOrg ( MR_OffsetContoursOrigins * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named uOrg. 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_OffsetContoursOrigins_GetMutable_uRatio()

MRC_API float * MR_OffsetContoursOrigins_GetMutable_uRatio ( MR_OffsetContoursOrigins * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named uRatio. 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_OffsetContoursOrigins_isIntersection()

MRC_API bool MR_OffsetContoursOrigins_isIntersection ( const MR_OffsetContoursOrigins * _this)

Generated from method MR::OffsetContoursOrigins::isIntersection. Parameter _this can not be null. It is a single object.

◆ MR_OffsetContoursOrigins_OffsetMutablePtr()

MRC_API MR_OffsetContoursOrigins * MR_OffsetContoursOrigins_OffsetMutablePtr ( MR_OffsetContoursOrigins * 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_OffsetContoursOrigins_OffsetPtr()

MRC_API const MR_OffsetContoursOrigins * MR_OffsetContoursOrigins_OffsetPtr ( const MR_OffsetContoursOrigins * 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_OffsetContoursOrigins_Set_lDest()

MRC_API void MR_OffsetContoursOrigins_Set_lDest ( MR_OffsetContoursOrigins * _this,
const MR_OffsetContourIndex * value )

Modifies a member variable of class MR::OffsetContoursOrigins named lDest. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element lDest. When this function is called, this object will drop object references it had previously in lDest.

◆ MR_OffsetContoursOrigins_Set_lOrg()

MRC_API void MR_OffsetContoursOrigins_Set_lOrg ( MR_OffsetContoursOrigins * _this,
const MR_OffsetContourIndex * value )

Modifies a member variable of class MR::OffsetContoursOrigins named lOrg. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element lOrg. When this function is called, this object will drop object references it had previously in lOrg.

◆ MR_OffsetContoursOrigins_Set_lRatio()

MRC_API void MR_OffsetContoursOrigins_Set_lRatio ( MR_OffsetContoursOrigins * _this,
float value )

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

◆ MR_OffsetContoursOrigins_Set_uDest()

MRC_API void MR_OffsetContoursOrigins_Set_uDest ( MR_OffsetContoursOrigins * _this,
const MR_OffsetContourIndex * value )

Modifies a member variable of class MR::OffsetContoursOrigins named uDest. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element uDest. When this function is called, this object will drop object references it had previously in uDest.

◆ MR_OffsetContoursOrigins_Set_uOrg()

MRC_API void MR_OffsetContoursOrigins_Set_uOrg ( MR_OffsetContoursOrigins * _this,
const MR_OffsetContourIndex * value )

Modifies a member variable of class MR::OffsetContoursOrigins named uOrg. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element uOrg. When this function is called, this object will drop object references it had previously in uOrg.

◆ MR_OffsetContoursOrigins_Set_uRatio()

MRC_API void MR_OffsetContoursOrigins_Set_uRatio ( MR_OffsetContoursOrigins * _this,
float value )

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

◆ MR_OffsetContoursOrigins_valid()

MRC_API bool MR_OffsetContoursOrigins_valid ( const MR_OffsetContoursOrigins * _this)

Generated from method MR::OffsetContoursOrigins::valid. Parameter _this can not be null. It is a single object.

◆ MR_OffsetContoursParams_AssignFromAnother()

MRC_API MR_OffsetContoursParams * MR_OffsetContoursParams_AssignFromAnother ( MR_OffsetContoursParams * _this,
const MR_OffsetContoursParams * _other )

Generated from method MR::OffsetContoursParams::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_OffsetContoursParams_ConstructFrom()

MRC_API MR_OffsetContoursParams * MR_OffsetContoursParams_ConstructFrom ( MR_OffsetContoursParams_Type type,
MR_OffsetContoursParams_EndType endType,
MR_OffsetContoursParams_CornerType cornerType,
float minAnglePrecision,
float maxSharpAngle,
MR_std_vector_std_vector_MR_OffsetContoursOrigins * indicesMap )

Constructs MR::OffsetContoursParams elementwise. The reference to the parameter type might be preserved in the constructed object. The reference to the parameter endType might be preserved in the constructed object. The reference to the parameter cornerType might be preserved in the constructed object. The reference to the parameter indicesMap might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_OffsetContoursParams_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_OffsetContoursParams_ConstructFromAnother()

MRC_API MR_OffsetContoursParams * MR_OffsetContoursParams_ConstructFromAnother ( const MR_OffsetContoursParams * _other)

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

◆ MR_OffsetContoursParams_DefaultConstruct()

MRC_API MR_OffsetContoursParams * MR_OffsetContoursParams_DefaultConstruct ( void )

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

◆ MR_OffsetContoursParams_DefaultConstructArray()

MRC_API MR_OffsetContoursParams * MR_OffsetContoursParams_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_OffsetContoursParams_DestroyArray(). Use MR_OffsetContoursParams_OffsetMutablePtr() and MR_OffsetContoursParams_OffsetPtr() to access the array elements.

◆ MR_OffsetContoursParams_Destroy()

MRC_API void MR_OffsetContoursParams_Destroy ( const MR_OffsetContoursParams * _this)

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

◆ MR_OffsetContoursParams_DestroyArray()

MRC_API void MR_OffsetContoursParams_DestroyArray ( const MR_OffsetContoursParams * _this)

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

◆ MR_OffsetContoursParams_Get_cornerType()

MRC_API const MR_OffsetContoursParams_CornerType * MR_OffsetContoursParams_Get_cornerType ( const MR_OffsetContoursParams * _this)

Returns a pointer to a member variable of class MR::OffsetContoursParams named cornerType. 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_OffsetContoursParams_Get_endType()

MRC_API const MR_OffsetContoursParams_EndType * MR_OffsetContoursParams_Get_endType ( const MR_OffsetContoursParams * _this)

Returns a pointer to a member variable of class MR::OffsetContoursParams named endType. 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_OffsetContoursParams_Get_indicesMap()

MRC_API MR_std_vector_std_vector_MR_OffsetContoursOrigins *const * MR_OffsetContoursParams_Get_indicesMap ( const MR_OffsetContoursParams * _this)

optional output that maps result contour ids to input contour ids Returns a pointer to a member variable of class MR::OffsetContoursParams named indicesMap. 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_OffsetContoursParams_Get_maxSharpAngle()

MRC_API const float * MR_OffsetContoursParams_Get_maxSharpAngle ( const MR_OffsetContoursParams * _this)

Returns a pointer to a member variable of class MR::OffsetContoursParams named maxSharpAngle. 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_OffsetContoursParams_Get_minAnglePrecision()

MRC_API const float * MR_OffsetContoursParams_Get_minAnglePrecision ( const MR_OffsetContoursParams * _this)

Returns a pointer to a member variable of class MR::OffsetContoursParams named minAnglePrecision. 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_OffsetContoursParams_Get_type()

MRC_API const MR_OffsetContoursParams_Type * MR_OffsetContoursParams_Get_type ( const MR_OffsetContoursParams * _this)

Returns a pointer to a member variable of class MR::OffsetContoursParams named type. 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_OffsetContoursParams_GetMutable_cornerType()

MRC_API MR_OffsetContoursParams_CornerType * MR_OffsetContoursParams_GetMutable_cornerType ( MR_OffsetContoursParams * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursParams named cornerType. 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_OffsetContoursParams_GetMutable_endType()

MRC_API MR_OffsetContoursParams_EndType * MR_OffsetContoursParams_GetMutable_endType ( MR_OffsetContoursParams * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursParams named endType. 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_OffsetContoursParams_GetMutable_indicesMap()

MRC_API MR_std_vector_std_vector_MR_OffsetContoursOrigins ** MR_OffsetContoursParams_GetMutable_indicesMap ( MR_OffsetContoursParams * _this)

optional output that maps result contour ids to input contour ids Returns a mutable pointer to a member variable of class MR::OffsetContoursParams named indicesMap. 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_OffsetContoursParams_GetMutable_maxSharpAngle()

MRC_API float * MR_OffsetContoursParams_GetMutable_maxSharpAngle ( MR_OffsetContoursParams * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursParams named maxSharpAngle. 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_OffsetContoursParams_GetMutable_minAnglePrecision()

MRC_API float * MR_OffsetContoursParams_GetMutable_minAnglePrecision ( MR_OffsetContoursParams * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursParams named minAnglePrecision. 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_OffsetContoursParams_GetMutable_type()

MRC_API MR_OffsetContoursParams_Type * MR_OffsetContoursParams_GetMutable_type ( MR_OffsetContoursParams * _this)

Returns a mutable pointer to a member variable of class MR::OffsetContoursParams named type. 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_OffsetContoursParams_OffsetMutablePtr()

MRC_API MR_OffsetContoursParams * MR_OffsetContoursParams_OffsetMutablePtr ( MR_OffsetContoursParams * 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_OffsetContoursParams_OffsetPtr()

MRC_API const MR_OffsetContoursParams * MR_OffsetContoursParams_OffsetPtr ( const MR_OffsetContoursParams * 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_OffsetContoursParams_Set_cornerType()

MRC_API void MR_OffsetContoursParams_Set_cornerType ( MR_OffsetContoursParams * _this,
MR_OffsetContoursParams_CornerType value )

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

◆ MR_OffsetContoursParams_Set_endType()

MRC_API void MR_OffsetContoursParams_Set_endType ( MR_OffsetContoursParams * _this,
MR_OffsetContoursParams_EndType value )

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

◆ MR_OffsetContoursParams_Set_indicesMap()

MRC_API void MR_OffsetContoursParams_Set_indicesMap ( MR_OffsetContoursParams * _this,
MR_std_vector_std_vector_MR_OffsetContoursOrigins * value )

optional output that maps result contour ids to input contour ids Modifies a member variable of class MR::OffsetContoursParams named indicesMap. 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 indicesMap. When this function is called, this object will drop object references it had previously in indicesMap.

◆ MR_OffsetContoursParams_Set_maxSharpAngle()

MRC_API void MR_OffsetContoursParams_Set_maxSharpAngle ( MR_OffsetContoursParams * _this,
float value )

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

◆ MR_OffsetContoursParams_Set_minAnglePrecision()

MRC_API void MR_OffsetContoursParams_Set_minAnglePrecision ( MR_OffsetContoursParams * _this,
float value )

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

◆ MR_OffsetContoursParams_Set_type()

MRC_API void MR_OffsetContoursParams_Set_type ( MR_OffsetContoursParams * _this,
MR_OffsetContoursParams_Type value )

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

◆ MR_OffsetContoursRestoreZParams_AssignFromAnother()

MRC_API MR_OffsetContoursRestoreZParams * MR_OffsetContoursRestoreZParams_AssignFromAnother ( MR_OffsetContoursRestoreZParams * _this,
MR_PassBy _other_pass_by,
MR_OffsetContoursRestoreZParams * _other )

Generated from method MR::OffsetContoursRestoreZParams::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_OffsetContoursRestoreZParams_ConstructFrom()

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

MRC_API MR_OffsetContoursRestoreZParams * MR_OffsetContoursRestoreZParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_OffsetContoursRestoreZParams * _other )

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

◆ MR_OffsetContoursRestoreZParams_DefaultConstruct()

MRC_API MR_OffsetContoursRestoreZParams * MR_OffsetContoursRestoreZParams_DefaultConstruct ( void )

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

◆ MR_OffsetContoursRestoreZParams_DefaultConstructArray()

MRC_API MR_OffsetContoursRestoreZParams * MR_OffsetContoursRestoreZParams_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_OffsetContoursRestoreZParams_DestroyArray(). Use MR_OffsetContoursRestoreZParams_OffsetMutablePtr() and MR_OffsetContoursRestoreZParams_OffsetPtr() to access the array elements.

◆ MR_OffsetContoursRestoreZParams_Destroy()

MRC_API void MR_OffsetContoursRestoreZParams_Destroy ( const MR_OffsetContoursRestoreZParams * _this)

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

◆ MR_OffsetContoursRestoreZParams_DestroyArray()

MRC_API void MR_OffsetContoursRestoreZParams_DestroyArray ( const MR_OffsetContoursRestoreZParams * _this)

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

◆ MR_OffsetContoursRestoreZParams_Get_relaxIterations()

MRC_API const int * MR_OffsetContoursRestoreZParams_Get_relaxIterations ( const MR_OffsetContoursRestoreZParams * _this)

if > 0 z coordinate will be relaxed this many iterations Returns a pointer to a member variable of class MR::OffsetContoursRestoreZParams named relaxIterations. 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_OffsetContoursRestoreZParams_Get_zCallback()

Returns a pointer to a member variable of class MR::OffsetContoursRestoreZParams named zCallback. 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_OffsetContoursRestoreZParams_GetMutable_relaxIterations()

MRC_API int * MR_OffsetContoursRestoreZParams_GetMutable_relaxIterations ( MR_OffsetContoursRestoreZParams * _this)

if > 0 z coordinate will be relaxed this many iterations Returns a mutable pointer to a member variable of class MR::OffsetContoursRestoreZParams named relaxIterations. 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_OffsetContoursRestoreZParams_GetMutable_zCallback()

Returns a mutable pointer to a member variable of class MR::OffsetContoursRestoreZParams named zCallback. 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_OffsetContoursRestoreZParams_OffsetMutablePtr()

MRC_API MR_OffsetContoursRestoreZParams * MR_OffsetContoursRestoreZParams_OffsetMutablePtr ( MR_OffsetContoursRestoreZParams * 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_OffsetContoursRestoreZParams_OffsetPtr()

MRC_API const MR_OffsetContoursRestoreZParams * MR_OffsetContoursRestoreZParams_OffsetPtr ( const MR_OffsetContoursRestoreZParams * 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_OffsetContoursRestoreZParams_Set_relaxIterations()

MRC_API void MR_OffsetContoursRestoreZParams_Set_relaxIterations ( MR_OffsetContoursRestoreZParams * _this,
int value )

if > 0 z coordinate will be relaxed this many iterations Modifies a member variable of class MR::OffsetContoursRestoreZParams named relaxIterations. 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 relaxIterations.

◆ MR_OffsetContoursRestoreZParams_Set_zCallback()

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