0025418: Debug output to be limited to OCC development environment
[occt.git] / src / GeomToStep / GeomToStep_MakeBSplineCurveWithKnotsAndRationalBSplineCurve.cdl
1 -- Created on: 1993-06-14
2 -- Created by: Martine LANGLOIS
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class MakeBSplineCurveWithKnotsAndRationalBSplineCurve from GeomToStep inherits
18     Root from GeomToStep
19
20     ---Purpose: This class implements the mapping between classes
21     --          BSplineCurve from Geom, Geom2d and the class
22     --          BSplineCurveWithKnotsAndRationalBSplineCurve from StepGeom
23     --          which describes a rational_bspline_curve_with_knots from
24     --          Prostep
25   
26 uses
27
28      BSplineCurve from Geom,
29      BSplineCurve from Geom2d,
30      BSplineCurveWithKnotsAndRationalBSplineCurve from StepGeom
31      
32 raises
33
34      NotDone from StdFail
35      
36 is 
37
38 Create ( Bsplin : BSplineCurve from Geom ) returns
39     MakeBSplineCurveWithKnotsAndRationalBSplineCurve;
40
41 Create ( Bsplin : BSplineCurve from Geom2d ) returns
42     MakeBSplineCurveWithKnotsAndRationalBSplineCurve;
43 Value (me) returns
44     BSplineCurveWithKnotsAndRationalBSplineCurve from StepGeom
45     raises NotDone
46     is static;
47     ---C++: return const&
48     
49 fields
50
51     theBSplineCurveWithKnotsAndRationalBSplineCurve :
52         BSplineCurveWithKnotsAndRationalBSplineCurve from StepGeom;
53         -- The solution from StepGeom
54         
55 end MakeBSplineCurveWithKnotsAndRationalBSplineCurve;