0024428: Implementation of LGPL license
[occt.git] / src / StepGeom / StepGeom_BezierCurveAndRationalBSplineCurve.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 BezierCurveAndRationalBSplineCurve from StepGeom 
18
19 inherits BSplineCurve from StepGeom 
20
21
22         --- This classe is an implementation of EXPRESS
23         --  ANDOR Subtype Declaration.
24 uses
25
26         BezierCurve from StepGeom, 
27         RationalBSplineCurve from StepGeom, 
28         HAsciiString from TCollection, 
29         Integer from Standard, 
30         HArray1OfCartesianPoint from StepGeom, 
31         BSplineCurveForm from StepGeom, 
32         Logical from StepData, 
33         HArray1OfReal from TColStd, 
34         Real from Standard
35 is
36
37         Create returns mutable BezierCurveAndRationalBSplineCurve;
38         ---Purpose: Returns a BezierCurveAndRationalBSplineCurve
39
40
41         Init (me : mutable;
42               aName : mutable HAsciiString from TCollection;
43               aDegree : Integer from Standard;
44               aControlPointsList : mutable HArray1OfCartesianPoint from StepGeom;
45               aCurveForm : BSplineCurveForm from StepGeom;
46               aClosedCurve : Logical from StepData;
47               aSelfIntersect : Logical from StepData) is redefined;
48
49         Init (me : mutable;
50               aName : mutable HAsciiString from TCollection;
51               aDegree : Integer from Standard;
52               aControlPointsList : mutable HArray1OfCartesianPoint from StepGeom;
53               aCurveForm : BSplineCurveForm from StepGeom;
54               aClosedCurve : Logical from StepData;
55               aSelfIntersect : Logical from StepData;
56               aBezierCurve : mutable BezierCurve from StepGeom;
57               aRationalBSplineCurve : mutable RationalBSplineCurve from StepGeom) is virtual;
58
59         Init (me : mutable;
60               aName : mutable HAsciiString from TCollection;
61               aDegree : Integer from Standard;
62               aControlPointsList : mutable HArray1OfCartesianPoint from StepGeom;
63               aCurveForm : BSplineCurveForm from StepGeom;
64               aClosedCurve : Logical from StepData;
65               aSelfIntersect : Logical from StepData;
66               aWeightsData : mutable HArray1OfReal from TColStd) is virtual;
67
68         -- Specific Methods for Field Data Access --
69
70         SetBezierCurve(me : mutable; aBezierCurve : mutable BezierCurve);
71         BezierCurve (me) returns mutable BezierCurve;
72         SetRationalBSplineCurve(me : mutable; aRationalBSplineCurve : mutable RationalBSplineCurve);
73         RationalBSplineCurve (me) returns mutable RationalBSplineCurve;
74
75         -- Specific Methods for ANDOR Field Data Access --
76
77
78         -- Specific Methods for ANDOR Field Data Access --
79
80         SetWeightsData(me : mutable; aWeightsData : mutable HArray1OfReal);
81         WeightsData (me) returns mutable HArray1OfReal;
82         WeightsDataValue (me; num : Integer) returns Real;
83         NbWeightsData (me) returns Integer;
84
85 fields
86
87         bezierCurve : BezierCurve from StepGeom;
88         rationalBSplineCurve : RationalBSplineCurve from StepGeom;
89
90 end BezierCurveAndRationalBSplineCurve;