blob: 1b7ee8ab921a531e0b1d1256a979df752748d86a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
-- File: TopOpeBRepDS_Explorer.cdl
-- Created: Tue Jan 5 16:52:59 1999
-- Author: Jean Yves LEBEY
-- <jyl@langdox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class Explorer from TopOpeBRepDS
uses
Shape from TopoDS,
Edge from TopoDS,
Face from TopoDS,
Vertex from TopoDS,
ShapeEnum from TopAbs,
HDataStructure from TopOpeBRepDS
raises
NoMoreObject from Standard,
NoSuchObject from Standard
is
Create returns Explorer;
Create(HDS:HDataStructure;T:ShapeEnum = TopAbs_SHAPE;findkeep : Boolean = Standard_True) returns Explorer;
Init(me:in out;HDS:HDataStructure;T:ShapeEnum = TopAbs_SHAPE;findkeep : Boolean = Standard_True);
Type(me) returns ShapeEnum from TopAbs;
More(me) returns Boolean;
Next(me : in out) raises NoMoreObject; -- when More returned False
Current(me) returns Shape raises NoSuchObject from Standard; -- when More returns False;
---C++: return const &
Index(me) returns Integer raises NoSuchObject from Standard; -- when More returns False;
Face(me) returns Face raises NoSuchObject from Standard; -- when More returns False;
---C++: return const &
Edge(me) returns Edge raises NoSuchObject from Standard; -- when More returns False;
---C++: return const &
Vertex(me) returns Vertex raises NoSuchObject from Standard; -- when More returns False;
---C++: return const &
Find(me:in out) is private;
fields
myHDS : HDataStructure from TopOpeBRepDS;
myT : ShapeEnum from TopAbs;
myI,myN : Integer;
myB : Boolean;
myFK : Boolean;
end Explorer from TopOpeBRepDS;
|