0024428: Implementation of LGPL license
[occt.git] / src / StepGeom / StepGeom_BSplineSurfaceWithKnots.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
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class BSplineSurfaceWithKnots from StepGeom 
18
19 inherits BSplineSurface 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         HArray2OfCartesianPoint from StepGeom, 
30         BSplineSurfaceForm from StepGeom, 
31         Logical from StepData
32 is
33
34         Create returns mutable BSplineSurfaceWithKnots;
35         ---Purpose: Returns a BSplineSurfaceWithKnots
36
37
38         Init (me : mutable;
39               aName : mutable HAsciiString from TCollection;
40               aUDegree : Integer from Standard;
41               aVDegree : Integer from Standard;
42               aControlPointsList : mutable HArray2OfCartesianPoint from StepGeom;
43               aSurfaceForm : BSplineSurfaceForm from StepGeom;
44               aUClosed : Logical from StepData;
45               aVClosed : Logical from StepData;
46               aSelfIntersect : Logical from StepData) is redefined;
47
48         Init (me : mutable;
49               aName : mutable HAsciiString from TCollection;
50               aUDegree : Integer from Standard;
51               aVDegree : Integer from Standard;
52               aControlPointsList : mutable HArray2OfCartesianPoint from StepGeom;
53               aSurfaceForm : BSplineSurfaceForm from StepGeom;
54               aUClosed : Logical from StepData;
55               aVClosed : Logical from StepData;
56               aSelfIntersect : Logical from StepData;
57               aUMultiplicities : mutable HArray1OfInteger from TColStd;
58               aVMultiplicities : mutable HArray1OfInteger from TColStd;
59               aUKnots : mutable HArray1OfReal from TColStd;
60               aVKnots : mutable HArray1OfReal from TColStd;
61               aKnotSpec : KnotType from StepGeom) is virtual;
62
63         -- Specific Methods for Field Data Access --
64
65         SetUMultiplicities(me : mutable; aUMultiplicities : mutable HArray1OfInteger);
66         UMultiplicities (me) returns mutable HArray1OfInteger;
67         UMultiplicitiesValue (me; num : Integer) returns Integer;
68         NbUMultiplicities (me) returns Integer;
69         SetVMultiplicities(me : mutable; aVMultiplicities : mutable HArray1OfInteger);
70         VMultiplicities (me) returns mutable HArray1OfInteger;
71         VMultiplicitiesValue (me; num : Integer) returns Integer;
72         NbVMultiplicities (me) returns Integer;
73         SetUKnots(me : mutable; aUKnots : mutable HArray1OfReal);
74         UKnots (me) returns mutable HArray1OfReal;
75         UKnotsValue (me; num : Integer) returns Real;
76         NbUKnots (me) returns Integer;
77         SetVKnots(me : mutable; aVKnots : mutable HArray1OfReal);
78         VKnots (me) returns mutable HArray1OfReal;
79         VKnotsValue (me; num : Integer) returns Real;
80         NbVKnots (me) returns Integer;
81         SetKnotSpec(me : mutable; aKnotSpec : KnotType);
82         KnotSpec (me) returns KnotType;
83
84 fields
85
86         uMultiplicities : HArray1OfInteger from TColStd;
87         vMultiplicities : HArray1OfInteger from TColStd;
88         uKnots : HArray1OfReal from TColStd;
89         vKnots : HArray1OfReal from TColStd;
90         knotSpec : KnotType from StepGeom; -- an Enumeration
91
92 end BSplineSurfaceWithKnots;