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)
 
MRC_API MR_MinMaxArg_float_MR_VertIdMR_MinMaxArg_float_MR_VertId_OffsetMutablePtr (MR_MinMaxArg_float_MR_VertId *ptr, ptrdiff_t i)
 
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>. 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_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 method MR::MinMaxArg<float, MR::VertId>::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_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. The reference to the parameter minArg might be preserved in the constructed object. The reference to the parameter maxArg might be preserved in the constructed 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. When this function is called, this object will drop any object references it had previously.

◆ 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 constructor MR::MinMaxArg<float, MR::VertId>::MinMaxArg. 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_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 method MR::MinMaxArg<float, MR::VertId>::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 method MR::MinMaxArg<float, MR::VertId>::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 method MR::MinMaxArg<float, MR::VertId>::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 method MR::MinMaxArg<float, MR::VertId>::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 method MR::MinMaxArg<float, MR::VertId>::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. The reference to the parameter ptr might be preserved in the return value.

◆ 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. The reference to the parameter ptr might be preserved in the return value.

◆ 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. When this function is called, this object will drop object references it had previously in max.

◆ 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. The reference to the parameter value might be preserved in this object in element maxArg. When this function is called, this object will drop object references it had previously in maxArg.

◆ 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. When this function is called, this object will drop object references it had previously in min.

◆ 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. The reference to the parameter value might be preserved in this object in element minArg. When this function is called, this object will drop object references it had previously in minArg.