1 -- Created on: 1993-01-26
2 -- Created by: Laurent PAINNOT
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
19 ---Purpose: Tis package provides algorithms approximating a set of
20 -- points or curves with the possibility of dividing into
21 -- one or many bezier curves.
22 -- It also provides an instantiation for approximating
23 -- a continous function f(t) into one or many curves.
45 enumeration ParametrizationType is
58 ---------------------------------------------
59 ---Algorithms for Bezier curves construction:
60 ---------------------------------------------
63 generic class ComputeLine, MyGradient;
65 generic class ComputeCLine;
67 ----------------------------------------------
68 ---Algorithms for BSpline curves construction:
69 ----------------------------------------------
72 generic class BSplComputeLine, MyBSplGradient, MyGradientbis;
74 ----------------------------------------------
75 ---Algorithms for BSpline Surface construction:
76 ----------------------------------------------
77 class SweepApproximation;
78 deferred class SweepFunction;
79 -----------------------------------------------------------------
80 --- Transformation of connecting MultiCurves into a MultiBSpCurve
81 -----------------------------------------------------------------
84 class MCurvesToBSpCurve;
86 ------------------------------------------------
87 ---Algorithms for PCurve approximation:
88 ------------------------------------------------
92 ------------------------------------------------
93 ---Algorithms for PCurve approximation:
94 ------------------------------------------------
95 class CurvilinearParameter;
97 --------------------------
98 --- instantiate classes:
99 --------------------------
101 imported SequenceOfHArray1OfReal;
104 -----------------------------------------------------------------
105 --- the folowing classes approximate a continous function f(t) in
106 --- one or many bezier curves.
107 -----------------------------------------------------------------
109 class FitAndDivide instantiates ComputeCLine from Approx
110 (Function from AppCont);
112 class FitAndDivide2d instantiates ComputeCLine from Approx
113 (Function from AppCont);
115 class SameParameter from Approx ;
117 imported Array1OfAdHSurface;
118 imported transient class HArray1OfAdHSurface;
119 imported Array1OfGTrsf2d;
121 imported transient class HArray1OfGTrsf2d;
123 -- class ApproxPoints from Approx ;
124 -- class ApproxPoints from Approx ;
125 -- this approximates a series of points
126 -- Boundary conditions can be given as well
127 -- a given parameterisation