Commit | Line | Data |
---|---|---|
733a0e55 S |
1 | -- File: HLRBRep_FaceIterator.cdl |
2 | -- Created: Thu Apr 17 15:55:18 1997 | |
3 | -- Author: Christophe MARION | |
4 | ---Copyright: Matra Datavision 1997 | |
7fd59977 | 5 | |
6 | class FaceIterator from HLRBRep | |
7 | ||
8 | uses | |
9 | Integer from Standard, | |
10 | Boolean from Standard, | |
11 | Orientation from TopAbs, | |
12 | WiresBlock from HLRAlgo, | |
13 | EdgesBlock from HLRAlgo, | |
14 | FaceData from HLRBRep | |
15 | ||
16 | is | |
17 | Create returns FaceIterator from HLRBRep; | |
18 | ||
19 | InitEdge(me : in out; | |
20 | fd : out FaceData from HLRBRep) | |
21 | ---Purpose: Begin an exploration of the edges of the face <fd> | |
22 | is static; | |
23 | ||
24 | MoreEdge(me) returns Boolean from Standard | |
25 | ---C++: inline | |
26 | is static; | |
27 | ||
28 | NextEdge(me : in out) | |
29 | is static; | |
30 | ||
31 | BeginningOfWire(me) returns Boolean from Standard | |
32 | ---Purpose: Returns True if the current edge is the first of a | |
33 | -- wire. | |
34 | -- | |
35 | ---C++: inline | |
36 | is static; | |
37 | ||
38 | EndOfWire(me) returns Boolean from Standard | |
39 | ---Purpose: Returns True if the current edge is the last of a | |
40 | -- wire. | |
41 | -- | |
42 | ---C++: inline | |
43 | is static; | |
44 | ||
45 | SkipWire(me : in out) | |
46 | ---Purpose: Skip the current wire in the exploration. | |
47 | -- | |
48 | ---C++: inline | |
49 | is static; | |
50 | ||
51 | Wire(me) returns any EdgesBlock from HLRAlgo | |
52 | ---Purpose: Returns the edges of the current wire. | |
53 | -- | |
54 | ---C++: inline | |
55 | is static; | |
56 | ||
57 | Edge(me) returns Integer from Standard | |
58 | ---C++: inline | |
59 | is static; | |
60 | ||
61 | Orientation(me) returns Orientation from TopAbs | |
62 | ---C++: inline | |
63 | is static; | |
64 | ||
65 | OutLine(me) | |
66 | returns Boolean from Standard | |
67 | ---C++: inline | |
68 | is static; | |
69 | ||
70 | Internal(me) | |
71 | returns Boolean from Standard | |
72 | ---C++: inline | |
73 | is static; | |
74 | ||
75 | Double(me) | |
76 | returns Boolean from Standard | |
77 | ---C++: inline | |
78 | is static; | |
79 | ||
80 | IsoLine(me) | |
81 | returns Boolean from Standard | |
82 | ---C++: inline | |
83 | is static; | |
84 | ||
85 | fields | |
86 | iWire : Integer from Standard; | |
87 | nbWires : Integer from Standard; | |
88 | iEdge : Integer from Standard; | |
89 | nbEdges : Integer from Standard; | |
90 | myWires : WiresBlock from HLRAlgo; | |
91 | myEdges : EdgesBlock from HLRAlgo; | |
92 | ||
93 | end FaceIterator; |