7fd59977 |
1 | -- File: TopOpeBRepDS_CurveExplorer.cdl |
2 | -- Created: Fri Dec 8 19:30:36 1995 |
3 | -- Author: Jean Yves LEBEY |
4 | -- <jyl@meteox> |
5 | ---Copyright: Matra Datavision 1995 |
6 | |
7 | class CurveExplorer from TopOpeBRepDS |
8 | |
9 | uses |
10 | |
11 | DataStructure from TopOpeBRepDS, |
12 | Curve from TopOpeBRepDS |
13 | |
14 | is |
15 | |
16 | Create returns CurveExplorer from TopOpeBRepDS; |
17 | Create(DS : DataStructure from TopOpeBRepDS; |
18 | FindOnlyKeep : Boolean from Standard = Standard_True) |
19 | returns CurveExplorer from TopOpeBRepDS; |
20 | |
21 | Init(me : in out; |
22 | DS : DataStructure from TopOpeBRepDS; |
23 | FindOnlyKeep : Boolean from Standard = Standard_True); |
24 | |
25 | More(me) returns Boolean is static; |
26 | Next(me : in out) is static; |
27 | Curve(me) returns Curve from TopOpeBRepDS |
28 | ---C++: return const & |
29 | is static; |
30 | |
31 | IsCurve(me; I : Integer ) returns Boolean is static; |
32 | IsCurveKeep(me; I : Integer ) returns Boolean is static; |
33 | Curve(me; I : Integer ) |
34 | returns Curve from TopOpeBRepDS |
35 | ---C++: return const & |
36 | is static; |
37 | NbCurve(me : in out) returns Integer |
38 | is static; |
39 | |
40 | Index(me) returns Integer |
41 | is static; |
42 | |
43 | Find(me : in out) is static private; |
44 | |
45 | fields |
46 | |
47 | myIndex : Integer ; |
48 | myMax : Integer ; |
49 | myDS : Address ; -- (TopOpeBRepDS_DataStructure*) |
50 | myFound : Boolean ; |
51 | myFindKeep : Boolean; |
52 | |
53 | end CurveExplorer from TopOpeBRepDS; |