11template<
typename T,
typename I>
14 T
min = std::numeric_limits<T>::max();
15 T
max = std::numeric_limits<T>::lowest();
39 return include( std::make_pair( v, arg ) );
I
Definition MRMesh/MRMeshFwd.h:121
Definition MRMinMaxArg.h:13
auto maxPair() const
Definition MRMinMaxArg.h:19
T min
Definition MRMinMaxArg.h:14
void include(T v, I arg)
changes min(Arg) and max(Arg) if necessary to include given point
Definition MRMinMaxArg.h:37
void include(const MinMaxArg &s)
changes min(Arg) and max(Arg) if necessary to include given segment
Definition MRMinMaxArg.h:43
auto minPair() const
Definition MRMinMaxArg.h:18
T max
Definition MRMinMaxArg.h:15
I maxArg
Definition MRMinMaxArg.h:16
I minArg
Definition MRMinMaxArg.h:16
void include(const std::pair< T, I > &p)
changes min(Arg) and max(Arg) if necessary to include given point
Definition MRMinMaxArg.h:22