0024624: Lost word in license statement in source files
[occt.git] / src / GeomToIGES / GeomToIGES_GeomCurve.cdl
1 -- Created on: 1994-11-17
2 -- Created by: Marie Jose MARTZ
3 -- Copyright (c) 1994-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 GeomCurve from GeomToIGES inherits GeomEntity from GeomToIGES
18
19     ---Purpose: This class implements the transfer of the Curve Entity from Geom
20     --          To IGES. These can be :
21     --          Curve
22     --            . BoundedCurve
23     --               * BSplineCurve
24     --               * BezierCurve
25     --               * TrimmedCurve
26     --            . Conic     
27     --               * Circle
28     --               * Ellipse
29     --               * Hyperbloa
30     --               * Line
31     --               * Parabola
32     --            . OffsetCurve     
33   
34
35 uses
36
37     Curve                from Geom,
38     BoundedCurve         from Geom,
39     BSplineCurve         from Geom,
40     BezierCurve          from Geom,
41     TrimmedCurve         from Geom,
42     Conic                from Geom,
43     Circle               from Geom,
44     Ellipse              from Geom,
45     Hyperbola            from Geom,
46     Line                 from Geom,
47     Parabola             from Geom,
48     OffsetCurve          from Geom,
49     IGESEntity           from IGESData,
50     GeomEntity           from GeomToIGES
51     
52     
53 is 
54     
55     Create returns GeomCurve from GeomToIGES;
56
57
58     Create(GE : GeomEntity from GeomToIGES)  
59          returns GeomCurve from GeomToIGES;
60     ---Purpose : Creates a tool GeomCurve ready to run and sets its
61     --         fields as GE's.
62
63     TransferCurve (me    : in out;
64                    start : Curve from Geom;
65                    Udeb  : Real  from Standard;
66                    Ufin  : Real  from Standard)
67          returns mutable IGESEntity from IGESData;
68     ---Purpose :  Transfert  a  GeometryEntity which  answer True  to  the
69     --            member : BRepToIGES::IsGeomCurve(Geometry).  If this
70     --            Entity could not be converted, this member returns a NullEntity.
71
72
73     TransferCurve (me    : in out;
74                    start : BoundedCurve from Geom;
75                    Udeb  : Real         from Standard;
76                    Ufin  : Real         from Standard)
77          returns mutable IGESEntity from IGESData;
78
79
80     TransferCurve (me    : in out;
81                    start : BSplineCurve from Geom;
82                    Udeb  : Real         from Standard;
83                    Ufin  : Real         from Standard)
84          returns mutable IGESEntity from IGESData;
85
86
87     TransferCurve (me    : in out;
88                    start : BezierCurve from Geom;
89                    Udeb  : Real        from Standard;
90                    Ufin  : Real        from Standard)
91          returns mutable IGESEntity from IGESData;
92
93          
94     TransferCurve (me    : in out;
95                    start : TrimmedCurve from Geom;
96                    Udeb  : Real        from Standard;
97                    Ufin  : Real        from Standard)
98          returns mutable IGESEntity from IGESData;
99
100
101     TransferCurve (me    : in out;
102                    start : Conic from Geom;
103                    Udeb  : Real  from Standard;
104                    Ufin  : Real  from Standard)
105          returns mutable IGESEntity from IGESData;
106
107
108     TransferCurve (me    : in out;
109                     start : Circle from Geom;
110                     Udeb  : Real   from Standard;
111                     Ufin  : Real   from Standard)
112          returns mutable IGESEntity from IGESData;
113
114
115     TransferCurve (me    : in out;
116                    start : Ellipse from Geom;
117                    Udeb  : Real    from Standard;
118                    Ufin  : Real    from Standard)
119          returns mutable IGESEntity from IGESData;
120
121
122     TransferCurve (me    : in out;
123                    start : Hyperbola from Geom;
124                    Udeb  : Real      from Standard;
125                    Ufin  : Real      from Standard)
126          returns mutable IGESEntity from IGESData;
127
128
129     TransferCurve (me    : in out;
130                    start : Line from Geom;
131                    Udeb  : Real from Standard;
132                    Ufin  : Real from Standard)
133          returns mutable IGESEntity from IGESData;
134
135
136     TransferCurve (me    : in out;
137                    start : Parabola from Geom;
138                    Udeb  : Real     from Standard;
139                    Ufin  : Real     from Standard)
140          returns mutable IGESEntity from IGESData;
141
142
143     TransferCurve (me    : in out;
144                    start : OffsetCurve from Geom;
145                    Udeb  : Real        from Standard;
146                    Ufin  : Real        from Standard)
147          returns mutable IGESEntity from IGESData;
148
149
150 end GeomCurve;
151
152