summaryrefslogtreecommitdiff
path: root/src/StepToGeom/StepToGeom_MakePolyline2d.cdl
blob: f07a1db25c7c9780093e26cc4c628e4fc0ec806d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- File:	StepToGeom_MakePolyline2d.cdl
-- Created:	Mon Feb 15 15:01:21 1999
-- Author:	Andrey BETENEV
---Copyright:	 Matra Datavision 1999

class MakePolyline2d from StepToGeom

    ---Purpose: Translates Polyline entity into Geom2d_BSpline
    --          In case if Polyline has more than 2 points bspline will be C0

uses
    Polyline     from StepGeom,
    BSplineCurve from Geom2d

is

    Convert ( myclass; SPL : Polyline from StepGeom;
                       CC : out BSplineCurve from Geom2d )
    returns Boolean from Standard;

end MakePolyline2d;