b311480e |
1 | -- Created on: 1993-11-26 |
2 | -- Created by: Modelistation |
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 | |
23 | class ALineToWLine from IntPatch |
24 | |
25 | uses |
26 | WLine from IntPatch, |
27 | ALine from IntPatch, |
28 | Quadric from IntSurf |
29 | |
30 | is |
31 | |
32 | Create(Quad1 : Quadric from IntSurf; |
33 | Quad2 : Quadric from IntSurf) |
34 | |
35 | returns ALineToWLine from IntPatch; |
36 | |
37 | Create(Quad1 : Quadric from IntSurf; |
38 | Quad2 : Quadric from IntSurf; |
39 | Deflection : Real from Standard; |
40 | PasMaxUV : Real from Standard; |
41 | NbMaxPoints : Integer from Standard) |
42 | |
43 | returns ALineToWLine from IntPatch; |
44 | |
45 | |
46 | SetTolParam(me:out; |
47 | aT:Real from Standard); |
48 | |
49 | TolParam(me) |
50 | returns Real from Standard; |
51 | |
52 | SetTolOpenDomain(me:out; |
53 | aT:Real from Standard); |
54 | |
55 | TolOpenDomain(me) |
56 | returns Real from Standard; |
57 | |
58 | SetTolTransition(me:out; |
59 | aT:Real from Standard); |
60 | |
61 | TolTransition(me) |
62 | returns Real from Standard; |
63 | |
64 | SetTol3D(me:out; |
65 | aT:Real from Standard); |
66 | |
67 | Tol3D(me) |
68 | returns Real from Standard; |
69 | |
70 | SetConstantParameter(me); |
71 | |
72 | SetUniformAbscissa(me); |
73 | |
74 | SetUniformDeflection(me); |
75 | |
76 | MakeWLine(me; aline: ALine from IntPatch) |
77 | |
78 | returns WLine from IntPatch; |
79 | |
80 | MakeWLine(me; aline: ALine from IntPatch; paraminf,paramsup: Real from Standard) |
81 | returns WLine from IntPatch; |
82 | |
83 | fields |
84 | quad1 : Quadric from IntSurf; |
85 | quad2 : Quadric from IntSurf; |
86 | deflectionmax : Real from Standard; |
87 | pasuvmax : Real from Standard; |
88 | nbpointsmax : Integer from Standard; |
89 | type : Integer from Standard; -- 0: Constant Parameter |
90 | -- 1: Uniform Abscissa |
91 | -- 2: Uniform Deflection |
92 | myTolParam : Real from Standard; |
93 | myTolOpenDomain : Real from Standard; |
94 | myTolTransition : Real from Standard; |
95 | myTol3D : Real from Standard; |
96 | |
97 | end; |