Open CASCADE Technology  7.7.0.dev
Data Structures | Functions

math_ValueAndWeight.hxx File Reference

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>

Data Structures

class  math_ValueAndWeight
 Simple container storing two reals: value and weight. More...
 

Functions

bool operator< (const math_ValueAndWeight &theLeft, const math_ValueAndWeight &theRight)
 Comparison operator for math_ValueAndWeight, needed for sorting algorithms. More...
 

Function Documentation

◆ operator<()

bool operator< ( const math_ValueAndWeight theLeft,
const math_ValueAndWeight theRight 
)
inline

Comparison operator for math_ValueAndWeight, needed for sorting algorithms.