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
24 Orientation from TopAbs,
25 FaceInterference from ChFiDS,
26 CommonPoint from ChFiDS
29 Create returns SurfData;
31 Copy(me: mutable; Other : SurfData from ChFiDS);
33 IndexOfS1(me) returns Integer is static;
36 IndexOfS2(me) returns Integer is static;
39 IsOnCurve1(me) returns Boolean is static;
42 IsOnCurve2(me) returns Boolean is static;
45 IndexOfC1(me) returns Integer is static;
48 IndexOfC2(me) returns Integer is static;
51 Surf(me) returns Integer is static;
54 Orientation(me) returns Orientation from TopAbs is static;
57 InterferenceOnS1(me) returns FaceInterference from ChFiDS is static;
59 ---C++: return const &
61 InterferenceOnS2(me) returns FaceInterference from ChFiDS is static;
63 ---C++: return const &
65 VertexFirstOnS1(me) returns CommonPoint from ChFiDS is static;
67 ---C++: return const &
69 VertexFirstOnS2(me) returns CommonPoint from ChFiDS is static;
71 ---C++: return const &
73 VertexLastOnS1(me) returns CommonPoint from ChFiDS is static;
75 ---C++: return const &
77 VertexLastOnS2(me) returns CommonPoint from ChFiDS is static;
79 ---C++: return const &
81 ChangeIndexOfS1(me : mutable; Index : Integer ) is static;
84 ChangeIndexOfS2(me : mutable; Index : Integer ) is static;
87 ChangeSurf(me : mutable; Index : Integer ) is static;
90 SetIndexOfC1(me : mutable; Index : Integer ) is static;
93 SetIndexOfC2(me : mutable; Index : Integer ) is static;
96 ChangeOrientation(me : mutable) returns Orientation from TopAbs is static;
100 ChangeInterferenceOnS1(me : mutable)
101 returns FaceInterference from ChFiDS is static;
105 ChangeInterferenceOnS2(me : mutable)
106 returns FaceInterference from ChFiDS is static;
110 ChangeVertexFirstOnS1(me : mutable)
111 returns CommonPoint from ChFiDS is static;
115 ChangeVertexFirstOnS2(me : mutable)
116 returns CommonPoint from ChFiDS is static;
120 ChangeVertexLastOnS1(me : mutable)
121 returns CommonPoint from ChFiDS is static;
125 ChangeVertexLastOnS2(me : mutable)
126 returns CommonPoint from ChFiDS is static;
130 Interference(me; OnS : Integer from Standard)
131 returns FaceInterference from ChFiDS is static;
132 ---C++: return const &
134 ChangeInterference(me : mutable; OnS : Integer from Standard)
135 returns FaceInterference from ChFiDS is static;
138 Index(me; OfS : Integer from Standard)
139 returns Integer from Standard is static;
143 First : Boolean from Standard;
144 OnS : Integer from Standard)
145 returns CommonPoint from ChFiDS is static;
146 ---C++: return const &
147 ---Purpose: returns one of the four vertices wether First is true
148 -- or wrong and OnS equals 1 or 2.
150 ChangeVertex(me : mutable;
151 First : Boolean from Standard;
152 OnS : Integer from Standard)
153 returns CommonPoint from ChFiDS is static;
155 ---Purpose: returns one of the four vertices wether First is true
156 -- or wrong and OnS equals 1 or 2.
158 IsOnCurve(me; OnS : Integer from Standard) returns Boolean is static;
161 IndexOfC(me; OnS : Integer from Standard) returns Integer is static;
164 FirstSpineParam(me) returns Real from Standard is static;
165 LastSpineParam(me) returns Real from Standard is static;
166 FirstSpineParam(me : mutable; Par :Real from Standard) is static;
167 LastSpineParam(me : mutable; Par :Real from Standard) is static;
169 FirstExtensionValue(me) returns Real from Standard is static;
170 LastExtensionValue(me) returns Real from Standard is static;
171 FirstExtensionValue(me:mutable;Extend:Real from Standard) is static;
172 LastExtensionValue(me:mutable;Extend:Real from Standard) is static;
174 Simul(me) returns TShared from MMgt;
175 SetSimul(me : mutable; S : TShared from MMgt);
176 ResetSimul(me : mutable);
178 Get2dPoints(me; First : Boolean from Standard; OnS : Integer from Standard)
179 returns Pnt2d from gp;
180 Get2dPoints(me; P2df1,P2dl1,P2df2,P2dl2 : out Pnt2d from gp);
181 Set2dPoints(me : mutable; P2df1,P2dl1,P2df2,P2dl2 : Pnt2d from gp);
183 TwistOnS1(me) returns Boolean is static;
186 TwistOnS2(me) returns Boolean is static;
189 TwistOnS1(me : mutable; T : Boolean from Standard);
192 TwistOnS2(me : mutable; T : Boolean from Standard);
199 pfirstOnS1 : CommonPoint from ChFiDS;
200 plastOnS1 : CommonPoint from ChFiDS;
201 pfirstOnS2 : CommonPoint from ChFiDS;
202 plastOnS2 : CommonPoint from ChFiDS;
204 intf1 : FaceInterference from ChFiDS;
205 intf2 : FaceInterference from ChFiDS;
207 p2df1 : Pnt2d from gp; -- 2d points to be used as start point for simulation.
208 p2dl1 : Pnt2d from gp;
209 p2df2 : Pnt2d from gp;
210 p2dl2 : Pnt2d from gp;
212 ufspine : Real from Standard; -- may be uninitialized
213 ulspine : Real from Standard; -- may be uninitialized
214 myfirstextend : Real from Standard;
215 mylastextend : Real from Standard;
217 simul : TShared from MMgt; -- free space to store simulating sections.
219 indexOfS1 : Integer from Standard;
220 indexOfC1 : Integer from Standard;
221 indexOfS2 : Integer from Standard;
222 indexOfC2 : Integer from Standard;
223 indexOfConge : Integer from Standard;
225 isoncurv1 : Boolean from Standard;
226 isoncurv2 : Boolean from Standard;
227 twistons1 : Boolean from Standard;
228 twistons2 : Boolean from Standard;
229 orientation : Orientation from TopAbs;