1 -- File: IntTools_CompareRange.cdl
2 -- Created: Tue Oct 24 14:07:14 2000
3 -- Author: Peter KURNEV
5 ---Copyright: Matra Datavision 2000
8 class CompareRange from IntTools
10 ---Purpose: Auxiliary class to provide a sorting Ranges,
11 -- taking into account a value of Left .
19 returns CompareRange from IntTools;
24 Create (aTol:Real from Standard)
25 returns CompareRange from IntTools;
27 --- Initializes me by tolerance
30 IsLower (me; Left, Right: Range from IntTools)
32 --- Returns True if <Left> is lower than <Right>.
34 returns Boolean from Standard;
36 IsGreater (me; Left, Right: Range from IntTools)
39 --- Returns True if <Left> is greater than <Right>.
41 returns Boolean from Standard;
43 IsEqual(me; Left, Right: Range from IntTools)
46 --- Returns True when <Right> and <Left> are equal.
48 returns Boolean from Standard ;
51 myTol: Real from Standard;