summaryrefslogtreecommitdiff
path: root/src/math/math_ValueAndWeight.cxx
blob: a068a18278b51acdbdfacf913b6c5388cc2c2902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// File:	math_ValueAndWeight.cxx
// Created:	Tue Dec 20 18:16:21 2005
// Author:	Julia GERASIMOVA
//		<jgv@clubox>


#include <math_ValueAndWeight.ixx>

math_ValueAndWeight::math_ValueAndWeight()
{
}

math_ValueAndWeight::math_ValueAndWeight(const Standard_Real Value,
					 const Standard_Real Weight)
     : myValue(Value),
       myWeight(Weight)
{
}

Standard_Real math_ValueAndWeight::Value() const
{
  return myValue;
}

Standard_Real math_ValueAndWeight::Weight() const
{
  return myWeight;
}