0022627: Change OCCT memory management defaults
[occt.git] / src / Approx / Approx_Curve2d.cdl
CommitLineData
7fd59977 1-- File: Approx_2dCurve.cdl
2-- Created: Tue Oct 28 16:28:35 1997
3-- Author: Roman BORISOV
4-- <rbv@velox.nnov.matra-dtv.fr>
5---Copyright: Matra Datavision 1997
6
7
8class Curve2d from Approx
9
10 ---Purpose: Makes an approximation for HCurve2d from Adaptor3d
11
12uses
13 HCurve2d from Adaptor2d,
14 Shape from GeomAbs,
15 BSplineCurve from Geom2d
16
17is
18 Create(C2D : HCurve2d from Adaptor2d;
19 First,
20 Last,
21 TolU, TolV : Real;
22 Continuity : Shape from GeomAbs;
23 MaxDegree : Integer ;
24 MaxSegments : Integer)
25
26 returns Curve2d;
27
28 IsDone(me) returns Boolean from Standard;
29
30 HasResult(me) returns Boolean from Standard;
31
32 Curve(me)
33 returns BSplineCurve from Geom2d;
34
35 MaxError2dU(me) returns Real;
36 MaxError2dV(me) returns Real;
37
38fields
39
40 myCurve : BSplineCurve from Geom2d;
41 myIsDone : Boolean from Standard;
42 myHasResult : Boolean from Standard;
43 myMaxError2dU : Real from Standard;
44 myMaxError2dV : Real from Standard;
45
46end Curve2d;