MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MaxArg< T, I > Struct Template Reference

#include <MRMinMaxArg.h>

Public Member Functions

auto asPair () const
 
void include (const std::pair< T, I > &p)
 changes val and arg if given point is larger
 
void include (T testVal, I testArg)
 changes val and arg if given point is larger
 
void include (const MaxArg &s)
 changes val and arg if given point is larger
 

Public Attributes

val = std::numeric_limits<T>::lowest()
 
arg
 

Detailed Description

template<typename T, typename I>
struct MR::MaxArg< T, I >

maximum of some elements of type T, and the index of where maximum is reached of type I


The documentation for this struct was generated from the following file: