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