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 | |
17 | class BSplineSurfaceWithKnotsAndRationalBSplineSurface 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 | BSplineSurfaceWithKnots 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 | HArray1OfInteger from TColStd, |
34 | HArray1OfReal from TColStd, |
35 | HArray2OfReal from TColStd, |
36 | KnotType from StepGeom |
37 | is |
38 | |
39 | Create returns mutable BSplineSurfaceWithKnotsAndRationalBSplineSurface; |
40 | ---Purpose: Returns a BSplineSurfaceWithKnotsAndRationalBSplineSurface |
41 | |
42 | |
43 | Init (me : mutable; |
44 | aName : mutable HAsciiString from TCollection; |
45 | aUDegree : Integer from Standard; |
46 | aVDegree : Integer from Standard; |
47 | aControlPointsList : mutable HArray2OfCartesianPoint from StepGeom; |
48 | aSurfaceForm : BSplineSurfaceForm from StepGeom; |
49 | aUClosed : Logical from StepData; |
50 | aVClosed : Logical from StepData; |
51 | aSelfIntersect : Logical from StepData) is redefined; |
52 | |
53 | Init (me : mutable; |
54 | aName : mutable HAsciiString from TCollection; |
55 | aUDegree : Integer from Standard; |
56 | aVDegree : Integer from Standard; |
57 | aControlPointsList : mutable HArray2OfCartesianPoint from StepGeom; |
58 | aSurfaceForm : BSplineSurfaceForm from StepGeom; |
59 | aUClosed : Logical from StepData; |
60 | aVClosed : Logical from StepData; |
61 | aSelfIntersect : Logical from StepData; |
62 | aBSplineSurfaceWithKnots : mutable BSplineSurfaceWithKnots from StepGeom; |
63 | aRationalBSplineSurface : mutable RationalBSplineSurface from StepGeom) is virtual; |
64 | |
65 | Init (me : mutable; |
66 | aName : mutable HAsciiString from TCollection; |
67 | aUDegree : Integer from Standard; |
68 | aVDegree : Integer from Standard; |
69 | aControlPointsList : mutable HArray2OfCartesianPoint from StepGeom; |
70 | aSurfaceForm : BSplineSurfaceForm from StepGeom; |
71 | aUClosed : Logical from StepData; |
72 | aVClosed : Logical from StepData; |
73 | aSelfIntersect : Logical from StepData; |
74 | aUMultiplicities : mutable HArray1OfInteger from TColStd; |
75 | aVMultiplicities : mutable HArray1OfInteger from TColStd; |
76 | aUKnots : mutable HArray1OfReal from TColStd; |
77 | aVKnots : mutable HArray1OfReal from TColStd; |
78 | aKnotSpec : KnotType from StepGeom; |
79 | aWeightsData : mutable HArray2OfReal from TColStd) is virtual; |
80 | |
81 | -- Specific Methods for Field Data Access -- |
82 | |
83 | SetBSplineSurfaceWithKnots(me : mutable; aBSplineSurfaceWithKnots : mutable BSplineSurfaceWithKnots); |
84 | BSplineSurfaceWithKnots (me) returns mutable BSplineSurfaceWithKnots; |
85 | SetRationalBSplineSurface(me : mutable; aRationalBSplineSurface : mutable RationalBSplineSurface); |
86 | RationalBSplineSurface (me) returns mutable RationalBSplineSurface; |
87 | |
88 | -- Specific Methods for ANDOR Field Data Access -- |
89 | |
90 | SetUMultiplicities(me : mutable; aUMultiplicities : mutable HArray1OfInteger); |
91 | UMultiplicities (me) returns mutable HArray1OfInteger; |
92 | UMultiplicitiesValue (me; num : Integer) returns Integer; |
93 | NbUMultiplicities (me) returns Integer; |
94 | SetVMultiplicities(me : mutable; aVMultiplicities : mutable HArray1OfInteger); |
95 | VMultiplicities (me) returns mutable HArray1OfInteger; |
96 | VMultiplicitiesValue (me; num : Integer) returns Integer; |
97 | NbVMultiplicities (me) returns Integer; |
98 | SetUKnots(me : mutable; aUKnots : mutable HArray1OfReal); |
99 | UKnots (me) returns mutable HArray1OfReal; |
100 | UKnotsValue (me; num : Integer) returns Real; |
101 | NbUKnots (me) returns Integer; |
102 | SetVKnots(me : mutable; aVKnots : mutable HArray1OfReal); |
103 | VKnots (me) returns mutable HArray1OfReal; |
104 | VKnotsValue (me; num : Integer) returns Real; |
105 | NbVKnots (me) returns Integer; |
106 | SetKnotSpec(me : mutable; aKnotSpec : KnotType); |
107 | KnotSpec (me) returns KnotType; |
108 | |
109 | -- Specific Methods for ANDOR Field Data Access -- |
110 | |
111 | SetWeightsData(me : mutable; aWeightsData : mutable HArray2OfReal); |
112 | WeightsData (me) returns mutable HArray2OfReal; |
113 | WeightsDataValue (me; num1 : Integer; num2 : Integer) returns Real; |
114 | NbWeightsDataI (me) returns Integer; |
115 | NbWeightsDataJ (me) returns Integer; |
116 | |
117 | fields |
118 | |
119 | bSplineSurfaceWithKnots : BSplineSurfaceWithKnots from StepGeom; |
120 | rationalBSplineSurface : RationalBSplineSurface from StepGeom; |
121 | |
122 | end BSplineSurfaceWithKnotsAndRationalBSplineSurface; |