0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / StepGeom / StepGeom_BSplineCurveWithKnots.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--
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
17class BSplineCurveWithKnots from StepGeom
18
19inherits BSplineCurve from StepGeom
20
21uses
22
23 HArray1OfInteger from TColStd,
24 HArray1OfReal from TColStd,
25 KnotType from StepGeom,
26 Integer from Standard,
27 Real from Standard,
28 HAsciiString from TCollection,
29 HArray1OfCartesianPoint from StepGeom,
30 BSplineCurveForm from StepGeom,
31 Logical from StepData
32is
33
6e33d3ce 34 Create returns BSplineCurveWithKnots;
7fd59977 35 ---Purpose: Returns a BSplineCurveWithKnots
36
37
38 Init (me : mutable;
6e33d3ce 39 aName : HAsciiString from TCollection;
7fd59977 40 aDegree : Integer from Standard;
6e33d3ce 41 aControlPointsList : HArray1OfCartesianPoint from StepGeom;
7fd59977 42 aCurveForm : BSplineCurveForm from StepGeom;
43 aClosedCurve : Logical from StepData;
44 aSelfIntersect : Logical from StepData) is redefined;
45
46 Init (me : mutable;
6e33d3ce 47 aName : HAsciiString from TCollection;
7fd59977 48 aDegree : Integer from Standard;
6e33d3ce 49 aControlPointsList : HArray1OfCartesianPoint from StepGeom;
7fd59977 50 aCurveForm : BSplineCurveForm from StepGeom;
51 aClosedCurve : Logical from StepData;
52 aSelfIntersect : Logical from StepData;
6e33d3ce 53 aKnotMultiplicities : HArray1OfInteger from TColStd;
54 aKnots : HArray1OfReal from TColStd;
7fd59977 55 aKnotSpec : KnotType from StepGeom) is virtual;
56
57 -- Specific Methods for Field Data Access --
58
6e33d3ce 59 SetKnotMultiplicities(me : mutable; aKnotMultiplicities : HArray1OfInteger);
60 KnotMultiplicities (me) returns HArray1OfInteger;
7fd59977 61 KnotMultiplicitiesValue (me; num : Integer) returns Integer;
62 NbKnotMultiplicities (me) returns Integer;
6e33d3ce 63 SetKnots(me : mutable; aKnots : HArray1OfReal);
64 Knots (me) returns HArray1OfReal;
7fd59977 65 KnotsValue (me; num : Integer) returns Real;
66 NbKnots (me) returns Integer;
67 SetKnotSpec(me : mutable; aKnotSpec : KnotType);
68 KnotSpec (me) returns KnotType;
69
70fields
71
72 knotMultiplicities : HArray1OfInteger from TColStd;
73 knots : HArray1OfReal from TColStd;
74 knotSpec : KnotType from StepGeom; -- an Enumeration
75
76end BSplineCurveWithKnots;