0024059: Eliminate compiler warning C4701 in MSVC++ with warning level 4
[occt.git] / src / ChFiDS / ChFiDS_SurfData.cdl
CommitLineData
b311480e 1-- Created on: 1993-11-26
2-- Created by: Isabelle GRIGNON
3-- Copyright (c) 1993-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 SurfData from ChFiDS inherits TShared from MMgt
24
25 ---Purpose:
26
27uses
28 Pnt2d from gp,
29 Surface from Geom,
30 Orientation from TopAbs,
31 FaceInterference from ChFiDS,
32 CommonPoint from ChFiDS
33
34is
35 Create returns mutable SurfData;
36
37 Copy(me: mutable; Other : SurfData from ChFiDS);
38
39 IndexOfS1(me) returns Integer is static;
40 ---C++: inline
41
42 IndexOfS2(me) returns Integer is static;
43 ---C++: inline
44
45 IsOnCurve1(me) returns Boolean is static;
46 ---C++: inline
47
48 IsOnCurve2(me) returns Boolean is static;
49 ---C++: inline
50
51 IndexOfC1(me) returns Integer is static;
52 ---C++: inline
53
54 IndexOfC2(me) returns Integer is static;
55 ---C++: inline
56
57 Surf(me) returns Integer is static;
58 ---C++: inline
59
60 Orientation(me) returns Orientation from TopAbs is static;
61 ---C++: inline
62
63 InterferenceOnS1(me) returns FaceInterference from ChFiDS is static;
64 ---C++: inline
65 ---C++: return const &
66
67 InterferenceOnS2(me) returns FaceInterference from ChFiDS is static;
68 ---C++: inline
69 ---C++: return const &
70
71 VertexFirstOnS1(me) returns CommonPoint from ChFiDS is static;
72 ---C++: inline
73 ---C++: return const &
74
75 VertexFirstOnS2(me) returns CommonPoint from ChFiDS is static;
76 ---C++: inline
77 ---C++: return const &
78
79 VertexLastOnS1(me) returns CommonPoint from ChFiDS is static;
80 ---C++: inline
81 ---C++: return const &
82
83 VertexLastOnS2(me) returns CommonPoint from ChFiDS is static;
84 ---C++: inline
85 ---C++: return const &
86
87 ChangeIndexOfS1(me : mutable; Index : Integer ) is static;
88 ---C++: inline
89
90 ChangeIndexOfS2(me : mutable; Index : Integer ) is static;
91 ---C++: inline
92
93 ChangeSurf(me : mutable; Index : Integer ) is static;
94 ---C++: inline
95
96 SetIndexOfC1(me : mutable; Index : Integer ) is static;
97 ---C++: inline
98
99 SetIndexOfC2(me : mutable; Index : Integer ) is static;
100 ---C++: inline
101
102 ChangeOrientation(me : mutable) returns Orientation from TopAbs is static;
103 ---C++: inline
104 ---C++: return &
105
106 ChangeInterferenceOnS1(me : mutable)
107 returns FaceInterference from ChFiDS is static;
108 ---C++: inline
109 ---C++: return &
110
111 ChangeInterferenceOnS2(me : mutable)
112 returns FaceInterference from ChFiDS is static;
113 ---C++: inline
114 ---C++: return &
115
116 ChangeVertexFirstOnS1(me : mutable)
117 returns CommonPoint from ChFiDS is static;
118 ---C++: inline
119 ---C++: return &
120
121 ChangeVertexFirstOnS2(me : mutable)
122 returns CommonPoint from ChFiDS is static;
123 ---C++: inline
124 ---C++: return &
125
126 ChangeVertexLastOnS1(me : mutable)
127 returns CommonPoint from ChFiDS is static;
128 ---C++: inline
129 ---C++: return &
130
131 ChangeVertexLastOnS2(me : mutable)
132 returns CommonPoint from ChFiDS is static;
133 ---C++: inline
134 ---C++: return &
135
136 Interference(me; OnS : Integer from Standard)
137 returns FaceInterference from ChFiDS is static;
138 ---C++: return const &
139
140 ChangeInterference(me : mutable; OnS : Integer from Standard)
141 returns FaceInterference from ChFiDS is static;
142 ---C++: return &
143
144 Index(me; OfS : Integer from Standard)
145 returns Integer from Standard is static;
146
147
148 Vertex(me;
149 First : Boolean from Standard;
150 OnS : Integer from Standard)
151 returns CommonPoint from ChFiDS is static;
152 ---C++: return const &
153 ---Purpose: returns one of the four vertices wether First is true
154 -- or wrong and OnS equals 1 or 2.
155
156 ChangeVertex(me : mutable;
157 First : Boolean from Standard;
158 OnS : Integer from Standard)
159 returns CommonPoint from ChFiDS is static;
160 ---C++: return &
161 ---Purpose: returns one of the four vertices wether First is true
162 -- or wrong and OnS equals 1 or 2.
163
164 IsOnCurve(me; OnS : Integer from Standard) returns Boolean is static;
165 ---C++: inline
166
167 IndexOfC(me; OnS : Integer from Standard) returns Integer is static;
168 ---C++: inline
169
170 FirstSpineParam(me) returns Real from Standard is static;
171 LastSpineParam(me) returns Real from Standard is static;
172 FirstSpineParam(me : mutable; Par :Real from Standard) is static;
173 LastSpineParam(me : mutable; Par :Real from Standard) is static;
174
175 FirstExtensionValue(me) returns Real from Standard is static;
176 LastExtensionValue(me) returns Real from Standard is static;
177 FirstExtensionValue(me:mutable;Extend:Real from Standard) is static;
178 LastExtensionValue(me:mutable;Extend:Real from Standard) is static;
179
180 Simul(me) returns mutable TShared from MMgt;
181 SetSimul(me : mutable; S : TShared from MMgt);
182 ResetSimul(me : mutable);
183
184 Get2dPoints(me; First : Boolean from Standard; OnS : Integer from Standard)
185 returns Pnt2d from gp;
186 Get2dPoints(me; P2df1,P2dl1,P2df2,P2dl2 : out Pnt2d from gp);
187 Set2dPoints(me : mutable; P2df1,P2dl1,P2df2,P2dl2 : Pnt2d from gp);
188
189 TwistOnS1(me) returns Boolean is static;
190 ---C++: inline
191
192 TwistOnS2(me) returns Boolean is static;
193 ---C++: inline
194
195 TwistOnS1(me : mutable; T : Boolean from Standard);
196 ---C++: inline
197
198 TwistOnS2(me : mutable; T : Boolean from Standard);
199 ---C++: inline
200
201
202
203fields
204
205pfirstOnS1 : CommonPoint from ChFiDS;
206plastOnS1 : CommonPoint from ChFiDS;
207pfirstOnS2 : CommonPoint from ChFiDS;
208plastOnS2 : CommonPoint from ChFiDS;
209
210intf1 : FaceInterference from ChFiDS;
211intf2 : FaceInterference from ChFiDS;
212
213p2df1 : Pnt2d from gp; -- 2d points to be used as start point for simulation.
214p2dl1 : Pnt2d from gp;
215p2df2 : Pnt2d from gp;
216p2dl2 : Pnt2d from gp;
217
218ufspine : Real from Standard; -- may be uninitialized
219ulspine : Real from Standard; -- may be uninitialized
220myfirstextend : Real from Standard;
221mylastextend : Real from Standard;
222
223simul : TShared from MMgt; -- free space to store simulating sections.
224
225indexOfS1 : Integer from Standard;
226indexOfC1 : Integer from Standard;
227indexOfS2 : Integer from Standard;
228indexOfC2 : Integer from Standard;
229indexOfConge : Integer from Standard;
230
231isoncurv1 : Boolean from Standard;
232isoncurv2 : Boolean from Standard;
233twistons1 : Boolean from Standard;
234twistons2 : Boolean from Standard;
235orientation : Orientation from TopAbs;
236
237end SurfData;
238