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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
-- File: BRepMesh_ShapeTool.cdl
-- Created: Thu Sep 30 11:06:11 1993
-- Author: Isabelle GRIGNON
-- <isg@zerox>
---Copyright: Matra Datavision 1993
class ShapeTool from BRepMesh
---Purpose:
uses Shape from TopoDS,
Face from TopoDS,
Edge from TopoDS,
Vertex from TopoDS,
Explorer from TopExp,
Pnt2d from gp,
Pnt from gp,
Box from Bnd,
Curve from BRepAdaptor,
Orientation from TopAbs,
Triangulation from Poly,
HArray1OfInteger from TColStd
raises NoSuchObject from Standard
is
Create returns ShapeTool ;
Init(me : in out ; S : Shape from TopoDS)
---C++: inline
is static;
MoreFace(me: in out ) returns Boolean from Standard
---C++: inline
is static;
NextFace(me : in out)
---C++: inline
is static;
CurrentFace( me : in out) returns Face from TopoDS
---C++:return const &
---C++: inline
is static;
Init(me : in out ; F: Face from TopoDS)
---C++: inline
is static;
MoreEdge(me: in out ) returns Boolean from Standard
---C++: inline
is static;
NextEdge(me : in out)
---C++: inline
is static;
CurrentEdge(me : in out)
---C++: return const &
---C++: inline
returns Edge from TopoDS
is static;
Init(me : in out ; E : Edge from TopoDS)
---C++: inline
is static;
MoreInternalVertex(me: in out ) returns Boolean from Standard
is static;
NextInternalVertex(me : in out)
---C++: inline
is static;
CurrentInternalVertex( me : in out) returns Vertex from TopoDS
---C++: return const &
---C++: inline
is static;
Orientation(myclass; F :Face from TopoDS )
---C++: inline
returns Orientation from TopAbs;
Orientation(myclass; E : Edge from TopoDS )
---C++: inline
returns Orientation from TopAbs;
Bound(myclass; F :Face from TopoDS )
returns Box from Bnd;
Bound(myclass; E : Edge from TopoDS )
returns Box from Bnd;
FirstVertex(myclass; E : Edge from TopoDS )
returns Vertex from TopoDS
raises NoSuchObject;
--if there is not first vertex (semi-infinite edge)
LastVertex(myclass; E : Edge from TopoDS)
returns Vertex from TopoDS
raises NoSuchObject;
--if there is not last vertex (semi-infinite edge)
Vertices(myclass; E : Edge from TopoDS;
Vfirst, Vlast : out Vertex from TopoDS);
---Purpose: If there is not First or Last vertex (infinite or
-- semi-infinite edge) return null shapes.
Range(myclass; E : Edge from TopoDS;
F : Face from TopoDS;
wFirst, wLast : in out Real from Standard);
---C++: inline
UVPoints(myclass; E : Edge from TopoDS;
F : Face from TopoDS;
uvFirst, uvLast : out Pnt2d from gp);
---C++: inline
Degenerated(myclass; E : Edge from TopoDS)
---C++: inline
returns Boolean from Standard;
Tolerance(myclass; V : Vertex from TopoDS)
---C++: inline
returns Real from Standard;
Parameter(myclass; V : Vertex from TopoDS;
E : Edge from TopoDS;
F : Face from TopoDS) returns Real from Standard;
---C++: inline
Parameters (myclass;
E : Edge from TopoDS;
F : Face from TopoDS;
W : Real;
UV : out Pnt2d);
Locate (myclass;
C : Curve from BRepAdaptor;
W : in Real; WFound : in out Real;
p3d : Pnt from gp;
UV : out Pnt2d);
Pnt(myclass; V : Vertex from TopoDS)
---C++: inline
returns Pnt from gp;
AddInFace(myclass;
F : Face from TopoDS;
T : in out Triangulation from Poly);
fields
theFIterator : Explorer from TopExp;
theEIterator : Explorer from TopExp;
theVIterator : Explorer from TopExp;
end ShapeTool;
|