Open CASCADE Technology 7.9.0
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.
 

Function Documentation

◆ operator<()

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

Comparison operator for math_ValueAndWeight, needed for sorting algorithms.