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