0022627: Change OCCT memory management defaults
[occt.git] / src / TopoDSToStep / TopoDSToStep_MakeShellBasedSurfaceModel.cdl
1 -- File:        TopoDSToStep_MakeShellBasedSurfaceModel.cdl
2 -- Created:     Fri Jun 24 13:30:37 1994
3 -- Author:      Frederic MAUPAS
4 --              <fma@nonox>
5 ---Copyright:    Matra Datavision 1994
6
7 class MakeShellBasedSurfaceModel from TopoDSToStep inherits
8     Root from TopoDSToStep
9
10     ---Purpose: This class implements the mapping between classes 
11     --          Face, Shell or Solid from TopoDS and ShellBasedSurfaceModel
12     --          from StepShape. All the topology and geometry comprised 
13     --          into the shape are taken into account and translated.
14   
15 uses Face  from TopoDS,
16      Shell from TopoDS,
17      Solid from TopoDS,
18      ShellBasedSurfaceModel from StepShape,
19      FinderProcess from Transfer
20           
21 raises NotDone from StdFail
22      
23 is 
24
25 Create ( F  : Face from TopoDS;
26          FP : mutable FinderProcess from Transfer)
27         returns MakeShellBasedSurfaceModel;
28
29 Create ( S           : Shell from TopoDS;
30          FP          : mutable FinderProcess from Transfer)
31         returns MakeShellBasedSurfaceModel;
32
33 Create ( S  : Solid from TopoDS;
34          FP : mutable FinderProcess from Transfer)
35         returns MakeShellBasedSurfaceModel;
36
37 Value (me) returns ShellBasedSurfaceModel from StepShape
38     raises NotDone
39     is static;
40     ---C++: return const&
41
42 fields
43
44     theShellBasedSurfaceModel : ShellBasedSurfaceModel from StepShape;
45
46         -- The solution from StepShape
47         
48 end MakeShellBasedSurfaceModel;
49