]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cdl
Salome HOME
Improve CheckShape function
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ShapeAlgo.cdl
1 -- File:        GEOMAlgo_ShapeAlgo.cdl
2 -- Created:     Tue Dec  7 12:05:19 2004
3 -- Author:      Peter KURNEV
4 --              <pkv@irinox>
5 ---Copyright:    Matra Datavision 2004
6
7
8 deferred class ShapeAlgo from GEOMAlgo 
9     inherits Algo from GEOMAlgo  
10     
11         ---Purpose: 
12
13 uses
14     Shape from TopoDS, 
15     Context from IntTools
16
17 --raises
18
19 is
20     Initialize 
21         returns ShapeAlgo from GEOMAlgo;  
22     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_ShapeAlgo();"  
23     
24     SetShape(me:out; 
25             aS:Shape from TopoDS);
26      
27     SetTolerance(me:out; 
28             aT:Real from Standard); 
29              
30     Shape(me) 
31         returns Shape from TopoDS; 
32     ---C++:return const &  
33      
34     Tolerance(me) 
35         returns Real from Standard;  
36      
37     Result(me) 
38         returns Shape from TopoDS; 
39     ---C++:return const &  
40     
41 fields 
42     myShape     : Shape from TopoDS is protected;     
43     myTolerance : Real from Standard is protected; 
44     myResult    : Shape from TopoDS is protected; 
45     myContext   : Context from IntTools is protected; 
46     
47 end ShapeAlgo;