7fd59977 |
1 | -- File: GeomToStep_MakeBoundedCurve.cdl |
2 | -- Created: Mon Jun 21 11:31:39 1993 |
3 | -- Author: Martine LANGLOIS |
4 | -- <mla@mastox> |
5 | ---Copyright: Matra Datavision 1993 |
6 | |
7 | class MakeBoundedCurve from GeomToStep inherits Root from GeomToStep |
8 | |
9 | ---Purpose: This class implements the mapping between classes |
10 | -- BoundedCurve from Geom, Geom2d and the class BoundedCurve from |
11 | -- StepGeom which describes a BoundedCurve from prostep. |
12 | -- As BoundedCurve is an abstract BoundedCurve this class |
13 | -- is an access to the sub-class required. |
14 | |
15 | uses BoundedCurve from Geom, |
16 | BoundedCurve from Geom2d, |
17 | BoundedCurve from StepGeom |
18 | |
19 | raises NotDone from StdFail |
20 | |
21 | is |
22 | |
23 | Create ( C : BoundedCurve from Geom ) returns MakeBoundedCurve; |
24 | |
25 | Create ( C : BoundedCurve from Geom2d ) returns MakeBoundedCurve; |
26 | |
27 | Value (me) returns BoundedCurve from StepGeom |
28 | raises NotDone |
29 | is static; |
30 | ---C++: return const& |
31 | |
32 | fields |
33 | |
34 | theBoundedCurve : BoundedCurve from StepGeom; |
35 | -- The solution from StepGeom |
36 | |
37 | end MakeBoundedCurve; |
38 | |
39 | |
40 | |