0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / AdvApp2Var / AdvApp2Var.cdl
CommitLineData
b311480e 1-- Created on: 1996-03-05
2-- Created by: Joelle CHAUVET
3-- Copyright (c) 1996-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.
b311480e 16
7fd59977 17-- Modified: Wed Jan 15 09:45:42 1997
18-- by: Joelle CHAUVET
19-- G1135 : Approximation with criterion
20-- class Criterion and enumeration CriterionType
21-- G1134 : Approximation with regular cuttings
22-- enumeration CriterionRepartition
7fd59977 23
24
25
26package AdvApp2Var
27
28 ---Purpose: This package provides algorithms to approximate a
29 -- function of 2 variables that can be multidimensional;
30 -- the result is a BSpline function with the required continuity
31 -- Warning: only one 3D BSpline for the moment
32 --
33
34
35
36uses
37 gp,
38 Geom,
39 GeomAbs,
40 TColStd,
41 TColgp,
42 TColGeom,
7fd59977 43 AdvApprox,
44 Standard
45
46is
47
48 enumeration CriterionType is
49 ---Purpose: influency of the criterion on cutting process
50 Absolute,
51 ---Purpose: cutting when criterion is not satisfied
52 -- desactivation of the compute of the error max
53 Relative
54 ---Purpose: cutting when error max is not good or if error
55 -- max is good and criterion is not satisfied
56
57 end CriterionType;
58
59
60 enumeration CriterionRepartition is
61 ---Purpose: way of cutting process
62 Regular,
63 ---Purpose: all new cutting points at each step of cutting
64 -- process : (a+i(b-a)/N)i at step N,
65 -- (a+i(b-a)/(N+1))i at step N+1,...
66 -- where (a,b) is the global interval
67 Incremental
68 ---Purpose: add one new cutting point at each step
69 -- of cutting process
70
71 end CriterionRepartition;
72 --
73 --
74 -- public classes
75 --
76 --
77
78 class ApproxAFunc2Var from AdvApp2Var ;
7fd59977 79
80 imported EvaluatorFunc2Var ;
7fd59977 81
82 deferred class Criterion from AdvApp2Var ;
ff8178ef 83
7fd59977 84
85
86 --
87 --
88 -- private classes for Data
89 --
90 --
91 -- Basic Data
92
93 class Context from AdvApp2Var;
7fd59977 94
95 class Node from AdvApp2Var;
7fd59977 96
97 class Iso from AdvApp2Var;
7fd59977 98
99 class Patch from AdvApp2Var;
7fd59977 100
df8d3970 101 imported Strip;
7fd59977 102 ---Purpose :
103 -- set of constraints along a same type of Iso on the same level
104
105 --
106 --
107 -- Structured Data
108
df8d3970 109 imported SequenceOfNode;
110 imported SequenceOfPatch;
111 imported SequenceOfStrip;
7fd59977 112
113 --
114 --
115 -- Final Data
116
117 class Network from AdvApp2Var;
118 -- contains all the result patches and the associated parameters U and V
119 --
120
121 class Framework from AdvApp2Var;
122 -- contains all the constraints (Nodes and Isos)
123 --
124
125
126end AdvApp2Var;
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187