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