0022627: Change OCCT memory management defaults
[occt.git] / src / IntImpParGen / IntImpParGen_ParTool.cdl
CommitLineData
7fd59977 1-- File: ParTool.cdl
2-- Created: Fri Mar 27 13:16:36 1992
3-- Author: Laurent BUCHARD
4-- <lbr@topsn3>
5---Copyright: Matra Datavision 1992
6
7
8
9deferred generic class ParTool from IntImpParGen
10 (ParCurve as any)
11
12 ---Purpose: Template class for a tool on a parametrised curve.
13
14uses Pnt2d from gp,
15 Vec2d from gp,
16 Lin2d from gp
17
18is
19
20
21 Value (myclass; C: ParCurve; U: Real from Standard)
22
23 ---Purpose: Returns the point at parameter U on the Curve C.
24
25 returns Pnt2d from gp;
26
27
28 D1 (myclass; C:ParCurve; U:Real from Standard ;
29 P: out Pnt2d; T: out Vec2d);
30
31 ---Purpose: Computes the Point and the First derivative of
32 -- the parametric curve C at parameter U.
33
34
35 D2 (myclass; C:ParCurve; U:Real from Standard ;
36 P: out Pnt2d; T,N: out Vec2d);
37
38 ---Purpose: Computes the Point, the First and the Second derivative of
39 -- the parametric curve C at parameter U.
40
41
42 EpsX (myclass; C: ParCurve)
43
44 ---Purpose: Returns the valuec of the parametric tolerance
45 -- on the curve C.
46
47 returns Real from Standard;
48
49
50 NbSamples(myclass; C: ParCurve)
51
52 ---Purpose: NbSamples is the number of sample point used to
53 -- polygonise the parametric curve on its domain.
54
55 returns Integer from Standard;
56
57
58end ParTool;
59
60
61
62
63
64
65
66
67
68