Integration of OCCT 6.5.0 from SVN
[occt.git] / src / AppParCurves / AppParCurves_LinearCriteria.cdl
CommitLineData
7fd59977 1-- File: AppParCurves_LinearCriteria.cdl
2-- Created: Thu Sep 11 18:06:06 1997
3-- Author: Philippe MANGIN
4-- <pmn@sgi29>
5---Copyright: Matra Datavision 1997
6
7
8generic class LinearCriteria from AppParCurves
9 (MultiLine as any;
10 ToolLine as any) -- as ToolLine(MultiLine)
11inherits SmoothCriterion from AppParCurves
12
13 ---Purpose: defined an Linear Criteria to used in variational
14 -- Smoothing of points.
15
16
17uses
18 Vector from math,
19 Matrix from math,
20 Curve from FEmTool,
21 HAssemblyTable from FEmTool,
22 ElementaryCriterion from FEmTool,
23 HArray2OfInteger from TColStd,
24 HArray1OfReal from TColStd,
25 Array1OfReal from TColStd
26
27raises
28 NotImplemented,
29 DomainError
30
31
32
33is
34 Create(SSP: MultiLine;
35 FirstPoint, LastPoint: Integer) returns LinearCriteria;
36
37 SetParameters(me : mutable; Parameters : HArray1OfReal);
38
39 SetCurve(me : mutable; C :Curve from FEmTool)
40 is static;
41
42 GetCurve(me; C : out Curve from FEmTool)
43 is static;
44
45 SetEstimation(me : mutable; E1, E2, E3 : Real)
46 is static;
47
48 EstLength(me : mutable)
49 ---C++: return &
50 returns Real is static;
51
52 GetEstimation(me; E1, E2, E3 : out Real)
53 is static;
54
55 AssemblyTable(me)
56 returns HAssemblyTable from FEmTool
57 is static;
58
59 DependenceTable(me)
60 returns HArray2OfInteger from TColStd
61 is static;
62
63
64 QualityValues (me : mutable; J1min, J2min, J3min : Real;
65 J1, J2, J3 : out Real)
66 returns Integer is static;
67
68 ErrorValues(me : mutable;
69 MaxError, QuadraticError, AverageError : out Real)
70 is static;
71
72 Hessian(me : mutable ;
73 Element : Integer;
74 Dimension1 : Integer;
75 Dimension2 : Integer;
76 H : out Matrix from math)
77 raises DomainError -- If DependenceTable(Dimension1,Dimension2) is False
78 is static;
79
80
81 Gradient(me : mutable;
82 Element : Integer;
83 Dimension : Integer;
84 G : out Vector from math)
85 is static;
86
87 InputVector(me : mutable; X : Vector from math;
88 AssTable : HAssemblyTable from FEmTool)
89 ---Purpose: Convert the assembly Vector in an Curve;
90 --
91 raises DomainError;
92
93 SetWeight(me: mutable;
94 QuadraticWeight, QualityWeight : Real;
95 percentJ1, percentJ2, percentJ3 : Real)
96 is static;
97
98 GetWeight(me; QuadraticWeight, QualityWeight : out Real)
99 is static;
100
101 SetWeight(me: mutable;
102 Weight : Array1OfReal)
103 is static;
104
105 BuildCache(me: mutable; E : Integer) is private;
106
107fields
108mySSP : MultiLine;
109myParameters : HArray1OfReal;
110myCache : HArray1OfReal;
111myCriteria : ElementaryCriterion from FEmTool[3];
112myEstimation: Real[3];
113myQuadraticWeight, myQualityWeight : Real;
114myPercent : Real[3];
115myPntWeight : Array1OfReal;
116myCurve : Curve from FEmTool;
117myLength : Real;
118myE : Integer;
119IF, IL : Integer;
120end LinearCriteria;
121
122
123
124
125
126
127
128
129
130
131
132