1 -- Created on: 1993-11-26
2 -- Created by: Isabelle GRIGNON
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class SurfData from ChFiDS inherits TShared from MMgt
19 ---Purpose: data structure for all information related to the
20 -- fillet and to 2 faces vis a vis
25 Orientation from TopAbs,
26 FaceInterference from ChFiDS,
27 CommonPoint from ChFiDS
30 Create returns SurfData;
32 Copy(me: mutable; Other : SurfData from ChFiDS);
34 IndexOfS1(me) returns Integer is static;
37 IndexOfS2(me) returns Integer is static;
40 IsOnCurve1(me) returns Boolean is static;
43 IsOnCurve2(me) returns Boolean is static;
46 IndexOfC1(me) returns Integer is static;
49 IndexOfC2(me) returns Integer is static;
52 Surf(me) returns Integer is static;
55 Orientation(me) returns Orientation from TopAbs is static;
58 InterferenceOnS1(me) returns FaceInterference from ChFiDS is static;
60 ---C++: return const &
62 InterferenceOnS2(me) returns FaceInterference from ChFiDS is static;
64 ---C++: return const &
66 VertexFirstOnS1(me) returns CommonPoint from ChFiDS is static;
68 ---C++: return const &
70 VertexFirstOnS2(me) returns CommonPoint from ChFiDS is static;
72 ---C++: return const &
74 VertexLastOnS1(me) returns CommonPoint from ChFiDS is static;
76 ---C++: return const &
78 VertexLastOnS2(me) returns CommonPoint from ChFiDS is static;
80 ---C++: return const &
82 ChangeIndexOfS1(me : mutable; Index : Integer ) is static;
85 ChangeIndexOfS2(me : mutable; Index : Integer ) is static;
88 ChangeSurf(me : mutable; Index : Integer ) is static;
91 SetIndexOfC1(me : mutable; Index : Integer ) is static;
94 SetIndexOfC2(me : mutable; Index : Integer ) is static;
97 ChangeOrientation(me : mutable) returns Orientation from TopAbs is static;
101 ChangeInterferenceOnS1(me : mutable)
102 returns FaceInterference from ChFiDS is static;
106 ChangeInterferenceOnS2(me : mutable)
107 returns FaceInterference from ChFiDS is static;
111 ChangeVertexFirstOnS1(me : mutable)
112 returns CommonPoint from ChFiDS is static;
116 ChangeVertexFirstOnS2(me : mutable)
117 returns CommonPoint from ChFiDS is static;
121 ChangeVertexLastOnS1(me : mutable)
122 returns CommonPoint from ChFiDS is static;
126 ChangeVertexLastOnS2(me : mutable)
127 returns CommonPoint from ChFiDS is static;
131 Interference(me; OnS : Integer from Standard)
132 returns FaceInterference from ChFiDS is static;
133 ---C++: return const &
135 ChangeInterference(me : mutable; OnS : Integer from Standard)
136 returns FaceInterference from ChFiDS is static;
139 Index(me; OfS : Integer from Standard)
140 returns Integer from Standard is static;
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.
151 ChangeVertex(me : mutable;
152 First : Boolean from Standard;
153 OnS : Integer from Standard)
154 returns CommonPoint from ChFiDS is static;
156 ---Purpose: returns one of the four vertices wether First is true
157 -- or wrong and OnS equals 1 or 2.
159 IsOnCurve(me; OnS : Integer from Standard) returns Boolean is static;
162 IndexOfC(me; OnS : Integer from Standard) returns Integer is static;
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;
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;
175 Simul(me) returns TShared from MMgt;
176 SetSimul(me : mutable; S : TShared from MMgt);
177 ResetSimul(me : mutable);
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);
184 TwistOnS1(me) returns Boolean is static;
187 TwistOnS2(me) returns Boolean is static;
190 TwistOnS1(me : mutable; T : Boolean from Standard);
193 TwistOnS2(me : mutable; T : Boolean from Standard);
200 pfirstOnS1 : CommonPoint from ChFiDS;
201 plastOnS1 : CommonPoint from ChFiDS;
202 pfirstOnS2 : CommonPoint from ChFiDS;
203 plastOnS2 : CommonPoint from ChFiDS;
205 intf1 : FaceInterference from ChFiDS;
206 intf2 : FaceInterference from ChFiDS;
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;
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;
218 simul : TShared from MMgt; -- free space to store simulating sections.
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;
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;