0024624: Lost word in license statement in source files
[occt.git] / src / AdvApp2Var / AdvApp2Var_Patch.cdl
... / ...
CommitLineData
1-- Created on: 1996-04-10
2-- Created by: Joelle CHAUVET
3-- Copyright (c) 1996-1999 Matra Datavision
4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
5--
6-- This file is part of Open CASCADE Technology software library.
7--
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.
13--
14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
16
17-- Modified: Wed Jan 15 09:45:42 1997
18-- by: Joelle CHAUVET
19-- G1135 : Methods CutSense with criterion, Coefficients,
20-- CritValue, SetCritValue,
21-- Field 'myCritValue'
22
23class Patch from AdvApp2Var
24
25uses
26
27 Boolean,Integer,Real from Standard,
28 HArray1OfReal,HArray2OfReal from TColStd,
29 HArray2OfPnt from TColgp,
30 EvaluatorFunc2Var,Context,Framework,Criterion from AdvApp2Var
31
32is
33
34 Create returns Patch;
35 Create(U0,U1,V0,V1 : Real; iu,iv : Integer) returns Patch;
36 Create(P : Patch) returns Patch is private;
37 IsDiscretised(me) returns Boolean;
38 Discretise(me: in out; Conditions : Context;
39 Constraints: Framework;
40 func : EvaluatorFunc2Var);
41 IsApproximated(me) returns Boolean;
42 HasResult(me) returns Boolean;
43 MakeApprox(me: in out; Conditions : Context;
44 Constraints: Framework;
45 NumDec : Integer);
46 AddConstraints(me: in out; Conditions : Context;
47 Constraints: Framework);
48 AddErrors(me: in out; Constraints: Framework);
49 ChangeDomain(me: in out; a,b,c,d : Real);
50 ResetApprox(me: in out);
51 OverwriteApprox(me: in out);
52 U0(me) returns Real;
53 U1(me) returns Real;
54 V0(me) returns Real;
55 V1(me) returns Real;
56 UOrder(me) returns Integer;
57 VOrder(me) returns Integer;
58 CutSense(me) returns Integer;
59 CutSense(me; Crit : Criterion; NumDec : Integer) returns Integer;
60 NbCoeffInU(me) returns Integer;
61 NbCoeffInV(me) returns Integer;
62 ChangeNbCoeff(me: in out; NbCoeffU, NbCoeffV : Integer);
63 Poles(me; SSPIndex : Integer; Conditions : Context) returns HArray2OfPnt;
64 Coefficients(me; SSPIndex : Integer; Conditions : Context) returns HArray1OfReal;
65 MaxErrors(me) returns HArray1OfReal;
66 AverageErrors(me) returns HArray1OfReal;
67 IsoErrors(me) returns HArray2OfReal;
68 CritValue(me) returns Real;
69 SetCritValue(me: in out; dist : Real);
70
71fields
72
73 myU0, myU1 : Real;
74 myV0, myV1 : Real;
75 myOrdInU : Integer;
76 myOrdInV : Integer;
77 myNbCoeffInU : Integer;
78 myNbCoeffInV : Integer;
79 myApprIsDone : Boolean;
80 myHasResult : Boolean;
81 myEquation : HArray1OfReal;
82 myMaxErrors : HArray1OfReal;
83 myMoyErrors : HArray1OfReal;
84 myIsoErrors : HArray2OfReal;
85 myCutSense : Integer;
86 myDiscIsDone : Boolean;
87 mySosoTab : HArray1OfReal;
88 myDisoTab : HArray1OfReal;
89 mySodiTab : HArray1OfReal;
90 myDidiTab : HArray1OfReal;
91 myCritValue : Real;
92
93end Patch;
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109