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 UniformCurveAndRationalBSplineCurve 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 | UniformCurve 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 | HArray1OfReal from TColStd, |
34 | Real from Standard |
35 | is |
36 | |
6e33d3ce |
37 | Create returns UniformCurveAndRationalBSplineCurve; |
7fd59977 |
38 | ---Purpose: Returns a UniformCurveAndRationalBSplineCurve |
39 | |
40 | |
41 | Init (me : mutable; |
6e33d3ce |
42 | aName : HAsciiString from TCollection; |
7fd59977 |
43 | aDegree : Integer from Standard; |
6e33d3ce |
44 | aControlPointsList : HArray1OfCartesianPoint from StepGeom; |
7fd59977 |
45 | aCurveForm : BSplineCurveForm from StepGeom; |
46 | aClosedCurve : Logical from StepData; |
47 | aSelfIntersect : Logical from StepData) is redefined; |
48 | |
49 | Init (me : mutable; |
6e33d3ce |
50 | aName : HAsciiString from TCollection; |
7fd59977 |
51 | aDegree : Integer from Standard; |
6e33d3ce |
52 | aControlPointsList : HArray1OfCartesianPoint from StepGeom; |
7fd59977 |
53 | aCurveForm : BSplineCurveForm from StepGeom; |
54 | aClosedCurve : Logical from StepData; |
55 | aSelfIntersect : Logical from StepData; |
6e33d3ce |
56 | aUniformCurve : UniformCurve from StepGeom; |
57 | aRationalBSplineCurve : RationalBSplineCurve from StepGeom) is virtual; |
7fd59977 |
58 | |
59 | Init (me : mutable; |
6e33d3ce |
60 | aName : HAsciiString from TCollection; |
7fd59977 |
61 | aDegree : Integer from Standard; |
6e33d3ce |
62 | aControlPointsList : HArray1OfCartesianPoint from StepGeom; |
7fd59977 |
63 | aCurveForm : BSplineCurveForm from StepGeom; |
64 | aClosedCurve : Logical from StepData; |
65 | aSelfIntersect : Logical from StepData; |
6e33d3ce |
66 | aWeightsData : HArray1OfReal from TColStd) is virtual; |
7fd59977 |
67 | |
68 | -- Specific Methods for Field Data Access -- |
69 | |
6e33d3ce |
70 | SetUniformCurve(me : mutable; aUniformCurve : UniformCurve); |
71 | UniformCurve (me) returns UniformCurve; |
72 | SetRationalBSplineCurve(me : mutable; aRationalBSplineCurve : RationalBSplineCurve); |
73 | RationalBSplineCurve (me) returns RationalBSplineCurve; |
7fd59977 |
74 | |
75 | -- Specific Methods for ANDOR Field Data Access -- |
76 | |
6e33d3ce |
77 | SetWeightsData(me : mutable; aWeightsData : HArray1OfReal); |
78 | WeightsData (me) returns HArray1OfReal; |
7fd59977 |
79 | WeightsDataValue (me; num : Integer) returns Real; |
80 | NbWeightsData (me) returns Integer; |
81 | |
82 | -- Specific Methods for ANDOR Field Data Access -- |
83 | |
84 | |
85 | fields |
86 | |
87 | uniformCurve : UniformCurve from StepGeom; |
88 | rationalBSplineCurve : RationalBSplineCurve from StepGeom; |
89 | |
90 | end UniformCurveAndRationalBSplineCurve; |