1 -- Created on: 1997-09-11
2 -- Created by: Philippe MANGIN
3 -- Copyright (c) 1997-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
23 deferred class SmoothCriterion from AppParCurves
24 inherits TShared from MMgt
26 ---Purpose: defined criterion to smooth points in curve
33 HAssemblyTable from FEmTool,
34 HArray2OfInteger from TColStd,
35 HArray1OfReal from TColStd,
36 Array1OfReal from TColStd
45 SetParameters(me : mutable; Parameters : HArray1OfReal)
48 SetCurve(me : mutable; C :Curve from FEmTool)
51 GetCurve(me; C : out Curve from FEmTool)
54 SetEstimation(me : mutable; E1, E2, E3 : Real)
57 EstLength(me : mutable)
59 returns Real is deferred;
61 GetEstimation(me; E1, E2, E3 : out Real)
65 returns HAssemblyTable from FEmTool
69 returns HArray2OfInteger from TColStd
72 QualityValues (me : mutable; J1min, J2min, J3min : Real;
73 J1, J2, J3 : out Real)
74 returns Integer is deferred;
76 ErrorValues(me : mutable;
77 MaxError, QuadraticError, AverageError : out Real)
80 Hessian(me : mutable ;
84 H : out Matrix from math)
85 raises DomainError -- If DependenceTable(Dimension1,Dimension2) is False
89 Gradient(me : mutable;
92 G : out Vector from math)
95 InputVector(me : mutable; X : Vector from math;
96 AssTable : HAssemblyTable from FEmTool)
97 ---Purpose: Convert the assembly Vector in an Curve;
99 raises DomainError is deferred;
101 SetWeight(me: mutable;
102 QuadraticWeight, QualityWeight : Real;
103 percentJ1, percentJ2, percentJ3 : Real)
106 GetWeight(me; QuadraticWeight, QualityWeight : out Real)
109 SetWeight(me: mutable;
110 Weight : Array1OfReal)