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 BezierCurveAndRationalBSplineCurve from StepGeom
19 inherits BSplineCurve from StepGeom
22 --- This classe is an implementation of EXPRESS
23 -- ANDOR Subtype Declaration.
26 BezierCurve 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,
37 Create returns BezierCurveAndRationalBSplineCurve;
38 ---Purpose: Returns a BezierCurveAndRationalBSplineCurve
42 aName : HAsciiString from TCollection;
43 aDegree : Integer from Standard;
44 aControlPointsList : HArray1OfCartesianPoint from StepGeom;
45 aCurveForm : BSplineCurveForm from StepGeom;
46 aClosedCurve : Logical from StepData;
47 aSelfIntersect : Logical from StepData) is redefined;
50 aName : HAsciiString from TCollection;
51 aDegree : Integer from Standard;
52 aControlPointsList : HArray1OfCartesianPoint from StepGeom;
53 aCurveForm : BSplineCurveForm from StepGeom;
54 aClosedCurve : Logical from StepData;
55 aSelfIntersect : Logical from StepData;
56 aBezierCurve : BezierCurve from StepGeom;
57 aRationalBSplineCurve : RationalBSplineCurve from StepGeom) is virtual;
60 aName : HAsciiString from TCollection;
61 aDegree : Integer from Standard;
62 aControlPointsList : HArray1OfCartesianPoint from StepGeom;
63 aCurveForm : BSplineCurveForm from StepGeom;
64 aClosedCurve : Logical from StepData;
65 aSelfIntersect : Logical from StepData;
66 aWeightsData : HArray1OfReal from TColStd) is virtual;
68 -- Specific Methods for Field Data Access --
70 SetBezierCurve(me : mutable; aBezierCurve : BezierCurve);
71 BezierCurve (me) returns BezierCurve;
72 SetRationalBSplineCurve(me : mutable; aRationalBSplineCurve : RationalBSplineCurve);
73 RationalBSplineCurve (me) returns RationalBSplineCurve;
75 -- Specific Methods for ANDOR Field Data Access --
78 -- Specific Methods for ANDOR Field Data Access --
80 SetWeightsData(me : mutable; aWeightsData : HArray1OfReal);
81 WeightsData (me) returns HArray1OfReal;
82 WeightsDataValue (me; num : Integer) returns Real;
83 NbWeightsData (me) returns Integer;
87 bezierCurve : BezierCurve from StepGeom;
88 rationalBSplineCurve : RationalBSplineCurve from StepGeom;
90 end BezierCurveAndRationalBSplineCurve;