0022550: Fixing data races
[occt.git] / src / AdvApp2Var / AdvApp2Var_Patch.cdl
CommitLineData
7fd59977 1-- File: AdvApp2Var_Patch.cdl
2-- Created: Wed Apr 10 09:49:05 1996
3-- Author: Joelle CHAUVET
4-- <jct@sgi38>
5-- Modified: Wed Jan 15 09:45:42 1997
6-- by: Joelle CHAUVET
7-- G1135 : Methods CutSense with criterion, Coefficients,
8-- CritValue, SetCritValue,
9-- Field 'myCritValue'
10---Copyright: Matra Datavision 1996
11--
12
13class Patch from AdvApp2Var
14
15uses
16
17 Boolean,Integer,Real from Standard,
18 HArray1OfReal,HArray2OfReal from TColStd,
19 HArray2OfPnt from TColgp,
20 EvaluatorFunc2Var,Context,Framework,Criterion from AdvApp2Var
21
22is
23
24 Create returns Patch;
25 Create(U0,U1,V0,V1 : Real; iu,iv : Integer) returns Patch;
26 Create(P : Patch) returns Patch is private;
27 IsDiscretised(me) returns Boolean;
28 Discretise(me: in out; Conditions : Context;
29 Constraints: Framework;
30 func : EvaluatorFunc2Var);
31 IsApproximated(me) returns Boolean;
32 HasResult(me) returns Boolean;
33 MakeApprox(me: in out; Conditions : Context;
34 Constraints: Framework;
35 NumDec : Integer);
36 AddConstraints(me: in out; Conditions : Context;
37 Constraints: Framework);
38 AddErrors(me: in out; Constraints: Framework);
39 ChangeDomain(me: in out; a,b,c,d : Real);
40 ResetApprox(me: in out);
41 OverwriteApprox(me: in out);
42 U0(me) returns Real;
43 U1(me) returns Real;
44 V0(me) returns Real;
45 V1(me) returns Real;
46 UOrder(me) returns Integer;
47 VOrder(me) returns Integer;
48 CutSense(me) returns Integer;
49 CutSense(me; Crit : Criterion; NumDec : Integer) returns Integer;
50 NbCoeffInU(me) returns Integer;
51 NbCoeffInV(me) returns Integer;
52 ChangeNbCoeff(me: in out; NbCoeffU, NbCoeffV : Integer);
53 Poles(me; SSPIndex : Integer; Conditions : Context) returns HArray2OfPnt;
54 Coefficients(me; SSPIndex : Integer; Conditions : Context) returns HArray1OfReal;
55 MaxErrors(me) returns HArray1OfReal;
56 AverageErrors(me) returns HArray1OfReal;
57 IsoErrors(me) returns HArray2OfReal;
58 CritValue(me) returns Real;
59 SetCritValue(me: in out; dist : Real);
60
61fields
62
63 myU0, myU1 : Real;
64 myV0, myV1 : Real;
65 myOrdInU : Integer;
66 myOrdInV : Integer;
67 myNbCoeffInU : Integer;
68 myNbCoeffInV : Integer;
69 myApprIsDone : Boolean;
70 myHasResult : Boolean;
71 myEquation : HArray1OfReal;
72 myMaxErrors : HArray1OfReal;
73 myMoyErrors : HArray1OfReal;
74 myIsoErrors : HArray2OfReal;
75 myCutSense : Integer;
76 myDiscIsDone : Boolean;
77 mySosoTab : HArray1OfReal;
78 myDisoTab : HArray1OfReal;
79 mySodiTab : HArray1OfReal;
80 myDidiTab : HArray1OfReal;
81 myCritValue : Real;
82
83end Patch;
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99