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