0024428: Implementation of LGPL license
[occt.git] / src / StepGeom / StepGeom_BezierSurfaceAndRationalBSplineSurface.cdl
CommitLineData
b311480e 1-- Created on: 1995-12-01
2-- Created by: EXPRESS->CDL V0.2 Translator
3-- Copyright (c) 1995-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class BezierSurfaceAndRationalBSplineSurface from StepGeom
18
19inherits BSplineSurface from StepGeom
20
21
22 --- This classe is an implementation of EXPRESS
23 -- ANDOR Subtype Declaration.
24uses
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
35is
36
37 Create returns mutable BezierSurfaceAndRationalBSplineSurface;
38 ---Purpose: Returns a BezierSurfaceAndRationalBSplineSurface
39
40
41 Init (me : mutable;
42 aName : mutable HAsciiString from TCollection;
43 aUDegree : Integer from Standard;
44 aVDegree : Integer from Standard;
45 aControlPointsList : mutable 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 : mutable HAsciiString from TCollection;
53 aUDegree : Integer from Standard;
54 aVDegree : Integer from Standard;
55 aControlPointsList : mutable 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 : mutable BezierSurface from StepGeom;
61 aRationalBSplineSurface : mutable RationalBSplineSurface from StepGeom) is virtual;
62
63 Init (me : mutable;
64 aName : mutable HAsciiString from TCollection;
65 aUDegree : Integer from Standard;
66 aVDegree : Integer from Standard;
67 aControlPointsList : mutable 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 : mutable HArray2OfReal from TColStd) is virtual;
73
74 -- Specific Methods for Field Data Access --
75
76 SetBezierSurface(me : mutable; aBezierSurface : mutable BezierSurface);
77 BezierSurface (me) returns mutable BezierSurface;
78 SetRationalBSplineSurface(me : mutable; aRationalBSplineSurface : mutable RationalBSplineSurface);
79 RationalBSplineSurface (me) returns mutable 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 : mutable HArray2OfReal);
87 WeightsData (me) returns mutable HArray2OfReal;
88 WeightsDataValue (me; num1 : Integer; num2 : Integer) returns Real;
89 NbWeightsDataI (me) returns Integer;
90 NbWeightsDataJ (me) returns Integer;
91
92fields
93
94 bezierSurface : BezierSurface from StepGeom;
95 rationalBSplineSurface : RationalBSplineSurface from StepGeom;
96
97end BezierSurfaceAndRationalBSplineSurface;