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