7fd59977 |
1 | -- File: GeomToStep_MakeEllipse.cdl |
2 | -- Created: Fri Sep 2 08:22:18 1994 |
3 | -- Author: Frederic MAUPAS |
4 | -- <fma@minox> |
5 | ---Copyright: Matra Datavision 1994 |
6 | |
7 | |
8 | class MakeEllipse from GeomToStep inherits Root from GeomToStep |
9 | |
10 | ---Purpose: This class implements the mapping between classes |
11 | -- Ellipse from Geom, and Circ from gp, and the class |
12 | -- Ellipse from StepGeom which describes a Ellipse from |
13 | -- Prostep. |
14 | |
15 | uses Elips from gp, |
16 | Elips2d from gp, |
17 | Ellipse from Geom, |
18 | Ellipse from Geom2d, |
19 | Ellipse from StepGeom |
20 | |
21 | raises NotDone from StdFail |
22 | |
23 | is |
24 | |
25 | Create ( C : Elips from gp ) returns MakeEllipse; |
26 | |
27 | Create ( C : Ellipse from Geom ) returns MakeEllipse; |
28 | |
29 | Create ( C : Ellipse from Geom2d ) returns MakeEllipse; |
30 | |
31 | Value (me) returns Ellipse from StepGeom |
32 | raises NotDone |
33 | is static; |
34 | ---C++: return const& |
35 | |
36 | fields |
37 | |
38 | theEllipse : Ellipse from StepGeom; |
39 | -- The solution from StepGeom |
40 | |
41 | end MakeEllipse; |
42 | |
43 | |