summaryrefslogtreecommitdiff
path: root/src/TCollection/TCollection_CompareOfReal.cxx
blob: 98508646ad87643adbf5b511a56d9f2ed1ba661c (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
29
30
31
32
33
34
35
36
37
38

// Copyright: 	Matra-Datavision 1992
//		<mip@sdsun3>
// File:	TCollection_CompareOfReal.cxx
// Created:	Thu Aug 27 12:06:34 1992
// Author:	Mireille MERCIEN

#include <TCollection_CompareOfReal.ixx>

// -----------
// Create :
// -----------
TCollection_CompareOfReal::TCollection_CompareOfReal()
{
}

// -----------
// IsLower :
// -----------
Standard_Boolean TCollection_CompareOfReal::IsLower (
       const Standard_Real &Left,const Standard_Real &Right) const
{
   return (Left < Right) ;
}

// -----------
// IsGreater :
// -----------
Standard_Boolean TCollection_CompareOfReal::IsGreater (
       const Standard_Real &Left,const Standard_Real &Right) const
{
   return (Left > Right) ;
}