0022627: Change OCCT memory management defaults
[occt.git] / src / BRepApprox / BRepApprox_ApproxLineGen.cdl
1 -- File:        BRepApprox_ApproxLineGen.cdl
2 -- Created:     Thu Jul 20 15:08:07 1995
3 -- Author:      Modelistation
4 --              <model@meteox>
5 ---Copyright:    Matra Datavision 1995
6
7
8 generic class ApproxLineGen from BRepApprox
9     (TheCurve        as any;
10      TheCurve2d      as any)
11 inherits TShared from MMgt
12     
13    
14 uses
15
16     PntOn2S           from IntSurf,
17     LineOn2S          from IntSurf
18      
19 is 
20      
21     Create(CurveXYZ: TheCurve;
22            CurveUV1: TheCurve2d;
23            CurveUV2: TheCurve2d)
24     returns mutable ApproxLineGen from BRepApprox;
25
26     Create(lin: LineOn2S from IntSurf; Tang: Boolean from Standard)
27     returns mutable ApproxLineGen from BRepApprox;
28          
29     NbPnts(me) 
30     returns Integer from Standard
31     is static;
32          
33     Point(me: mutable; Index: Integer from Standard)
34     returns PntOn2S from IntSurf
35     is static;
36          
37 fields 
38
39     curvxyz  : TheCurve;
40     curvuv1  : TheCurve2d;
41     curvuv2  : TheCurve2d;
42     pnton2s  : PntOn2S    from IntSurf;
43     linon2s  : LineOn2S   from IntSurf;
44
45 end ApproxLineGen from BRepApprox;
46