0022627: Change OCCT memory management defaults
[occt.git] / src / BRepSweep / BRepSweep_Iterator.cdl
CommitLineData
7fd59977 1-- File: BRepSweep_Iterator.cdl
2-- Created: Tue Jun 8 17:54:06 1993
3-- Author: Laurent BOURESCHE
4-- <lbo@phobox>
5---Copyright: Matra Datavision 1993
6
7
8
9class Iterator from BRepSweep
10
11 ---Purpose: This class provides iteration services required by
12 -- the Generating Line (TopoDS Shape) of a BRepSweep.
13 -- This tool is used to iterate on the direct
14 -- sub-shapes of a Shape.
15 --
16
17uses
18
19 Iterator from TopoDS,
20 Shape from TopoDS,
21 Orientation from TopAbs
22
23raises
24
25 NoMoreObject from Standard,
26 NoSuchObject from Standard
27
28is
29
30 Create;
31
32 Init(me : in out; aShape: Shape from TopoDS)
33 ---Purpose: Resest the Iterator on sub-shapes of <aShape>.
34 is static;
35
36 More(me) returns Boolean
37 ---Purpose: Returns True if there is a current sub-shape.
38 --
39 ---C++: inline
40 is static;
41
42 Next(me : in out)
43 ---Purpose: Moves to the next sub-shape.
44 raises
45 NoMoreObject from Standard
46 is static;
47
48 Value(me) returns Shape from TopoDS
49 ---Purpose: Returns the current sub-shape.
50 raises
51 NoSuchObject from Standard
52 ---C++: return const &
53 ---C++: inline
54 is static;
55
56 Orientation(me) returns Orientation from TopAbs
57 ---Purpose: Returns the orientation of the current sub-shape.
58 raises
59 NoSuchObject from Standard
60 ---C++: inline
61 is static;
62
63fields
64
65 myIterator : Iterator from TopoDS;
66
67end Iterator from BRepSweep;