-- Created on: 1996-03-05 -- Created by: Joelle CHAUVET -- Copyright (c) 1996-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. -- Modified: Wed Jan 15 09:45:42 1997 -- by: Joelle CHAUVET -- G1135 : Approximation with criterion -- class Criterion and enumeration CriterionType -- G1134 : Approximation with regular cuttings -- enumeration CriterionRepartition package AdvApp2Var ---Purpose: This package provides algorithms to approximate a -- function of 2 variables that can be multidimensional; -- the result is a BSpline function with the required continuity -- Warning: only one 3D BSpline for the moment -- uses gp, Geom, GeomAbs, TColStd, TColgp, TColGeom, AdvApprox, Standard is enumeration CriterionType is ---Purpose: influency of the criterion on cutting process Absolute, ---Purpose: cutting when criterion is not satisfied -- desactivation of the compute of the error max Relative ---Purpose: cutting when error max is not good or if error -- max is good and criterion is not satisfied end CriterionType; enumeration CriterionRepartition is ---Purpose: way of cutting process Regular, ---Purpose: all new cutting points at each step of cutting -- process : (a+i(b-a)/N)i at step N, -- (a+i(b-a)/(N+1))i at step N+1,... -- where (a,b) is the global interval Incremental ---Purpose: add one new cutting point at each step -- of cutting process end CriterionRepartition; -- -- -- public classes -- -- class ApproxAFunc2Var from AdvApp2Var ; imported EvaluatorFunc2Var ; deferred class Criterion from AdvApp2Var ; -- -- -- private classes for Data -- -- -- Basic Data class Context from AdvApp2Var; class Node from AdvApp2Var; class Iso from AdvApp2Var; class Patch from AdvApp2Var; imported Strip; ---Purpose : -- set of constraints along a same type of Iso on the same level -- -- -- Structured Data imported SequenceOfNode; imported SequenceOfPatch; imported SequenceOfStrip; -- -- -- Final Data class Network from AdvApp2Var; -- contains all the result patches and the associated parameters U and V -- class Framework from AdvApp2Var; -- contains all the constraints (Nodes and Isos) -- end AdvApp2Var;