b311480e |
1 | -- Created on: 1994-11-17 |
2 | -- Created by: Marie Jose MARTZ |
3 | -- Copyright (c) 1994-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
10 | -- |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | -- |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | class GeomCurve from GeomToIGES inherits GeomEntity from GeomToIGES |
23 | |
24 | ---Purpose: This class implements the transfer of the Curve Entity from Geom |
25 | -- To IGES. These can be : |
26 | -- Curve |
27 | -- . BoundedCurve |
28 | -- * BSplineCurve |
29 | -- * BezierCurve |
30 | -- * TrimmedCurve |
31 | -- . Conic |
32 | -- * Circle |
33 | -- * Ellipse |
34 | -- * Hyperbloa |
35 | -- * Line |
36 | -- * Parabola |
37 | -- . OffsetCurve |
38 | |
39 | |
40 | uses |
41 | |
42 | Curve from Geom, |
43 | BoundedCurve from Geom, |
44 | BSplineCurve from Geom, |
45 | BezierCurve from Geom, |
46 | TrimmedCurve from Geom, |
47 | Conic from Geom, |
48 | Circle from Geom, |
49 | Ellipse from Geom, |
50 | Hyperbola from Geom, |
51 | Line from Geom, |
52 | Parabola from Geom, |
53 | OffsetCurve from Geom, |
54 | IGESEntity from IGESData, |
55 | GeomEntity from GeomToIGES |
56 | |
57 | |
58 | is |
59 | |
60 | Create returns GeomCurve from GeomToIGES; |
61 | |
62 | |
63 | Create(GE : GeomEntity from GeomToIGES) |
64 | returns GeomCurve from GeomToIGES; |
65 | ---Purpose : Creates a tool GeomCurve ready to run and sets its |
66 | -- fields as GE's. |
67 | |
68 | TransferCurve (me : in out; |
69 | start : Curve from Geom; |
70 | Udeb : Real from Standard; |
71 | Ufin : Real from Standard) |
72 | returns mutable IGESEntity from IGESData; |
73 | ---Purpose : Transfert a GeometryEntity which answer True to the |
74 | -- member : BRepToIGES::IsGeomCurve(Geometry). If this |
75 | -- Entity could not be converted, this member returns a NullEntity. |
76 | |
77 | |
78 | TransferCurve (me : in out; |
79 | start : BoundedCurve from Geom; |
80 | Udeb : Real from Standard; |
81 | Ufin : Real from Standard) |
82 | returns mutable IGESEntity from IGESData; |
83 | |
84 | |
85 | TransferCurve (me : in out; |
86 | start : BSplineCurve from Geom; |
87 | Udeb : Real from Standard; |
88 | Ufin : Real from Standard) |
89 | returns mutable IGESEntity from IGESData; |
90 | |
91 | |
92 | TransferCurve (me : in out; |
93 | start : BezierCurve from Geom; |
94 | Udeb : Real from Standard; |
95 | Ufin : Real from Standard) |
96 | returns mutable IGESEntity from IGESData; |
97 | |
98 | |
99 | TransferCurve (me : in out; |
100 | start : TrimmedCurve from Geom; |
101 | Udeb : Real from Standard; |
102 | Ufin : Real from Standard) |
103 | returns mutable IGESEntity from IGESData; |
104 | |
105 | |
106 | TransferCurve (me : in out; |
107 | start : Conic from Geom; |
108 | Udeb : Real from Standard; |
109 | Ufin : Real from Standard) |
110 | returns mutable IGESEntity from IGESData; |
111 | |
112 | |
113 | TransferCurve (me : in out; |
114 | start : Circle from Geom; |
115 | Udeb : Real from Standard; |
116 | Ufin : Real from Standard) |
117 | returns mutable IGESEntity from IGESData; |
118 | |
119 | |
120 | TransferCurve (me : in out; |
121 | start : Ellipse from Geom; |
122 | Udeb : Real from Standard; |
123 | Ufin : Real from Standard) |
124 | returns mutable IGESEntity from IGESData; |
125 | |
126 | |
127 | TransferCurve (me : in out; |
128 | start : Hyperbola from Geom; |
129 | Udeb : Real from Standard; |
130 | Ufin : Real from Standard) |
131 | returns mutable IGESEntity from IGESData; |
132 | |
133 | |
134 | TransferCurve (me : in out; |
135 | start : Line from Geom; |
136 | Udeb : Real from Standard; |
137 | Ufin : Real from Standard) |
138 | returns mutable IGESEntity from IGESData; |
139 | |
140 | |
141 | TransferCurve (me : in out; |
142 | start : Parabola from Geom; |
143 | Udeb : Real from Standard; |
144 | Ufin : Real from Standard) |
145 | returns mutable IGESEntity from IGESData; |
146 | |
147 | |
148 | TransferCurve (me : in out; |
149 | start : OffsetCurve from Geom; |
150 | Udeb : Real from Standard; |
151 | Ufin : Real from Standard) |
152 | returns mutable IGESEntity from IGESData; |
153 | |
154 | |
155 | end GeomCurve; |
156 | |
157 | |