0024428: Implementation of LGPL license
[occt.git] / src / StepGeom / StepGeom_BSplineCurve.cdl
CommitLineData
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--
973c2be1 8-- This library is free software; you can redistribute it and / or modify it
9-- under the terms of the GNU Lesser General Public 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class BSplineCurve from StepGeom
18
19inherits BoundedCurve from StepGeom
20
21
22 -- N.B : EXPRESS Complexe SUBTYPE Declaration :
23
24 -- ANDOR ( ONEOF ( uniform_curve b_spline_curve_with_knots quasi_uniform_curve bezier_curve ) rational_b_spline_curve )
25
26uses
27
28 Integer from Standard,
29 HArray1OfCartesianPoint from StepGeom,
30 BSplineCurveForm from StepGeom,
31 Logical from StepData,
32 CartesianPoint from StepGeom,
33 HAsciiString from TCollection
34is
35
36 Create returns mutable BSplineCurve;
37 ---Purpose: Returns a BSplineCurve
38
39
40 Init (me : mutable;
41 aName : mutable HAsciiString from TCollection) is redefined;
42
43 Init (me : mutable;
44 aName : mutable HAsciiString from TCollection;
45 aDegree : Integer from Standard;
46 aControlPointsList : mutable HArray1OfCartesianPoint from StepGeom;
47 aCurveForm : BSplineCurveForm from StepGeom;
48 aClosedCurve : Logical from StepData;
49 aSelfIntersect : Logical from StepData) is virtual;
50
51 -- Specific Methods for Field Data Access --
52
53 SetDegree(me : mutable; aDegree : Integer);
54 Degree (me) returns Integer;
55 SetControlPointsList(me : mutable; aControlPointsList : mutable HArray1OfCartesianPoint);
56 ControlPointsList (me) returns mutable HArray1OfCartesianPoint;
57 ControlPointsListValue (me; num : Integer) returns mutable CartesianPoint;
58 NbControlPointsList (me) returns Integer;
59 SetCurveForm(me : mutable; aCurveForm : BSplineCurveForm);
60 CurveForm (me) returns BSplineCurveForm;
61 SetClosedCurve(me : mutable; aClosedCurve : Logical);
62 ClosedCurve (me) returns Logical;
63 SetSelfIntersect(me : mutable; aSelfIntersect : Logical);
64 SelfIntersect (me) returns Logical;
65
66fields
67
68 degree : Integer from Standard;
69 controlPointsList : HArray1OfCartesianPoint from StepGeom;
70 curveForm : BSplineCurveForm from StepGeom; -- an Enumeration
71 closedCurve : Logical from StepData;
72 selfIntersect : Logical from StepData;
73
74end BSplineCurve;