Salome HOME
Merge with OCC_development_01
[modules/geom.git] / src / GEOMAlgo / BlockFix_BlockFixAPI.cdl
1 -- File:        BlockFix_BlockFixAPI.cdl
2 -- Created:     Tue Dec  7 17:56:09 2004
3 -- Author:      Pavel Durandin
4 --              <det@doomox>
5 ---Copyright:   Open CASCADE SA 2004
6
7 class BlockFixAPI from BlockFix inherits TShared from MMgt
8
9         ---Purpose: 
10
11 uses
12
13     Shape from TopoDS,
14     ReShape from ShapeBuild 
15
16 is
17     Create returns BlockFixAPI from BlockFix;
18         ---Purpose: Empty constructor
19         
20     SetShape(me: mutable; Shape: Shape from TopoDS);
21         ---Purpose: Sets the shape to be operated on
22         ---C++: inline
23
24     Perform(me: mutable);
25         ---Purpose: 
26         
27     Shape(me) returns Shape from TopoDS;
28         ---Purpose: Returns resulting shape.
29         ---C++: inline
30     
31     Context(me:mutable) returns ReShape from ShapeBuild;
32         ---Purpose: Returns modifiable context for storing the 
33         --          mofifications
34         ---C++: inline
35         ---C++: return &
36     
37     Tolerance (me:mutable) returns Real;
38         ---Purpose: Returns modifiable tolerance of recognition
39         ---C++: inline
40         ---C++: return &
41
42 fields
43     
44     myContext     : ReShape from ShapeBuild;
45     myShape       : Shape from TopoDS;
46     myTolerance   : Real from Standard;
47   
48 end BlockFixAPI from BlockFix;