7fd59977 |
1 | -- File: BRepFill_Generator.cdl |
2 | -- Created: Mon Mar 7 09:35:05 1994 |
3 | -- Author: Bruno DUMORTIER |
4 | -- <dub@fuegox> |
5 | -- Modified: Thu Jul 2 16:47:35 1998 |
6 | -- Author: Joelle CHAUVET |
7 | -- <jct@sgi64> |
8 | -- add methods Generated and GeneratedShapes |
9 | ---Copyright: Matra Datavision 1994 |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | class Generator from BRepFill |
16 | |
17 | ---Purpose: Compute a topological surface ( a shell) using |
18 | -- generating wires. The face of the shell will be |
19 | -- ruled surfaces passing by the wires. |
20 | -- The wires must have the same number of edges. |
21 | |
22 | |
23 | uses |
24 | |
25 | Wire from TopoDS, |
26 | Shell from TopoDS, |
27 | Shape from TopoDS, |
28 | SequenceOfShape from TopTools, |
29 | ListOfShape from TopTools, |
30 | DataMapOfShapeListOfShape from TopTools |
31 | |
32 | |
33 | is |
34 | |
35 | Create returns Generator from BRepFill; |
36 | |
37 | AddWire( me : in out; |
38 | Wire : in Wire from TopoDS) |
39 | is static; |
40 | |
41 | Perform( me : in out) |
42 | ---Purpose: Compute the shell. |
43 | is static; |
44 | |
45 | Shell(me) |
46 | ---C++: return const& |
47 | ---C++: inline |
48 | returns Shell from TopoDS |
49 | is static; |
50 | |
51 | Generated (me ) |
52 | ---Purpose: Returns all the shapes created |
53 | ---C++ : return const & |
54 | returns DataMapOfShapeListOfShape from TopTools |
55 | is static; |
56 | |
57 | GeneratedShapes (me ; |
58 | SSection : Shape from TopoDS) |
59 | ---Purpose: Returns the shapes created from a subshape |
60 | -- <SSection> of a section. |
61 | -- |
62 | ---C++ : return const & |
63 | returns ListOfShape from TopTools |
64 | is static; |
65 | |
66 | |
67 | |
68 | |
69 | fields |
70 | myWires : SequenceOfShape from TopTools; |
71 | myShell : Shell from TopoDS; |
72 | myMap : DataMapOfShapeListOfShape from TopTools; |
73 | |
74 | end Generator; |
75 | |
76 | |
77 | |
78 | |