-- File: IntTools_Compare.cdl -- Created: Mon May 22 16:56:20 2000 -- Author: Peter KURNEV -- ---Copyright: Matra Datavision 2000 class Compare from IntTools ---Purpose: Auxiliary class to provide a sorting Roots. uses Root from IntTools is Create returns Compare from IntTools; ---Purpose: --- Empty constructor --- Create (aTol:Real from Standard) returns Compare from IntTools; ---Purpose: --- Initializes me by tolerance --- IsLower (me; Left, Right: Root from IntTools) ---Purpose: --- Returns True if is lower than . --- returns Boolean from Standard; IsGreater (me; Left, Right: Root from IntTools) ---Level: Public ---Purpose: --- Returns True if is greater than . --- returns Boolean from Standard; IsEqual(me; Left, Right: Root from IntTools) ---Level: Public ---Purpose: --- Returns True when and are equal. --- returns Boolean from Standard ; fields myTol: Real from Standard; end Compare;