1 -- Created on: 1993-07-28
2 -- Created by: Martine LANGLOIS
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 private deferred class Root from StepToTopoDS
19 ---Purpose : This class implements the common services for
20 -- all classes of StepToTopoDS which report error
21 -- and sets and returns precision.
25 Initialize returns Root from StepToTopoDS;
27 IsDone(me) returns Boolean is static;
30 Precision(me) returns Real from Standard is static;
31 ---Purpose : Returns the value of "MyPrecision"
34 SetPrecision(me : in out ; preci : Real from Standard) is static;
35 ---Purpose : Sets the value of "MyPrecision"
38 MaxTol(me) returns Real from Standard is static;
39 ---Purpose : Returns the value of "MaxTol"
42 SetMaxTol(me : in out ; maxpreci : Real from Standard) is static;
43 ---Purpose : Sets the value of MaxTol
48 done : Boolean is protected;
49 --Equal True if everything is ok, False otherwise.
50 myPrecision : Real from Standard;
51 myMaxTol : Real from Standard;