0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / Approx / Approx.cdl
CommitLineData
b311480e 1-- Created on: 1993-01-26
2-- Created by: Laurent PAINNOT
3-- Copyright (c) 1993-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17package Approx
18
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.
24
25uses AdvApprox,
26 AppCont,
27 AppParCurves,
28 math,
29 gp,
30 GeomAbs,
31 Geom,
32 Geom2d,
33 Adaptor3d,
34 Adaptor2d,
35 TColStd,
36 TColGeom,
37 TColgp,
38 TCollection,
39 Standard,
40 StdFail
41
42
43is
44
45enumeration ParametrizationType is
46 ChordLength,
47 Centripetal,
48 IsoParametric
49end;
50
51enumeration Status is
52 PointsAdded,
53 NoPointsAdded,
54 NoApproximation
89f18cb9 55end;
7fd59977 56
57
58---------------------------------------------
59---Algorithms for Bezier curves construction:
60---------------------------------------------
61
62
63 generic class ComputeLine, MyGradient;
7fd59977 64
368cdde6 65 generic class ComputeCLine;
7fd59977 66
7fd59977 67----------------------------------------------
68---Algorithms for BSpline curves construction:
69----------------------------------------------
70
71
72 generic class BSplComputeLine, MyBSplGradient, MyGradientbis;
73
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-----------------------------------------------------------------
82
83
84 class MCurvesToBSpCurve;
85
86------------------------------------------------
87---Algorithms for PCurve approximation:
88------------------------------------------------
89 class CurveOnSurface;
90 class Curve3d;
91 class Curve2d;
92------------------------------------------------
93---Algorithms for PCurve approximation:
94------------------------------------------------
95 class CurvilinearParameter;
96 class CurvlinFunc;
97--------------------------
98--- instantiate classes:
99--------------------------
100
df8d3970 101 imported SequenceOfHArray1OfReal;
7fd59977 102
103
104-----------------------------------------------------------------
105--- the folowing classes approximate a continous function f(t) in
106--- one or many bezier curves.
107-----------------------------------------------------------------
108
109 class FitAndDivide instantiates ComputeCLine from Approx
368cdde6 110 (Function from AppCont);
7fd59977 111
112 class FitAndDivide2d instantiates ComputeCLine from Approx
368cdde6 113 (Function from AppCont);
7fd59977 114
115 class SameParameter from Approx ;
ff8178ef 116
df8d3970 117 imported Array1OfAdHSurface;
118 imported transient class HArray1OfAdHSurface;
119 imported Array1OfGTrsf2d;
7fd59977 120
df8d3970 121 imported transient class HArray1OfGTrsf2d;
7fd59977 122
123 -- class ApproxPoints from Approx ;
124 -- class ApproxPoints from Approx ;
7fd59977 125 -- this approximates a series of points
126 -- Boundary conditions can be given as well
127 -- a given parameterisation
128 --
129
130end Approx;