1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/src/AdvApp2Var/AdvApp2Var.cdl
ski ff8178ef85 0024784: Move documentation in CDL files to proper location
Mostly duplicated comments were removed and missing ones were moved
into dedicated class CDL files.
Some more duplicated comments were removed from CDL files.
Correction of merge
2014-05-29 16:06:49 +04:00

193 lines
3.6 KiB
Plaintext

-- 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,
TCollection,
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;
class Strip from AdvApp2Var instantiates
Sequence from TCollection (Iso from AdvApp2Var);
---Purpose :
-- set of constraints along a same type of Iso on the same level
--
--
-- Structured Data
class SequenceOfNode from AdvApp2Var instantiates
Sequence from TCollection (Node from AdvApp2Var);
class SequenceOfPatch from AdvApp2Var instantiates
Sequence from TCollection (Patch from AdvApp2Var);
class SequenceOfStrip from AdvApp2Var instantiates
Sequence from TCollection (Strip from AdvApp2Var);
--
--
-- 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;