0022627: Change OCCT memory management defaults
[occt.git] / src / GeomToStep / GeomToStep_MakePolyline.cdl
1 -- File:        GeomToStep_MakePolyline.cdl
2 -- Created:     Mon Jul 12 16:32:27 1993
3 -- Author:      Martine LANGLOIS
4 --              <mla@mastox>
5 ---Copyright:    Matra Datavision 1993
6
7 class MakePolyline from GeomToStep inherits Root from GeomToStep
8
9     ---Purpose: This class implements the mapping between an Array1 of points
10     --          from gp and a Polyline from StepGeom.
11   
12 uses Array1OfPnt from TColgp,
13      Array1OfPnt2d from TColgp,
14      Polyline from StepGeom
15      
16 raises NotDone from StdFail
17      
18 is 
19
20 Create ( P : Array1OfPnt from TColgp ) returns MakePolyline;
21
22 Create ( P : Array1OfPnt2d from TColgp ) returns MakePolyline;
23
24 Value (me) returns Polyline from StepGeom
25     raises NotDone
26     is static;
27     ---C++: return const&
28
29 fields
30
31     thePolyline : Polyline from StepGeom;
32         -- The solution from StepGeom
33         
34 end MakePolyline;
35
36