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

#include <MRMesh/MRMinMaxArg.h>

Public Member Functions

auto minPair () const
auto maxPair () const
void include (const std::pair< T, I > &p)
 changes min(Arg) and max(Arg) if necessary to include given point
void include (T v, I arg)
 changes min(Arg) and max(Arg) if necessary to include given point
void include (const MinMaxArg &s)
 changes min(Arg) and max(Arg) if necessary to include given segment

Public Attributes

min = std::numeric_limits<T>::max()
max = std::numeric_limits<T>::lowest()
I minArg
I maxArg

Detailed Description

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

minimum and maximum of some elements of type T, and the indices of where minimum and maximum are reached of type I


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