b311480e |
1 | -- Created on: 1994-03-09 |
2 | -- Created by: Isabelle GRIGNON |
3 | -- Copyright (c) 1994-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class Stripe from ChFiDS inherits TShared |
18 | |
19 | ---Purpose: data structure associe au coin |
20 | |
21 | uses HData from ChFiDS, |
22 | Spine from ChFiDS, |
23 | Orientation from TopAbs, |
24 | Curve from Geom2d |
25 | |
26 | is |
27 | |
6e33d3ce |
28 | Create returns Stripe from ChFiDS; |
7fd59977 |
29 | |
30 | |
31 | Reset(me : mutable) is static; |
32 | ---Purpose: Reset everything except Spine. |
33 | |
34 | SetOfSurfData(me) returns any HData from ChFiDS is static; |
35 | ---C++: inline |
36 | ---C++: return const & |
37 | |
38 | Spine(me) returns any Spine from ChFiDS is static; |
39 | ---C++: inline |
40 | ---C++: return const & |
41 | |
42 | OrientationOnFace1(me) returns Orientation from TopAbs is static; |
43 | ---C++: inline |
44 | |
45 | OrientationOnFace2(me) returns Orientation from TopAbs is static; |
46 | ---C++: inline |
47 | |
48 | Choix(me) |
49 | returns Integer from Standard is static; |
50 | ---C++: inline |
51 | |
52 | ChangeSetOfSurfData(me: mutable) returns any HData from ChFiDS is static; |
53 | ---C++: inline |
54 | ---C++: return & |
55 | |
56 | ChangeSpine(me : mutable) returns any Spine from ChFiDS |
57 | is static; |
58 | ---C++: inline |
59 | ---C++: return & |
60 | |
61 | OrientationOnFace1(me : mutable; Or1 : Orientation from TopAbs) |
62 | is static; |
63 | ---C++: inline |
64 | |
65 | OrientationOnFace2(me : mutable; Or2 : Orientation from TopAbs ) |
66 | is static; |
67 | ---C++: inline |
68 | |
69 | Choix(me : mutable; C : Integer from Standard) |
70 | is static; |
71 | ---C++: inline |
72 | |
73 | FirstParameters(me; Pdeb,Pfin : out Real from Standard) is static; |
74 | ---C++: inline |
75 | |
76 | LastParameters(me; Pdeb,Pfin : out Real from Standard) is static; |
77 | ---C++: inline |
78 | |
79 | ChangeFirstParameters(me : mutable ; Pdeb,Pfin : Real from Standard) |
80 | ---C++: inline |
81 | is static; |
82 | |
83 | ChangeLastParameters(me : mutable ; Pdeb,Pfin : Real from Standard) |
84 | ---C++: inline |
85 | is static; |
86 | |
87 | FirstCurve(me) returns Integer from Standard is static; |
88 | ---C++: inline |
89 | |
90 | LastCurve(me) returns Integer from Standard is static; |
91 | ---C++: inline |
92 | |
93 | ChangeFirstCurve(me : mutable;Index : Integer) is static; |
94 | ---C++: inline |
95 | |
96 | ChangeLastCurve(me : mutable;Index : Integer ) is static; |
97 | ---C++: inline |
98 | |
99 | FirstPCurve(me) returns any Curve from Geom2d is static; |
100 | ---C++: inline |
101 | ---C++: return const & |
102 | |
103 | LastPCurve(me) returns any Curve from Geom2d is static; |
104 | ---C++: inline |
105 | ---C++: return const & |
106 | |
107 | ChangeFirstPCurve(me : mutable) returns any Curve from Geom2d is static; |
108 | ---C++: inline |
109 | ---C++: return & |
110 | |
111 | ChangeLastPCurve(me : mutable) returns any Curve from Geom2d is static; |
112 | ---C++: inline |
113 | ---C++: return & |
114 | |
115 | FirstPCurveOrientation(me) returns Orientation from TopAbs is static; |
116 | ---C++: inline |
117 | |
118 | LastPCurveOrientation(me) returns Orientation from TopAbs is static; |
119 | ---C++: inline |
120 | |
121 | FirstPCurveOrientation(me : mutable; O : Orientation from TopAbs) |
122 | is static; |
123 | ---C++: inline |
124 | |
125 | LastPCurveOrientation(me : mutable; O : Orientation from TopAbs) |
126 | is static; |
127 | ---C++: inline |
128 | |
129 | IndexFirstPointOnS1(me) returns Integer is static; |
130 | ---C++: inline |
131 | |
132 | IndexFirstPointOnS2(me) returns Integer is static; |
133 | ---C++: inline |
134 | |
135 | IndexLastPointOnS1(me) returns Integer is static; |
136 | ---C++: inline |
137 | |
138 | IndexLastPointOnS2(me) returns Integer is static; |
139 | ---C++: inline |
140 | |
141 | ChangeIndexFirstPointOnS1(me : mutable; Index : Integer ) is static; |
142 | ---C++: inline |
143 | |
144 | ChangeIndexFirstPointOnS2(me : mutable; Index : Integer ) is static; |
145 | ---C++: inline |
146 | |
147 | ChangeIndexLastPointOnS1(me : mutable; Index : Integer ) is static; |
148 | ---C++: inline |
149 | |
150 | ChangeIndexLastPointOnS2(me : mutable; Index : Integer ) is static; |
151 | ---C++: inline |
152 | |
153 | --------------------------------------------------------------- |
154 | -- syntaxes utiles pour faire la meme chose que ci dessus -- |
155 | --------------------------------------------------------------- |
156 | |
157 | Parameters(me; |
158 | First : Boolean from Standard; |
159 | Pdeb,Pfin : out Real from Standard) is static; |
160 | |
161 | |
162 | SetParameters(me : mutable; |
163 | First : Boolean from Standard; |
164 | Pdeb,Pfin : Real from Standard) is static; |
165 | |
166 | |
167 | Curve(me; First : Boolean from Standard) |
168 | returns Integer from Standard is static; |
169 | |
170 | SetCurve(me : mutable; |
171 | Index : Integer; |
172 | First : Boolean from Standard) is static; |
173 | |
174 | PCurve(me; First : Boolean from Standard) |
175 | returns any Curve from Geom2d is static; |
176 | ---C++: return const & |
177 | |
178 | ChangePCurve(me : mutable; |
179 | First : Boolean from Standard) |
180 | returns any Curve from Geom2d is static; |
181 | ---C++: return & |
182 | |
183 | Orientation(me; OnS : Integer from Standard) |
184 | returns Orientation from TopAbs |
185 | is static; |
186 | |
187 | SetOrientation(me : mutable; |
188 | Or : Orientation from TopAbs; |
189 | OnS : Integer from Standard) |
190 | is static; |
191 | |
192 | Orientation(me; First : Boolean from Standard) |
193 | returns Orientation from TopAbs |
194 | is static; |
195 | |
196 | SetOrientation(me : mutable; |
197 | Or : Orientation from TopAbs; |
198 | First : Boolean from Standard) |
199 | is static; |
200 | |
201 | IndexPoint(me; |
202 | First : Boolean from Standard; |
203 | OnS : Integer from Standard) |
204 | returns Integer from Standard |
205 | is static; |
206 | |
207 | SetIndexPoint(me : mutable; |
208 | Index : Integer from Standard; |
209 | First : Boolean from Standard; |
210 | OnS : Integer from Standard) |
211 | is static; |
212 | |
213 | |
214 | SolidIndex(me) |
215 | returns Integer from Standard |
216 | is static; |
217 | |
218 | SetSolidIndex(me : mutable; |
219 | Index : Integer from Standard) |
220 | is static; |
221 | |
222 | |
223 | InDS(me : mutable; |
224 | First : Boolean from Standard; |
225 | Nb : Integer from Standard = 1) -- eap, Apr 29 2002, occ293 |
226 | is static; |
227 | ---Purpose: Set nb of SurfData's at end put in DS |
228 | |
229 | IsInDS(me; |
230 | First : Boolean from Standard) |
231 | -- returns Boolean from Standard |
232 | returns Integer from Standard -- eap, Apr 29 2002, occ293 |
233 | is static; |
234 | ---Purpose: Returns nb of SurfData's at end being in DS |
235 | |
236 | fields |
237 | |
238 | |
239 | --- donnees caracterisant les extremites. |
240 | ----------------------------------------- |
241 | pardeb1 : Real from Standard; |
242 | parfin1 : Real from Standard; |
243 | pardeb2 : Real from Standard; |
244 | parfin2 : Real from Standard; |
245 | |
246 | --- donnees globales a la bande de conges. |
247 | ------------------------------------------ |
248 | mySpine : Spine from ChFiDS; |
249 | myHdata : HData from ChFiDS; |
250 | pcrv1 : Curve from Geom2d; |
251 | pcrv2 : Curve from Geom2d; |
252 | |
253 | myChoix : Integer from Standard; |
254 | indexOfSolid : Integer from Standard; |
255 | indexOfcurve1 : Integer from Standard; |
256 | indexOfcurve2 : Integer from Standard; |
257 | --- donnees caracterisant les extremites. |
258 | indexfirstPOnS1 : Integer from Standard; |
259 | indexlastPOnS1 : Integer from Standard; |
260 | indexfirstPOnS2 : Integer from Standard; |
261 | indexlastPOnS2 : Integer from Standard; |
262 | |
263 | -- eap, Apr 29 2002, occ293 |
264 | begfilled : Integer from Standard; |
265 | endfilled : Integer from Standard; |
266 | --begfilled : Boolean from Standard; |
267 | --endfilled : Boolean from Standard; |
268 | |
269 | myOr1 : Orientation from TopAbs;-- donnees globales a la bande de conges. |
270 | myOr2 : Orientation from TopAbs;-- donnees globales a la bande de conges. |
271 | orcurv1 : Orientation from TopAbs; |
272 | orcurv2 : Orientation from TopAbs; |
273 | end Stripe; |