b311480e |
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 | |
7fd59977 |
21 | |
22 | |
23 | class BSplineCurveWithKnotsAndRationalBSplineCurve from StepGeom |
24 | |
25 | inherits BSplineCurve from StepGeom |
26 | |
27 | |
28 | --- This classe is an implementation of EXPRESS |
29 | -- ANDOR Subtype Declaration. |
30 | uses |
31 | |
32 | BSplineCurveWithKnots from StepGeom, |
33 | RationalBSplineCurve from StepGeom, |
34 | HAsciiString from TCollection, |
35 | Integer from Standard, |
36 | HArray1OfCartesianPoint from StepGeom, |
37 | BSplineCurveForm from StepGeom, |
38 | Logical from StepData, |
39 | HArray1OfInteger from TColStd, |
40 | HArray1OfReal from TColStd, |
41 | KnotType from StepGeom, |
42 | Real from Standard |
43 | is |
44 | |
45 | Create returns mutable BSplineCurveWithKnotsAndRationalBSplineCurve; |
46 | ---Purpose: Returns a BSplineCurveWithKnotsAndRationalBSplineCurve |
47 | |
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) is redefined; |
56 | |
57 | Init (me : mutable; |
58 | aName : mutable HAsciiString from TCollection; |
59 | aDegree : Integer from Standard; |
60 | aControlPointsList : mutable HArray1OfCartesianPoint from StepGeom; |
61 | aCurveForm : BSplineCurveForm from StepGeom; |
62 | aClosedCurve : Logical from StepData; |
63 | aSelfIntersect : Logical from StepData; |
64 | aBSplineCurveWithKnots : mutable BSplineCurveWithKnots from StepGeom; |
65 | aRationalBSplineCurve : mutable RationalBSplineCurve from StepGeom) is virtual; |
66 | |
67 | Init (me : mutable; |
68 | aName : mutable HAsciiString from TCollection; |
69 | aDegree : Integer from Standard; |
70 | aControlPointsList : mutable HArray1OfCartesianPoint from StepGeom; |
71 | aCurveForm : BSplineCurveForm from StepGeom; |
72 | aClosedCurve : Logical from StepData; |
73 | aSelfIntersect : Logical from StepData; |
74 | aKnotMultiplicities : mutable HArray1OfInteger from TColStd; |
75 | aKnots : mutable HArray1OfReal from TColStd; |
76 | aKnotSpec : KnotType from StepGeom; |
77 | aWeightsData : mutable HArray1OfReal from TColStd) is virtual; |
78 | |
79 | -- Specific Methods for Field Data Access -- |
80 | |
81 | SetBSplineCurveWithKnots(me : mutable; aBSplineCurveWithKnots : mutable BSplineCurveWithKnots); |
82 | BSplineCurveWithKnots (me) returns mutable BSplineCurveWithKnots; |
83 | SetRationalBSplineCurve(me : mutable; aRationalBSplineCurve : mutable RationalBSplineCurve); |
84 | RationalBSplineCurve (me) returns mutable RationalBSplineCurve; |
85 | |
86 | -- Specific Methods for ANDOR Field Data Access -- |
87 | |
88 | SetKnotMultiplicities(me : mutable; aKnotMultiplicities : mutable HArray1OfInteger); |
89 | KnotMultiplicities (me) returns mutable HArray1OfInteger; |
90 | KnotMultiplicitiesValue (me; num : Integer) returns Integer; |
91 | NbKnotMultiplicities (me) returns Integer; |
92 | SetKnots(me : mutable; aKnots : mutable HArray1OfReal); |
93 | Knots (me) returns mutable HArray1OfReal; |
94 | KnotsValue (me; num : Integer) returns Real; |
95 | NbKnots (me) returns Integer; |
96 | SetKnotSpec(me : mutable; aKnotSpec : KnotType); |
97 | KnotSpec (me) returns KnotType; |
98 | |
99 | -- Specific Methods for ANDOR Field Data Access -- |
100 | |
101 | SetWeightsData(me : mutable; aWeightsData : mutable HArray1OfReal); |
102 | WeightsData (me) returns mutable HArray1OfReal; |
103 | WeightsDataValue (me; num : Integer) returns Real; |
104 | NbWeightsData (me) returns Integer; |
105 | |
106 | fields |
107 | |
108 | bSplineCurveWithKnots : BSplineCurveWithKnots from StepGeom; |
109 | rationalBSplineCurve : RationalBSplineCurve from StepGeom; |
110 | |
111 | end BSplineCurveWithKnotsAndRationalBSplineCurve; |