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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
-- File: TopOpeBRep_LineInter.cdl
-- Created: Wed Nov 10 17:20:37 1993
-- Author: Jean Yves LEBEY
---Copyright: Matra Datavision 1993
class LineInter from TopOpeBRep
uses
Line from IntPatch,
TypeLineCurve from TopOpeBRep,
ALine from IntPatch,
RLine from IntPatch,
WLine from IntPatch,
GLine from IntPatch,
VPointInter from TopOpeBRep,
HArray1OfVPointInter from TopOpeBRep,
WPointInter from TopOpeBRep,
Bipoint from TopOpeBRep,
Transition from TopOpeBRepDS,
Curve from Geom,
Surface from BRepAdaptor,
Face from TopoDS,
TypeTrans from IntSurf,
Situation from IntSurf,
Shape from TopoDS,
AsciiString from TCollection
is
Create returns LineInter from TopOpeBRep;
---C++: inline
SetLine(me:in out;
L : Line from IntPatch;
S1,S2:Surface from BRepAdaptor)
is static;
SetFaces(me:in out;F1,F2:Face from TopoDS);
---C++: inline
TypeLineCurve(me) returns TypeLineCurve from TopOpeBRep
---C++: inline
is static;
NbVPoint(me) returns Integer
---C++: inline
is static;
VPoint(me; I : Integer) returns VPointInter from TopOpeBRep
---C++: return const &
is static;
ChangeVPoint(me:in out; I : Integer)
returns VPointInter from TopOpeBRep
---C++: return &
is static;
SetINL(me : in out); -- Is Null Length
INL(me) returns Boolean;
---C++: inline
SetIsVClosed(me : in out);
IsVClosed(me) returns Boolean;
---C++: inline
SetOK(me : in out; B : Boolean);
OK(me) returns Boolean;
---C++: inline
SetHasVPonR(me : in out)
is static;
HasVPonR(me) returns Boolean
---C++: inline
is static;
SetVPBounds(me : in out)
is static;
VPBounds(me; f,l,n : out Integer)
is static;
IsPeriodic(me) returns Boolean
is static;
Period(me) returns Real
is static;
Bounds(me; f,l : out Real)
is static;
HasVInternal(me : in out) returns Boolean
is static;
NbWPoint(me) returns Integer
is static;
WPoint(me : in out; I : Integer) returns WPointInter from TopOpeBRep
---C++: return const &
is static;
TransitionOnS1(me) returns TypeTrans from IntSurf -- NYI const&
---C++: inline
is static;
TransitionOnS2(me) returns TypeTrans from IntSurf -- NYI const&
---C++: inline
is static;
SituationS1(me) returns Situation from IntSurf
---C++: inline
is static;
SituationS2(me) returns Situation from IntSurf
---C++: inline
is static;
Curve(me) returns Curve from Geom
is static;
Curve(me; parmin,parmax : Real) returns Curve from Geom
is static;
Arc(me) returns Shape from TopoDS;
---Purpose: returns the edge of a RESTRICTION line (or a null edge).
---C++: return const &
ArcIsEdge(me; I : Integer) returns Boolean;
---Purpose: returns true if Arc() edge (of a RESTRICTION line) is
-- an edge of the original face <Index> (1 or 2).
LineW(me) returns WLine from IntPatch;
---C++: return const &
---C++: inline
LineG(me) returns GLine from IntPatch;
---C++: return const &
---C++: inline
LineR(me) returns RLine from IntPatch;
---C++: return const &
---C++: inline
HasFirstPoint(me) returns Boolean;
HasLastPoint(me) returns Boolean;
ComputeFaceFaceTransition(me:in out);
FaceFaceTransition(me;I:Integer) returns Transition from TopOpeBRepDS;
-- transition from face I(1,2) through me with face (2,1)
---C++: return const &
Index(me : in out; I : Integer from Standard) is static; -- debug
---C++: inline
Index(me) returns Integer from Standard is static; -- debug
---C++: inline
DumpType(me) is static; -- debug
DumpVPoint(me; I : Integer;
s1,s2 : AsciiString from TCollection) is static; -- debug
DumpBipoint(me; B : Bipoint from TopOpeBRep;
s1,s2 : AsciiString from TCollection) is static; -- debug
SetTraceIndex(me:in out; exF1,exF2 : Integer) is static;
GetTraceIndex(me; exF1,exF2 : out Integer) is static;
-- <exf1,exf2> TopExp_Explorer exploration index of faces
-- involved in current line. (trace)
DumpLineTransitions(me; OS : in out OStream) returns OStream is static;
---C++: return &
fields
myOK : Boolean;
myIndex : Integer;
myNbVPoint : Integer;
myIsVClosed : Boolean;
myHasVPonR : Boolean;
myINL : Boolean;
myVPBDefined : Boolean;
myVPF : Integer;
myVPL : Integer;
myVPN : Integer;
myTypeLineCurve : TypeLineCurve from TopOpeBRep;
myIL : Line from IntPatch;
myILA : ALine from IntPatch;
myILR : RLine from IntPatch;
myILW : WLine from IntPatch;
myILG : GLine from IntPatch;
myCurrentWP : WPointInter from TopOpeBRep;
myHAVP : HArray1OfVPointInter from TopOpeBRep;
myF1 : Face from TopoDS;
myF2 : Face from TopoDS;
myLineTonF1 : Transition from TopOpeBRepDS;
myLineTonF2 : Transition from TopOpeBRepDS;
myNullShape : Shape from TopoDS; --dummy
-- trace
myexF1,myexF2 : Integer;
end LineInter from TopOpeBRep;
|