0023024: Update headers of OCCT files
[occt.git] / src / StepGeom / StepGeom_BSplineSurface.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-2012 OPEN CASCADE SAS
5 --
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
10 --
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 --
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
20
21
22
23 class BSplineSurface from StepGeom 
24
25 inherits BoundedSurface from StepGeom 
26
27
28   -- N.B : EXPRESS Complexe SUBTYPE Declaration :
29
30   -- ANDOR ( ONEOF ( b_spline_surface_with_knots uniform_surface quasi_uniform_surface bezier_surface ) rational_b_spline_surface ) 
31
32 uses
33
34         Integer from Standard, 
35         HArray2OfCartesianPoint from StepGeom, 
36         BSplineSurfaceForm from StepGeom, 
37         Logical from StepData, 
38         CartesianPoint from StepGeom, 
39         HAsciiString from TCollection
40 is
41
42         Create returns mutable BSplineSurface;
43         ---Purpose: Returns a BSplineSurface
44
45
46         Init (me : mutable;
47               aName : mutable HAsciiString from TCollection) is redefined;
48
49         Init (me : mutable;
50               aName : mutable HAsciiString from TCollection;
51               aUDegree : Integer from Standard;
52               aVDegree : Integer from Standard;
53               aControlPointsList : mutable HArray2OfCartesianPoint from StepGeom;
54               aSurfaceForm : BSplineSurfaceForm from StepGeom;
55               aUClosed : Logical from StepData;
56               aVClosed : Logical from StepData;
57               aSelfIntersect : Logical from StepData) is virtual;
58
59         -- Specific Methods for Field Data Access --
60
61         SetUDegree(me : mutable; aUDegree : Integer);
62         UDegree (me) returns Integer;
63         SetVDegree(me : mutable; aVDegree : Integer);
64         VDegree (me) returns Integer;
65         SetControlPointsList(me : mutable; aControlPointsList : mutable HArray2OfCartesianPoint);
66         ControlPointsList (me) returns mutable HArray2OfCartesianPoint;
67         ControlPointsListValue (me; num1 : Integer;  num2 : Integer) returns mutable CartesianPoint;
68         NbControlPointsListI (me) returns Integer;
69         NbControlPointsListJ (me) returns Integer;
70         SetSurfaceForm(me : mutable; aSurfaceForm : BSplineSurfaceForm);
71         SurfaceForm (me) returns BSplineSurfaceForm;
72         SetUClosed(me : mutable; aUClosed : Logical);
73         UClosed (me) returns Logical;
74         SetVClosed(me : mutable; aVClosed : Logical);
75         VClosed (me) returns Logical;
76         SetSelfIntersect(me : mutable; aSelfIntersect : Logical);
77         SelfIntersect (me) returns Logical;
78
79 fields
80
81         uDegree : Integer from Standard;
82         vDegree : Integer from Standard;
83         controlPointsList : HArray2OfCartesianPoint from StepGeom;
84         surfaceForm : BSplineSurfaceForm from StepGeom; -- an Enumeration
85         uClosed : Logical from StepData;
86         vClosed : Logical from StepData;
87         selfIntersect : Logical from StepData;
88
89 end BSplineSurface;