7fd59977 |
1 | -- File: BRepGProp_Domain.cdl |
2 | -- Created: Fri Nov 27 16:44:12 1992 |
3 | -- Author: Isabelle GRIGNON |
4 | -- <isg@sdsun2> |
5 | ---Copyright: Matra Datavision 1992 |
6 | |
7 | |
8 | class Domain from BRepGProp |
9 | |
10 | ---Purpose: Arc iterator. Returns only Forward and Reversed edges from |
11 | -- the face in an undigested order. |
12 | |
13 | uses Face from TopoDS, |
14 | Edge from TopoDS, |
15 | Explorer from TopExp |
16 | is |
17 | |
18 | Create returns Domain; |
19 | --- Purpose : Empty constructor. |
20 | ---C++: inline |
21 | |
22 | Create (F : Face from TopoDS) returns Domain; |
23 | --- Purpose : Constructor. Initializes the domain with the face. |
24 | ---C++: inline |
25 | |
26 | Init(me : in out;F : Face from TopoDS); |
27 | --- Purpose : Initializes the domain with the face. |
28 | ---C++: inline |
29 | |
30 | More(me : in out) returns Boolean from Standard |
31 | --- Purpose : |
32 | -- Returns True if there is another arc of curve in the list. |
33 | ---C++: inline |
34 | is static; |
35 | |
36 | Init(me : in out) |
37 | --- Purpose : Initializes the exploration with the face already set. |
38 | ---C++: inline |
39 | is static; |
40 | |
41 | Value(me : in out) returns Edge from TopoDS |
42 | ---Purpose: Returns the current edge. |
43 | ---C++: return const & |
44 | ---C++: inline |
45 | is static; |
46 | |
47 | Next(me : in out) |
48 | --- Purpose : |
49 | -- Sets the index of the arc iterator to the next arc of |
50 | -- curve. |
51 | is static; |
52 | |
53 | fields |
54 | |
55 | myExplorer : Explorer from TopExp; |
56 | |
57 | end Domain; |
58 | |
59 | |
60 | |
61 | |