7fd59977 |
1 | -- File: AdvApp2Var_Iso.cdl |
2 | -- Created: Tue Apr 9 17:11:20 1996 |
3 | -- Author: Joelle CHAUVET |
4 | -- <jct@sgi38> |
5 | ---Copyright: Matra Datavision 1996 |
6 | -- |
7 | |
8 | class Iso from AdvApp2Var |
9 | |
10 | uses |
11 | |
12 | Boolean,Integer,Real from Standard, |
13 | HArray1OfReal from TColStd, |
14 | HArray2OfReal from TColStd, |
15 | HArray1OfPnt from TColgp, |
16 | IsoType from GeomAbs, |
17 | EvaluatorFunc2Var,Context,Node from AdvApp2Var |
18 | |
19 | |
20 | is |
21 | |
22 | Create returns Iso; |
23 | Create(type : IsoType from GeomAbs; iu, iv : Integer) returns Iso; |
24 | Create(type : IsoType from GeomAbs; cte : Real; |
25 | Ufirst, Ulast, Vfirst, Vlast : Real; |
26 | pos, iu, iv : Integer) returns Iso; |
27 | Create(Other : Iso) returns Iso is private; |
28 | IsApproximated(me) returns Boolean; |
29 | HasResult(me) returns Boolean; |
30 | MakeApprox(me: in out; Conditions : Context; |
31 | a,b,c,d : Real; |
32 | func : EvaluatorFunc2Var; |
33 | NodeBegin, NodeEnd : in out Node from AdvApp2Var ); |
34 | ChangeDomain(me: in out; a,b : Real); |
35 | ChangeDomain(me: in out; a,b,c,d : Real); |
36 | SetConstante(me: in out; newcte : Real); |
37 | SetPosition(me: in out; newpos : Integer); |
38 | ResetApprox(me: in out); |
39 | OverwriteApprox(me: in out); |
40 | Type(me) returns IsoType; |
41 | Constante(me) returns Real; |
42 | T0(me) returns Real; |
43 | T1(me) returns Real; |
44 | U0(me) returns Real; |
45 | U1(me) returns Real; |
46 | V0(me) returns Real; |
47 | V1(me) returns Real; |
48 | UOrder(me) returns Integer; |
49 | VOrder(me) returns Integer; |
50 | Position(me) returns Integer; |
51 | NbCoeff(me) returns Integer; |
52 | Polynom(me) |
53 | ---C++: return const & |
54 | returns HArray1OfReal; |
55 | SomTab(me) returns HArray1OfReal; |
56 | DifTab(me) returns HArray1OfReal; |
57 | MaxErrors(me) returns HArray2OfReal; |
58 | MoyErrors(me) returns HArray2OfReal; |
59 | |
60 | |
61 | fields |
62 | |
63 | myType : IsoType from GeomAbs; |
64 | myConstPar : Real; |
65 | myU0, myU1 : Real; |
66 | myV0, myV1 : Real; |
67 | myPosition : Integer; |
68 | myExtremOrder : Integer; |
69 | myDerivOrder : Integer; |
70 | myNbCoeff : Integer; |
71 | myApprIsDone : Boolean; |
72 | myHasResult : Boolean; |
73 | myEquation : HArray1OfReal; |
74 | myMaxErrors : HArray2OfReal; |
75 | myMoyErrors : HArray2OfReal; |
76 | mySomTab : HArray1OfReal; |
77 | myDifTab : HArray1OfReal; |
78 | |
79 | end Iso; |
80 | |