0025465: Excess vertex in the result of CUT operation
[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
65 generic class ComputeCLine, MyLeastSquare;
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
101 class SequenceOfHArray1OfReal instantiates Sequence from TCollection
102 (HArray1OfReal from TColStd);
103
104
105-----------------------------------------------------------------
106--- the folowing classes approximate a continous function f(t) in
107--- one or many bezier curves.
108-----------------------------------------------------------------
109
110 class FitAndDivide instantiates ComputeCLine from Approx
111 (Function from AppCont, FunctionTool from AppCont);
112
113 class FitAndDivide2d instantiates ComputeCLine from Approx
114 (Function2d from AppCont, FunctionTool2d from AppCont);
115
116 class SameParameter from Approx ;
ff8178ef 117
7fd59977 118 class Array1OfAdHSurface instantiates Array1 from TCollection
119 (HSurface from Adaptor3d) ;
120 class HArray1OfAdHSurface instantiates HArray1 from TCollection
121 (HSurface from Adaptor3d, Array1OfAdHSurface) ;
122 class Array1OfGTrsf2d instantiates Array1 from TCollection
123 (GTrsf2d from gp) ;
124
125 class HArray1OfGTrsf2d instantiates HArray1 from TCollection
126 (GTrsf2d from gp, Array1OfGTrsf2d) ;
127
128 -- class ApproxPoints from Approx ;
129 -- class ApproxPoints from Approx ;
7fd59977 130 -- this approximates a series of points
131 -- Boundary conditions can be given as well
132 -- a given parameterisation
133 --
134
135end Approx;