7fd59977 |
1 | -- File: BSplineCurveWithKnots.cdl |
2 | -- Created: Fri Dec 1 11:11:14 1995 |
3 | -- Author: EXPRESS->CDL V0.2 Translator |
4 | -- Copyright: Matra-Datavision 1993 |
5 | |
6 | |
7 | class BSplineCurveWithKnots from StepGeom |
8 | |
9 | inherits BSplineCurve from StepGeom |
10 | |
11 | uses |
12 | |
13 | HArray1OfInteger from TColStd, |
14 | HArray1OfReal from TColStd, |
15 | KnotType from StepGeom, |
16 | Integer from Standard, |
17 | Real from Standard, |
18 | HAsciiString from TCollection, |
19 | HArray1OfCartesianPoint from StepGeom, |
20 | BSplineCurveForm from StepGeom, |
21 | Logical from StepData |
22 | is |
23 | |
24 | Create returns mutable BSplineCurveWithKnots; |
25 | ---Purpose: Returns a BSplineCurveWithKnots |
26 | |
27 | |
28 | Init (me : mutable; |
29 | aName : mutable HAsciiString from TCollection; |
30 | aDegree : Integer from Standard; |
31 | aControlPointsList : mutable HArray1OfCartesianPoint from StepGeom; |
32 | aCurveForm : BSplineCurveForm from StepGeom; |
33 | aClosedCurve : Logical from StepData; |
34 | aSelfIntersect : Logical from StepData) is redefined; |
35 | |
36 | Init (me : mutable; |
37 | aName : mutable HAsciiString from TCollection; |
38 | aDegree : Integer from Standard; |
39 | aControlPointsList : mutable HArray1OfCartesianPoint from StepGeom; |
40 | aCurveForm : BSplineCurveForm from StepGeom; |
41 | aClosedCurve : Logical from StepData; |
42 | aSelfIntersect : Logical from StepData; |
43 | aKnotMultiplicities : mutable HArray1OfInteger from TColStd; |
44 | aKnots : mutable HArray1OfReal from TColStd; |
45 | aKnotSpec : KnotType from StepGeom) is virtual; |
46 | |
47 | -- Specific Methods for Field Data Access -- |
48 | |
49 | SetKnotMultiplicities(me : mutable; aKnotMultiplicities : mutable HArray1OfInteger); |
50 | KnotMultiplicities (me) returns mutable HArray1OfInteger; |
51 | KnotMultiplicitiesValue (me; num : Integer) returns Integer; |
52 | NbKnotMultiplicities (me) returns Integer; |
53 | SetKnots(me : mutable; aKnots : mutable HArray1OfReal); |
54 | Knots (me) returns mutable HArray1OfReal; |
55 | KnotsValue (me; num : Integer) returns Real; |
56 | NbKnots (me) returns Integer; |
57 | SetKnotSpec(me : mutable; aKnotSpec : KnotType); |
58 | KnotSpec (me) returns KnotType; |
59 | |
60 | fields |
61 | |
62 | knotMultiplicities : HArray1OfInteger from TColStd; |
63 | knots : HArray1OfReal from TColStd; |
64 | knotSpec : KnotType from StepGeom; -- an Enumeration |
65 | |
66 | end BSplineCurveWithKnots; |