7fd59977 |
1 | --- File: FairCurve_DistributionOfEnergy.cdl |
2 | -- Created: Mon Jan 22 15:11:20 1996 |
3 | -- Author: Philippe MANGIN |
4 | -- <pmn@sgi29> |
5 | ---Copyright: Matra Datavision 1996 |
6 | |
7 | |
8 | deferred class DistributionOfEnergy from FairCurve |
9 | inherits FunctionSet from math |
10 | |
11 | ---Purpose: Abstract class to use the Energy of an FairCurve |
12 | |
13 | uses Vector from math, |
14 | FunctionSet from math, |
15 | HArray1OfReal from TColStd, |
16 | HArray1OfPnt2d from TColgp |
17 | |
18 | |
19 | |
20 | is |
21 | |
22 | --- redefined methods |
23 | |
24 | NbVariables(me) |
25 | ---Purpose: returns the number of variables of the function. |
26 | |
27 | returns Integer is redefined; |
28 | |
29 | |
30 | NbEquations(me) |
31 | ---Purpose: returns the number of equations of the function. |
32 | |
33 | returns Integer is redefined; |
34 | |
35 | |
36 | --- new methods |
37 | Initialize( BSplOrder : Integer; |
38 | FlatKnots : HArray1OfReal; |
39 | Poles : HArray1OfPnt2d; |
40 | DerivativeOrder : Integer; |
41 | NbValAux : Integer = 0); |
42 | |
43 | SetDerivativeOrder(me :in out; DerivativeOrder : Integer); |
44 | |
45 | |
46 | fields |
47 | |
48 | MyBSplOrder : Integer is protected; |
49 | MyFlatKnots : HArray1OfReal is protected; |
50 | MyPoles : HArray1OfPnt2d is protected; |
51 | MyDerivativeOrder : Integer is protected; |
52 | MyNbVar : Integer is protected; |
53 | MyNbEqua : Integer is protected; |
54 | MyNbValAux : Integer is protected; |
55 | |
56 | |
57 | end DistributionOfEnergy ; |