0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / StepGeom / StepGeom_BSplineCurveWithKnots.cdl
1 -- Created on: 1995-12-01
2 -- Created by: EXPRESS->CDL V0.2 Translator
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class BSplineCurveWithKnots from StepGeom 
18
19 inherits BSplineCurve from StepGeom 
20
21 uses
22
23         HArray1OfInteger from TColStd, 
24         HArray1OfReal from TColStd, 
25         KnotType from StepGeom, 
26         Integer from Standard, 
27         Real from Standard, 
28         HAsciiString from TCollection, 
29         HArray1OfCartesianPoint from StepGeom, 
30         BSplineCurveForm from StepGeom, 
31         Logical from StepData
32 is
33
34         Create returns BSplineCurveWithKnots;
35         ---Purpose: Returns a BSplineCurveWithKnots
36
37
38         Init (me : mutable;
39               aName : HAsciiString from TCollection;
40               aDegree : Integer from Standard;
41               aControlPointsList : HArray1OfCartesianPoint from StepGeom;
42               aCurveForm : BSplineCurveForm from StepGeom;
43               aClosedCurve : Logical from StepData;
44               aSelfIntersect : Logical from StepData) is redefined;
45
46         Init (me : mutable;
47               aName : HAsciiString from TCollection;
48               aDegree : Integer from Standard;
49               aControlPointsList : HArray1OfCartesianPoint from StepGeom;
50               aCurveForm : BSplineCurveForm from StepGeom;
51               aClosedCurve : Logical from StepData;
52               aSelfIntersect : Logical from StepData;
53               aKnotMultiplicities : HArray1OfInteger from TColStd;
54               aKnots : HArray1OfReal from TColStd;
55               aKnotSpec : KnotType from StepGeom) is virtual;
56
57         -- Specific Methods for Field Data Access --
58
59         SetKnotMultiplicities(me : mutable; aKnotMultiplicities : HArray1OfInteger);
60         KnotMultiplicities (me) returns HArray1OfInteger;
61         KnotMultiplicitiesValue (me; num : Integer) returns Integer;
62         NbKnotMultiplicities (me) returns Integer;
63         SetKnots(me : mutable; aKnots : HArray1OfReal);
64         Knots (me) returns HArray1OfReal;
65         KnotsValue (me; num : Integer) returns Real;
66         NbKnots (me) returns Integer;
67         SetKnotSpec(me : mutable; aKnotSpec : KnotType);
68         KnotSpec (me) returns KnotType;
69
70 fields
71
72         knotMultiplicities : HArray1OfInteger from TColStd;
73         knots : HArray1OfReal from TColStd;
74         knotSpec : KnotType from StepGeom; -- an Enumeration
75
76 end BSplineCurveWithKnots;