0024784: Move documentation in CDL files to proper location
[occt.git] / src / StepGeom / StepGeom_BezierSurfaceAndRationalBSplineSurface.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 BezierSurfaceAndRationalBSplineSurface from StepGeom 
18
19 inherits BSplineSurface from StepGeom 
20
21
22         --- This classe is an implementation of EXPRESS
23         --  ANDOR Subtype Declaration.
24 uses
25
26         BezierSurface from StepGeom, 
27         RationalBSplineSurface from StepGeom, 
28         HAsciiString from TCollection, 
29         Integer from Standard, 
30         HArray2OfCartesianPoint from StepGeom, 
31         BSplineSurfaceForm from StepGeom, 
32         Logical from StepData, 
33         HArray2OfReal from TColStd, 
34         Real from Standard
35 is
36
37         Create returns BezierSurfaceAndRationalBSplineSurface;
38         ---Purpose: Returns a BezierSurfaceAndRationalBSplineSurface
39
40
41         Init (me : mutable;
42               aName : HAsciiString from TCollection;
43               aUDegree : Integer from Standard;
44               aVDegree : Integer from Standard;
45               aControlPointsList : HArray2OfCartesianPoint from StepGeom;
46               aSurfaceForm : BSplineSurfaceForm from StepGeom;
47               aUClosed : Logical from StepData;
48               aVClosed : Logical from StepData;
49               aSelfIntersect : Logical from StepData) is redefined;
50
51         Init (me : mutable;
52               aName : HAsciiString from TCollection;
53               aUDegree : Integer from Standard;
54               aVDegree : Integer from Standard;
55               aControlPointsList : HArray2OfCartesianPoint from StepGeom;
56               aSurfaceForm : BSplineSurfaceForm from StepGeom;
57               aUClosed : Logical from StepData;
58               aVClosed : Logical from StepData;
59               aSelfIntersect : Logical from StepData;
60               aBezierSurface : BezierSurface from StepGeom;
61               aRationalBSplineSurface : RationalBSplineSurface from StepGeom) is virtual;
62
63         Init (me : mutable;
64               aName : HAsciiString from TCollection;
65               aUDegree : Integer from Standard;
66               aVDegree : Integer from Standard;
67               aControlPointsList : HArray2OfCartesianPoint from StepGeom;
68               aSurfaceForm : BSplineSurfaceForm from StepGeom;
69               aUClosed : Logical from StepData;
70               aVClosed : Logical from StepData;
71               aSelfIntersect : Logical from StepData;
72               aWeightsData : HArray2OfReal from TColStd) is virtual;
73
74         -- Specific Methods for Field Data Access --
75
76         SetBezierSurface(me : mutable; aBezierSurface : BezierSurface);
77         BezierSurface (me) returns BezierSurface;
78         SetRationalBSplineSurface(me : mutable; aRationalBSplineSurface : RationalBSplineSurface);
79         RationalBSplineSurface (me) returns RationalBSplineSurface;
80
81         -- Specific Methods for ANDOR Field Data Access --
82
83
84         -- Specific Methods for ANDOR Field Data Access --
85
86         SetWeightsData(me : mutable; aWeightsData : HArray2OfReal);
87         WeightsData (me) returns HArray2OfReal;
88         WeightsDataValue (me; num1 : Integer;  num2 : Integer) returns Real;
89         NbWeightsDataI (me) returns Integer;
90         NbWeightsDataJ (me) returns Integer;
91
92 fields
93
94         bezierSurface : BezierSurface from StepGeom;
95         rationalBSplineSurface : RationalBSplineSurface from StepGeom;
96
97 end BezierSurfaceAndRationalBSplineSurface;