summaryrefslogtreecommitdiff
path: root/src/PCollection/PCollection_CompareOfReal.cxx
blob: cd63e4987c773859d561a58ef5ce763903d619b8 (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
// Do not delete this line. Used by sccs.
// Copyright: 	Matra-Datavision 1992
//		<mip@sdsun3>
// File:	PCollection_CompareOfReal.cxx
// Created:	Thu Aug 27 12:06:34 1992
// Author:	Mireille MERCIEN

#include <PCollection_CompareOfReal.ixx>

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

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

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