Integration of OCCT 6.5.0 from SVN
[occt.git] / src / FairCurve / FairCurve_DistributionOfEnergy.cdl
CommitLineData
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
8deferred class DistributionOfEnergy from FairCurve
9 inherits FunctionSet from math
10
11 ---Purpose: Abstract class to use the Energy of an FairCurve
12
13uses Vector from math,
14 FunctionSet from math,
15 HArray1OfReal from TColStd,
16 HArray1OfPnt2d from TColgp
17
18
19
20is
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
46fields
47
48MyBSplOrder : Integer is protected;
49MyFlatKnots : HArray1OfReal is protected;
50MyPoles : HArray1OfPnt2d is protected;
51MyDerivativeOrder : Integer is protected;
52MyNbVar : Integer is protected;
53MyNbEqua : Integer is protected;
54MyNbValAux : Integer is protected;
55
56
57end DistributionOfEnergy ;