Integration of OCCT 6.5.0 from SVN
[occt.git] / src / AppDef / AppDef.cdl
CommitLineData
7fd59977 1
2--
3-- -- File: AppDef.cdl
4-- Created: Mon Dec 2 13:36:09 1991
5-- Author: Laurent PAINNOT
6-- <lpa@topsn3>
7---Copyright: Matra Datavision 1991, 1992
8-- 06/06/96 : JPI : ajout Variational
9--
10--
11
12
13
14package AppDef
15
16 ---Purpose: This package describes all the classes needed to approximate
17 -- points in Bezier curves. It is used in the package
18 -- AppParCurves.
19 -- The points of the same range for the approximation are
20 -- organised in MultiPointConstraints. These MultiPointConstraints
21 --
22 -- are organized in a MultiLine.
23 -- The corresponding result of a MultiLine approximation is
24 -- a MultiCurve (set of Bezier curves) which has the same
25 -- structure as a MultiLine: The MultiCurve is a set of
26 -- MultiPoint.
27 -- A point of a MultiLine can have many significations: the approximation curve
28 -- can go through this point or not, can have a given tangency, or can
29 -- have a given curvature.
30 -- Note: a CurvaturePoint is also a PassPoint and a TangencyPoint.
31 -- A TangencyPoint is also a PassPoint.
32
33uses AppParCurves, Approx, gp, TColgp, TCollection, Standard, MMgt
34
35
36is
37
38class MultiPointConstraint;
39 ---Purpose: a MultiPointConstraint is a set of points which have the same range
40 -- in the MultiLine and the same constraints.
41
42
43class MultiLine;
44 ---Purpose: this is the organized set of points.
45
46class MyLineTool;
47 ---Purpose: example of MultiLine tool corresponding to the tools of the packages
48 -- AppParCurves and Approx. For Approx, the tool will not addd points
49 -- if the algorithms want some.
50
51
52
53
54--- Classes instanciees:
55
56
57class TheLeastSquares instantiates LeastSquare from AppParCurves
58 (MultiLine from AppDef,
59 MyLineTool from AppDef);
60
61class TheVariational instantiates Variational from AppParCurves
62 (MultiLine from AppDef,
63 MyLineTool from AppDef);
64
65class TheResol instantiates ResolConstraint from AppParCurves
66 (MultiLine from AppDef,
67 MyLineTool from AppDef);
68
69
70class TheFunction instantiates Function from AppParCurves
71 (MultiLine from AppDef,
72 MyLineTool from AppDef,
73
74 TheLeastSquares from AppDef,
75 TheResol from AppDef);
76
77
78class TheGradient instantiates Gradient from AppParCurves
79 (MultiLine from AppDef,
80 MyLineTool from AppDef);
81
82
83class Compute instantiates ComputeLine from Approx
84
85 (MultiLine from AppDef,
86 MyLineTool from AppDef);
87
88
89class BSplineCompute instantiates BSplComputeLine from Approx
90 (MultiLine from AppDef,
91 MyLineTool from AppDef);
92
93
94
95class Array1OfMultiPointConstraint instantiates Array1 from TCollection
96 (MultiPointConstraint);
97
98class HArray1OfMultiPointConstraint instantiates
99 HArray1 from TCollection(
100 MultiPointConstraint,Array1OfMultiPointConstraint);
101
102
103end AppDef;