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-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class BSplineCurveWithKnotsAndRationalBSplineCurve from StepGeom
19 inherits BSplineCurve from StepGeom
22 --- This classe is an implementation of EXPRESS
23 -- ANDOR Subtype Declaration.
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,
39 Create returns BSplineCurveWithKnotsAndRationalBSplineCurve;
40 ---Purpose: Returns a BSplineCurveWithKnotsAndRationalBSplineCurve
44 aName : HAsciiString from TCollection;
45 aDegree : Integer from Standard;
46 aControlPointsList : HArray1OfCartesianPoint from StepGeom;
47 aCurveForm : BSplineCurveForm from StepGeom;
48 aClosedCurve : Logical from StepData;
49 aSelfIntersect : Logical from StepData) is redefined;
52 aName : HAsciiString from TCollection;
53 aDegree : Integer from Standard;
54 aControlPointsList : HArray1OfCartesianPoint from StepGeom;
55 aCurveForm : BSplineCurveForm from StepGeom;
56 aClosedCurve : Logical from StepData;
57 aSelfIntersect : Logical from StepData;
58 aBSplineCurveWithKnots : BSplineCurveWithKnots from StepGeom;
59 aRationalBSplineCurve : RationalBSplineCurve from StepGeom) is virtual;
62 aName : HAsciiString from TCollection;
63 aDegree : Integer from Standard;
64 aControlPointsList : HArray1OfCartesianPoint from StepGeom;
65 aCurveForm : BSplineCurveForm from StepGeom;
66 aClosedCurve : Logical from StepData;
67 aSelfIntersect : Logical from StepData;
68 aKnotMultiplicities : HArray1OfInteger from TColStd;
69 aKnots : HArray1OfReal from TColStd;
70 aKnotSpec : KnotType from StepGeom;
71 aWeightsData : HArray1OfReal from TColStd) is virtual;
73 -- Specific Methods for Field Data Access --
75 SetBSplineCurveWithKnots(me : mutable; aBSplineCurveWithKnots : BSplineCurveWithKnots);
76 BSplineCurveWithKnots (me) returns BSplineCurveWithKnots;
77 SetRationalBSplineCurve(me : mutable; aRationalBSplineCurve : RationalBSplineCurve);
78 RationalBSplineCurve (me) returns RationalBSplineCurve;
80 -- Specific Methods for ANDOR Field Data Access --
82 SetKnotMultiplicities(me : mutable; aKnotMultiplicities : HArray1OfInteger);
83 KnotMultiplicities (me) returns HArray1OfInteger;
84 KnotMultiplicitiesValue (me; num : Integer) returns Integer;
85 NbKnotMultiplicities (me) returns Integer;
86 SetKnots(me : mutable; aKnots : HArray1OfReal);
87 Knots (me) returns HArray1OfReal;
88 KnotsValue (me; num : Integer) returns Real;
89 NbKnots (me) returns Integer;
90 SetKnotSpec(me : mutable; aKnotSpec : KnotType);
91 KnotSpec (me) returns KnotType;
93 -- Specific Methods for ANDOR Field Data Access --
95 SetWeightsData(me : mutable; aWeightsData : HArray1OfReal);
96 WeightsData (me) returns HArray1OfReal;
97 WeightsDataValue (me; num : Integer) returns Real;
98 NbWeightsData (me) returns Integer;
102 bSplineCurveWithKnots : BSplineCurveWithKnots from StepGeom;
103 rationalBSplineCurve : RationalBSplineCurve from StepGeom;
105 end BSplineCurveWithKnotsAndRationalBSplineCurve;