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
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 -- Modified: Wed Jan 15 09:45:42 1997
19 -- G1135 : Methods CutSense with criterion, Coefficients,
20 -- CritValue, SetCritValue,
21 -- Field 'myCritValue'
23 class Patch from AdvApp2Var
27 Boolean,Integer,Real from Standard,
28 HArray1OfReal,HArray2OfReal from TColStd,
29 HArray2OfPnt from TColgp,
30 EvaluatorFunc2Var,Context,Framework,Criterion from AdvApp2Var
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;
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);
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);
77 myNbCoeffInU : Integer;
78 myNbCoeffInV : Integer;
79 myApprIsDone : Boolean;
80 myHasResult : Boolean;
81 myEquation : HArray1OfReal;
82 myMaxErrors : HArray1OfReal;
83 myMoyErrors : HArray1OfReal;
84 myIsoErrors : HArray2OfReal;
86 myDiscIsDone : Boolean;
87 mySosoTab : HArray1OfReal;
88 myDisoTab : HArray1OfReal;
89 mySodiTab : HArray1OfReal;
90 myDidiTab : HArray1OfReal;