82f4c62d4e92c46554273443b8fcd29932279f0b
[occt.git] / TopOpeBRepDS_CurveIterator.cdl
1 -- File:        TopOpeBRepDS_CurveIterator.cdl
2 -- Created:     Thu Jun 17 11:39:29 1993
3 -- Author:      Jean Yves LEBEY
4 --              <jyl@zerox>
5 ---Copyright:    Matra Datavision 1993
6
7
8 class CurveIterator from TopOpeBRepDS 
9     inherits InterferenceIterator from TopOpeBRepDS
10
11 uses
12
13     State         from TopAbs,
14     Orientation   from TopAbs,
15     Interference  from TopOpeBRepDS,
16     ListOfInterference  from TopOpeBRepDS,
17     Curve         from Geom2d
18     
19 is
20     Create(L : ListOfInterference from TopOpeBRepDS) returns CurveIterator; 
21     ---Purpose: Creates an  iterator on the  curves on surface
22     --          described by the interferences in <L>.
23     
24     MatchInterference(me; I : Interference from TopOpeBRepDS) 
25     returns Boolean from Standard
26     ---Purpose: Returns  True if the Interference <I>  has a 
27     --          GeometryType() TopOpeBRepDS_CURVE
28     --          returns False else.
29     is redefined;
30
31     Current(me) returns Integer from Standard
32     ---Purpose: Index of the curve in the data structure.
33     is static;
34     
35     Orientation(me; S : State from TopAbs) returns Orientation from TopAbs
36     is static;
37     
38     PCurve(me) returns Curve from Geom2d
39     ---C++: return const &
40     is static;
41     
42 end CurveIterator from TopOpeBRepDS;