0024428: Implementation of LGPL license
[occt.git] / src / AppBlend / AppBlend_SectionGenerator.cdl
CommitLineData
b311480e 1-- Created on: 1993-12-16
2-- Created by: Jacques GOUSSARD
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--
973c2be1 8-- This library is free software; you can redistribute it and / or modify it
9-- under the terms of the GNU Lesser General Public 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17deferred generic class SectionGenerator from AppBlend
18 (ThePoint as any)
19
20 ---Purpose:
21
22uses Array1OfPnt from TColgp,
23 Array1OfVec from TColgp,
24 Array1OfPnt2d from TColgp,
25 Array1OfVec2d from TColgp,
26 Array1OfReal from TColStd,
27 Array1OfInteger from TColStd
28
29is
30
31 GetShape(me; NbPoles : out Integer from Standard;
32 NbKnots : out Integer from Standard;
33 Degree : out Integer from Standard;
34 NbPoles2d : out Integer from Standard)
35
36 is static;
37
38 Knots(me; TKnots: out Array1OfReal from TColStd)
39
40 is static;
41
42
43 Mults(me; TMults: out Array1OfInteger from TColStd)
44
45 is static;
46
47
48 Section(me; P: ThePoint; Poles : out Array1OfPnt from TColgp;
49 DPoles : out Array1OfVec from TColgp;
50 Poles2d : out Array1OfPnt2d from TColgp;
51 DPoles2d : out Array1OfVec2d from TColgp;
52 Weigths : out Array1OfReal from TColStd;
53 DWeigths : out Array1OfReal from TColStd)
54
55 ---Purpose: Used for the first and last section
56 -- The method returns Standard_True if the derivatives
57 -- are computed, otherwise it returns Standard_False.
58
59 returns Boolean from Standard
60
61 is static;
62
63
64 Section(me; P: ThePoint; Poles : out Array1OfPnt from TColgp;
65 Poles2d : out Array1OfPnt2d from TColgp;
66 Weigths : out Array1OfReal from TColStd)
67 is static;
68
69
70 Parameter(me; P: ThePoint)
71 ---Purpose: Returns the parameter of the point P. Used to
72 -- impose the parameters in the approximation.
73 returns Real from Standard
74 is static;
75
76end SectionGenerator;