Open CASCADE Technology  7.6.0
Public Member Functions

math_ValueAndWeight Class Reference

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

#include <math_ValueAndWeight.hxx>

Public Member Functions

 math_ValueAndWeight ()
 
 math_ValueAndWeight (Standard_Real theValue, Standard_Real theWeight)
 
Standard_Real Value () const
 
Standard_Real Weight () const
 

Detailed Description

Simple container storing two reals: value and weight.

Constructor & Destructor Documentation

◆ math_ValueAndWeight() [1/2]

math_ValueAndWeight::math_ValueAndWeight ( )
inline

◆ math_ValueAndWeight() [2/2]

math_ValueAndWeight::math_ValueAndWeight ( Standard_Real  theValue,
Standard_Real  theWeight 
)
inline

Member Function Documentation

◆ Value()

Standard_Real math_ValueAndWeight::Value ( void  ) const
inline

◆ Weight()

Standard_Real math_ValueAndWeight::Weight ( ) const
inline

The documentation for this class was generated from the following file: