0023024: Update headers of OCCT files
[occt.git] / src / ChFiDS / ChFiDS_Stripe.cdl
CommitLineData
b311480e 1-- Created on: 1994-03-09
2-- Created by: Isabelle GRIGNON
3-- Copyright (c) 1994-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23class Stripe from ChFiDS inherits TShared
24
25 ---Purpose: data structure associe au coin
26
27uses HData from ChFiDS,
28 Spine from ChFiDS,
29 Orientation from TopAbs,
30 Curve from Geom2d
31
32is
33
34 Create returns mutable Stripe from ChFiDS;
35
36
37 Reset(me : mutable) is static;
38 ---Purpose: Reset everything except Spine.
39
40 SetOfSurfData(me) returns any HData from ChFiDS is static;
41 ---C++: inline
42 ---C++: return const &
43
44 Spine(me) returns any Spine from ChFiDS is static;
45 ---C++: inline
46 ---C++: return const &
47
48 OrientationOnFace1(me) returns Orientation from TopAbs is static;
49 ---C++: inline
50
51 OrientationOnFace2(me) returns Orientation from TopAbs is static;
52 ---C++: inline
53
54 Choix(me)
55 returns Integer from Standard is static;
56 ---C++: inline
57
58 ChangeSetOfSurfData(me: mutable) returns any HData from ChFiDS is static;
59 ---C++: inline
60 ---C++: return &
61
62 ChangeSpine(me : mutable) returns any Spine from ChFiDS
63 is static;
64 ---C++: inline
65 ---C++: return &
66
67 OrientationOnFace1(me : mutable; Or1 : Orientation from TopAbs)
68 is static;
69 ---C++: inline
70
71 OrientationOnFace2(me : mutable; Or2 : Orientation from TopAbs )
72 is static;
73 ---C++: inline
74
75 Choix(me : mutable; C : Integer from Standard)
76 is static;
77 ---C++: inline
78
79 FirstParameters(me; Pdeb,Pfin : out Real from Standard) is static;
80 ---C++: inline
81
82 LastParameters(me; Pdeb,Pfin : out Real from Standard) is static;
83 ---C++: inline
84
85 ChangeFirstParameters(me : mutable ; Pdeb,Pfin : Real from Standard)
86 ---C++: inline
87 is static;
88
89 ChangeLastParameters(me : mutable ; Pdeb,Pfin : Real from Standard)
90 ---C++: inline
91 is static;
92
93 FirstCurve(me) returns Integer from Standard is static;
94 ---C++: inline
95
96 LastCurve(me) returns Integer from Standard is static;
97 ---C++: inline
98
99 ChangeFirstCurve(me : mutable;Index : Integer) is static;
100 ---C++: inline
101
102 ChangeLastCurve(me : mutable;Index : Integer ) is static;
103 ---C++: inline
104
105 FirstPCurve(me) returns any Curve from Geom2d is static;
106 ---C++: inline
107 ---C++: return const &
108
109 LastPCurve(me) returns any Curve from Geom2d is static;
110 ---C++: inline
111 ---C++: return const &
112
113 ChangeFirstPCurve(me : mutable) returns any Curve from Geom2d is static;
114 ---C++: inline
115 ---C++: return &
116
117 ChangeLastPCurve(me : mutable) returns any Curve from Geom2d is static;
118 ---C++: inline
119 ---C++: return &
120
121 FirstPCurveOrientation(me) returns Orientation from TopAbs is static;
122 ---C++: inline
123
124 LastPCurveOrientation(me) returns Orientation from TopAbs is static;
125 ---C++: inline
126
127 FirstPCurveOrientation(me : mutable; O : Orientation from TopAbs)
128 is static;
129 ---C++: inline
130
131 LastPCurveOrientation(me : mutable; O : Orientation from TopAbs)
132 is static;
133 ---C++: inline
134
135 IndexFirstPointOnS1(me) returns Integer is static;
136 ---C++: inline
137
138 IndexFirstPointOnS2(me) returns Integer is static;
139 ---C++: inline
140
141 IndexLastPointOnS1(me) returns Integer is static;
142 ---C++: inline
143
144 IndexLastPointOnS2(me) returns Integer is static;
145 ---C++: inline
146
147 ChangeIndexFirstPointOnS1(me : mutable; Index : Integer ) is static;
148 ---C++: inline
149
150 ChangeIndexFirstPointOnS2(me : mutable; Index : Integer ) is static;
151 ---C++: inline
152
153 ChangeIndexLastPointOnS1(me : mutable; Index : Integer ) is static;
154 ---C++: inline
155
156 ChangeIndexLastPointOnS2(me : mutable; Index : Integer ) is static;
157 ---C++: inline
158
159---------------------------------------------------------------
160-- syntaxes utiles pour faire la meme chose que ci dessus --
161---------------------------------------------------------------
162
163 Parameters(me;
164 First : Boolean from Standard;
165 Pdeb,Pfin : out Real from Standard) is static;
166
167
168 SetParameters(me : mutable;
169 First : Boolean from Standard;
170 Pdeb,Pfin : Real from Standard) is static;
171
172
173 Curve(me; First : Boolean from Standard)
174 returns Integer from Standard is static;
175
176 SetCurve(me : mutable;
177 Index : Integer;
178 First : Boolean from Standard) is static;
179
180 PCurve(me; First : Boolean from Standard)
181 returns any Curve from Geom2d is static;
182 ---C++: return const &
183
184 ChangePCurve(me : mutable;
185 First : Boolean from Standard)
186 returns any Curve from Geom2d is static;
187 ---C++: return &
188
189 Orientation(me; OnS : Integer from Standard)
190 returns Orientation from TopAbs
191 is static;
192
193 SetOrientation(me : mutable;
194 Or : Orientation from TopAbs;
195 OnS : Integer from Standard)
196 is static;
197
198 Orientation(me; First : Boolean from Standard)
199 returns Orientation from TopAbs
200 is static;
201
202 SetOrientation(me : mutable;
203 Or : Orientation from TopAbs;
204 First : Boolean from Standard)
205 is static;
206
207 IndexPoint(me;
208 First : Boolean from Standard;
209 OnS : Integer from Standard)
210 returns Integer from Standard
211 is static;
212
213 SetIndexPoint(me : mutable;
214 Index : Integer from Standard;
215 First : Boolean from Standard;
216 OnS : Integer from Standard)
217 is static;
218
219
220 SolidIndex(me)
221 returns Integer from Standard
222 is static;
223
224 SetSolidIndex(me : mutable;
225 Index : Integer from Standard)
226 is static;
227
228
229 InDS(me : mutable;
230 First : Boolean from Standard;
231 Nb : Integer from Standard = 1) -- eap, Apr 29 2002, occ293
232 is static;
233 ---Purpose: Set nb of SurfData's at end put in DS
234
235 IsInDS(me;
236 First : Boolean from Standard)
237-- returns Boolean from Standard
238 returns Integer from Standard -- eap, Apr 29 2002, occ293
239 is static;
240 ---Purpose: Returns nb of SurfData's at end being in DS
241
242fields
243
244
245--- donnees caracterisant les extremites.
246-----------------------------------------
247pardeb1 : Real from Standard;
248parfin1 : Real from Standard;
249pardeb2 : Real from Standard;
250parfin2 : Real from Standard;
251
252--- donnees globales a la bande de conges.
253------------------------------------------
254mySpine : Spine from ChFiDS;
255myHdata : HData from ChFiDS;
256pcrv1 : Curve from Geom2d;
257pcrv2 : Curve from Geom2d;
258
259myChoix : Integer from Standard;
260indexOfSolid : Integer from Standard;
261indexOfcurve1 : Integer from Standard;
262indexOfcurve2 : Integer from Standard;
263--- donnees caracterisant les extremites.
264indexfirstPOnS1 : Integer from Standard;
265indexlastPOnS1 : Integer from Standard;
266indexfirstPOnS2 : Integer from Standard;
267indexlastPOnS2 : Integer from Standard;
268
269 -- eap, Apr 29 2002, occ293
270begfilled : Integer from Standard;
271endfilled : Integer from Standard;
272--begfilled : Boolean from Standard;
273--endfilled : Boolean from Standard;
274
275myOr1 : Orientation from TopAbs;-- donnees globales a la bande de conges.
276myOr2 : Orientation from TopAbs;-- donnees globales a la bande de conges.
277orcurv1 : Orientation from TopAbs;
278orcurv2 : Orientation from TopAbs;
279end Stripe;