MeshLib C Docs
Loading...
Searching...
No Matches
MRMinMaxArg.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_std_pair_float_MR_VertId MR_std_pair_float_MR_VertId
 
typedef struct MR_MinMaxArg_float_MR_VertId MR_MinMaxArg_float_MR_VertId
 

Functions

MRC_API const float * MR_MinMaxArg_float_MR_VertId_Get_min (const MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API void MR_MinMaxArg_float_MR_VertId_Set_min (MR_MinMaxArg_float_MR_VertId *_this, float value)
 
MRC_API float * MR_MinMaxArg_float_MR_VertId_GetMutable_min (MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API const float * MR_MinMaxArg_float_MR_VertId_Get_max (const MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API void MR_MinMaxArg_float_MR_VertId_Set_max (MR_MinMaxArg_float_MR_VertId *_this, float value)
 
MRC_API float * MR_MinMaxArg_float_MR_VertId_GetMutable_max (MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API const MR_VertIdMR_MinMaxArg_float_MR_VertId_Get_minArg (const MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API void MR_MinMaxArg_float_MR_VertId_Set_minArg (MR_MinMaxArg_float_MR_VertId *_this, MR_VertId value)
 
MRC_API MR_VertIdMR_MinMaxArg_float_MR_VertId_GetMutable_minArg (MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API const MR_VertIdMR_MinMaxArg_float_MR_VertId_Get_maxArg (const MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API void MR_MinMaxArg_float_MR_VertId_Set_maxArg (MR_MinMaxArg_float_MR_VertId *_this, MR_VertId value)
 
MRC_API MR_VertIdMR_MinMaxArg_float_MR_VertId_GetMutable_maxArg (MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API MR_MinMaxArg_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_DefaultConstruct (void)
 
MRC_API MR_MinMaxArg_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_MinMaxArg_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_ConstructFrom (float min, float max, MR_VertId minArg, MR_VertId maxArg)
 
MRC_API const MR_MinMaxArg_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_OffsetPtr (const MR_MinMaxArg_float_MR_VertId *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.
 
MRC_API MR_MinMaxArg_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_OffsetMutablePtr (MR_MinMaxArg_float_MR_VertId *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.
 
MRC_API MR_MinMaxArg_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_ConstructFromAnother (const MR_MinMaxArg_float_MR_VertId *_other)
 
MRC_API void MR_MinMaxArg_float_MR_VertId_Destroy (const MR_MinMaxArg_float_MR_VertId *_this)
 Destroys a heap-allocated instance of MR_MinMaxArg_float_MR_VertId. Does nothing if the pointer is null.
 
MRC_API void MR_MinMaxArg_float_MR_VertId_DestroyArray (const MR_MinMaxArg_float_MR_VertId *_this)
 Destroys a heap-allocated array of MR_MinMaxArg_float_MR_VertId. Does nothing if the pointer is null.
 
MRC_API MR_MinMaxArg_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_AssignFromAnother (MR_MinMaxArg_float_MR_VertId *_this, const MR_MinMaxArg_float_MR_VertId *_other)
 
MRC_API MR_std_pair_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_minPair (const MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API MR_std_pair_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_maxPair (const MR_MinMaxArg_float_MR_VertId *_this)
 
MRC_API void MR_MinMaxArg_float_MR_VertId_include_1_std_pair_float_MR_VertId (MR_MinMaxArg_float_MR_VertId *_this, const MR_std_pair_float_MR_VertId *p)
 
MRC_API void MR_MinMaxArg_float_MR_VertId_include_2 (MR_MinMaxArg_float_MR_VertId *_this, float v, MR_VertId arg)
 
MRC_API void MR_MinMaxArg_float_MR_VertId_include_1_MR_MinMaxArg_float_MR_VertId (MR_MinMaxArg_float_MR_VertId *_this, const MR_MinMaxArg_float_MR_VertId *s)
 

Typedef Documentation

◆ MR_MinMaxArg_float_MR_VertId

minimum and maximum of some elements of type T, and the indices of where minimum and maximum are reached of type I Generated from class MR::MinMaxArg<float, MR::VertId>.

◆ MR_std_pair_float_MR_VertId

Function Documentation

◆ MR_MinMaxArg_float_MR_VertId_AssignFromAnother()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_MinMaxArg_float_MR_VertId_AssignFromAnother ( MR_MinMaxArg_float_MR_VertId * _this,
const MR_MinMaxArg_float_MR_VertId * _other )

Generated from a method of class MR::MinMaxArg<float, MR::VertId> named operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_MinMaxArg_float_MR_VertId_ConstructFrom()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_MinMaxArg_float_MR_VertId_ConstructFrom ( float min,
float max,
MR_VertId minArg,
MR_VertId maxArg )

Constructs MR::MinMaxArg<float, MR::VertId> elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_MinMaxArg_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_MinMaxArg_float_MR_VertId_ConstructFromAnother()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_MinMaxArg_float_MR_VertId_ConstructFromAnother ( const MR_MinMaxArg_float_MR_VertId * _other)

Generated from a constructor of class MR::MinMaxArg<float, MR::VertId>. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_MinMaxArg_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_MinMaxArg_float_MR_VertId_DefaultConstruct()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_MinMaxArg_float_MR_VertId_DefaultConstruct ( void )

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

◆ MR_MinMaxArg_float_MR_VertId_DefaultConstructArray()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_MinMaxArg_float_MR_VertId_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_MinMaxArg_float_MR_VertId_DestroyArray(). Use MR_MinMaxArg_float_MR_VertId_OffsetMutablePtr() and MR_MinMaxArg_float_MR_VertId_OffsetPtr() to access the array elements.

◆ MR_MinMaxArg_float_MR_VertId_Destroy()

MRC_API void MR_MinMaxArg_float_MR_VertId_Destroy ( const MR_MinMaxArg_float_MR_VertId * _this)

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

◆ MR_MinMaxArg_float_MR_VertId_DestroyArray()

MRC_API void MR_MinMaxArg_float_MR_VertId_DestroyArray ( const MR_MinMaxArg_float_MR_VertId * _this)

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

◆ MR_MinMaxArg_float_MR_VertId_Get_max()

MRC_API const float * MR_MinMaxArg_float_MR_VertId_Get_max ( const MR_MinMaxArg_float_MR_VertId * _this)

Returns a pointer to a member variable of class MR::MinMaxArg<float, MR::VertId> named max. 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_MinMaxArg_float_MR_VertId_Get_maxArg()

MRC_API const MR_VertId * MR_MinMaxArg_float_MR_VertId_Get_maxArg ( const MR_MinMaxArg_float_MR_VertId * _this)

Returns a pointer to a member variable of class MR::MinMaxArg<float, MR::VertId> named maxArg. 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_MinMaxArg_float_MR_VertId_Get_min()

MRC_API const float * MR_MinMaxArg_float_MR_VertId_Get_min ( const MR_MinMaxArg_float_MR_VertId * _this)

Returns a pointer to a member variable of class MR::MinMaxArg<float, MR::VertId> named min. 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_MinMaxArg_float_MR_VertId_Get_minArg()

MRC_API const MR_VertId * MR_MinMaxArg_float_MR_VertId_Get_minArg ( const MR_MinMaxArg_float_MR_VertId * _this)

Returns a pointer to a member variable of class MR::MinMaxArg<float, MR::VertId> named minArg. 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_MinMaxArg_float_MR_VertId_GetMutable_max()

MRC_API float * MR_MinMaxArg_float_MR_VertId_GetMutable_max ( MR_MinMaxArg_float_MR_VertId * _this)

Returns a mutable pointer to a member variable of class MR::MinMaxArg<float, MR::VertId> named max. 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_MinMaxArg_float_MR_VertId_GetMutable_maxArg()

MRC_API MR_VertId * MR_MinMaxArg_float_MR_VertId_GetMutable_maxArg ( MR_MinMaxArg_float_MR_VertId * _this)

Returns a mutable pointer to a member variable of class MR::MinMaxArg<float, MR::VertId> named maxArg. 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_MinMaxArg_float_MR_VertId_GetMutable_min()

MRC_API float * MR_MinMaxArg_float_MR_VertId_GetMutable_min ( MR_MinMaxArg_float_MR_VertId * _this)

Returns a mutable pointer to a member variable of class MR::MinMaxArg<float, MR::VertId> named min. 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_MinMaxArg_float_MR_VertId_GetMutable_minArg()

MRC_API MR_VertId * MR_MinMaxArg_float_MR_VertId_GetMutable_minArg ( MR_MinMaxArg_float_MR_VertId * _this)

Returns a mutable pointer to a member variable of class MR::MinMaxArg<float, MR::VertId> named minArg. 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_MinMaxArg_float_MR_VertId_include_1_MR_MinMaxArg_float_MR_VertId()

MRC_API void MR_MinMaxArg_float_MR_VertId_include_1_MR_MinMaxArg_float_MR_VertId ( MR_MinMaxArg_float_MR_VertId * _this,
const MR_MinMaxArg_float_MR_VertId * s )

changes min(Arg) and max(Arg) if necessary to include given segment Generated from a method of class MR::MinMaxArg<float, MR::VertId> named include. Parameter _this can not be null. It is a single object. Parameter s can not be null. It is a single object.

◆ MR_MinMaxArg_float_MR_VertId_include_1_std_pair_float_MR_VertId()

MRC_API void MR_MinMaxArg_float_MR_VertId_include_1_std_pair_float_MR_VertId ( MR_MinMaxArg_float_MR_VertId * _this,
const MR_std_pair_float_MR_VertId * p )

changes min(Arg) and max(Arg) if necessary to include given point Generated from a method of class MR::MinMaxArg<float, MR::VertId> named include. Parameter _this can not be null. It is a single object. Parameter p can not be null. It is a single object.

◆ MR_MinMaxArg_float_MR_VertId_include_2()

MRC_API void MR_MinMaxArg_float_MR_VertId_include_2 ( MR_MinMaxArg_float_MR_VertId * _this,
float v,
MR_VertId arg )

changes min(Arg) and max(Arg) if necessary to include given point Generated from a method of class MR::MinMaxArg<float, MR::VertId> named include. Parameter _this can not be null. It is a single object.

◆ MR_MinMaxArg_float_MR_VertId_maxPair()

MRC_API MR_std_pair_float_MR_VertId * MR_MinMaxArg_float_MR_VertId_maxPair ( const MR_MinMaxArg_float_MR_VertId * _this)

Generated from a method of class MR::MinMaxArg<float, MR::VertId> named maxPair. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_pair_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_MinMaxArg_float_MR_VertId_minPair()

MRC_API MR_std_pair_float_MR_VertId * MR_MinMaxArg_float_MR_VertId_minPair ( const MR_MinMaxArg_float_MR_VertId * _this)

Generated from a method of class MR::MinMaxArg<float, MR::VertId> named minPair. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_pair_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_MinMaxArg_float_MR_VertId_OffsetMutablePtr()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_MinMaxArg_float_MR_VertId_OffsetMutablePtr ( MR_MinMaxArg_float_MR_VertId * 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.

◆ MR_MinMaxArg_float_MR_VertId_OffsetPtr()

MRC_API const MR_MinMaxArg_float_MR_VertId * MR_MinMaxArg_float_MR_VertId_OffsetPtr ( const MR_MinMaxArg_float_MR_VertId * 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.

◆ MR_MinMaxArg_float_MR_VertId_Set_max()

MRC_API void MR_MinMaxArg_float_MR_VertId_Set_max ( MR_MinMaxArg_float_MR_VertId * _this,
float value )

Modifies a member variable of class MR::MinMaxArg<float, MR::VertId> named max. Parameter _this can not be null. It is a single object.

◆ MR_MinMaxArg_float_MR_VertId_Set_maxArg()

MRC_API void MR_MinMaxArg_float_MR_VertId_Set_maxArg ( MR_MinMaxArg_float_MR_VertId * _this,
MR_VertId value )

Modifies a member variable of class MR::MinMaxArg<float, MR::VertId> named maxArg. Parameter _this can not be null. It is a single object.

◆ MR_MinMaxArg_float_MR_VertId_Set_min()

MRC_API void MR_MinMaxArg_float_MR_VertId_Set_min ( MR_MinMaxArg_float_MR_VertId * _this,
float value )

Modifies a member variable of class MR::MinMaxArg<float, MR::VertId> named min. Parameter _this can not be null. It is a single object.

◆ MR_MinMaxArg_float_MR_VertId_Set_minArg()

MRC_API void MR_MinMaxArg_float_MR_VertId_Set_minArg ( MR_MinMaxArg_float_MR_VertId * _this,
MR_VertId value )

Modifies a member variable of class MR::MinMaxArg<float, MR::VertId> named minArg. Parameter _this can not be null. It is a single object.