0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / AppParCurves / AppParCurves_BSpGradient.cdl
old mode 100755 (executable)
new mode 100644 (file)
index 3e3034f..69c8fd4
@@ -1,10 +1,18 @@
--- File:       AppParCurves_BSpGradient.cdl
--- Created:    Wed Sep 22 10:23:14 1993
--- Author:     Modelistation
---             <model@zerox>
----Copyright:   Matra Datavision 1993
-
-
+-- Created on: 1993-09-22
+-- Created by: Modelistation
+-- Copyright (c) 1993-1999 Matra Datavision
+-- Copyright (c) 1999-2014 OPEN CASCADE SAS
+--
+-- This file is part of Open CASCADE Technology software library.
+--
+-- This library is free software; you can redistribute it and/or modify it under
+-- the terms of the GNU Lesser General Public License version 2.1 as published
+-- by the Free Software Foundation, with special exception defined in the file
+-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+-- distribution for complete text of the license and disclaimer of any warranty.
+--
+-- Alternatively, this file may be used under the terms of Open CASCADE
+-- commercial license or contractual agreement.
 
 generic class BSpGradient from AppParCurves
                    (MultiLine   as any;
@@ -17,7 +25,7 @@ generic class BSpGradient from AppParCurves
     --          sum(square(|F(i)-Qi|)) by changing the parameter. 
     --          The algorithm used is from of the mathematical 
     --          package: math_BFGS, a gradient method.
-
+    --          The Result is a Bspline set.
 
 
 uses Vector                           from math, 
@@ -171,6 +179,7 @@ MError3d:     Real;
 MError2d:     Real;
 mylambda1:    Real;
 mylambda2:    Real;
+myIsLambdaDefined: Boolean;
 Done:         Boolean;
 
 end BSpGradient from AppParCurves;