Integration of OCCT 6.5.0 from SVN
[occt.git] / src / BRepApprox / BRepApprox_ApproxLineGen.cdl
CommitLineData
7fd59977 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
8generic class ApproxLineGen from BRepApprox
9 (TheCurve as any;
10 TheCurve2d as any)
11inherits TShared from MMgt
12
13
14uses
15
16 PntOn2S from IntSurf,
17 LineOn2S from IntSurf
18
19is
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
37fields
38
39 curvxyz : TheCurve;
40 curvuv1 : TheCurve2d;
41 curvuv2 : TheCurve2d;
42 pnton2s : PntOn2S from IntSurf;
43 linon2s : LineOn2S from IntSurf;
44
45end ApproxLineGen from BRepApprox;
46