Open CASCADE Technology  7.1.0.beta
Data Structures | Functions
math_ValueAndWeight.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <Standard_Real.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

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

Comparison operator for math_ValueAndWeight, needed for sorting algorithms.