blob: c60694e60a5248ec78459cf8a6d92bdb56cf5625 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
-- File: Contap_ArcTool.cdl
-- Created: Wed May 12 09:09:34 1993
-- Author: Jacques GOUSSARD
-- <jag@topsn2>
---Copyright: Matra Datavision 1993
deferred generic class ArcTool from Contap
(TheArc as any )
---Purpose: Template class for a tool on the restriction of
-- a surface.
-- It is possible to implement this class with an instantiation
-- of the class CurveTool from Adaptor3d.
uses Pnt2d from gp,
Vec2d from gp
is
Value(myclass; A: TheArc; X: Real from Standard)
---Purpose: Returns the value in the parametric space
-- of the surface S, of the point of parameter X
-- on the arc A.
returns Pnt2d from gp;
D1(myclass; A: TheArc; X: Real from Standard;
P : out Pnt2d from gp;
D2D : out Vec2d from gp);
---Purpose: Returns the value and the first derivatives in
-- the parametric space of the surface S of the point
-- at parameter X on the arc A.
Resolution(myclass; A: TheArc; Tol3d: Real from Standard)
---Purpose : Returns the parametric resolution corresponding
-- to the space resolution Tol3d.
returns Real from Standard;
end ArcTool;
|