blob: 25fa691689c6e6258dbba2e76e588ae225dcc44b (
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
|
-- File: ParGenCurve.cdl
-- Created: Mon Nov 18 09:41:29 1991
-- Author: Remi GILET
-- <reg@topsn3>
---Copyright: Matra Datavision 1991
generic class ParGenCurve from GccGeo (TheCurve as any)
---Purpose: Definition of a virtual curve.
uses Pnt2d from gp,
Vec2d from gp
is
Create returns ParGenCurve;
Create(C : TheCurve) returns ParGenCurve;
Create(C : TheCurve ;
D : Real from Standard ) returns ParGenCurve;
Value(me; U : Real)returns Pnt2d;
--- Purpose : Computes the point of parameter U on the curve
D1 (me; U : Real; P : out Pnt2d from gp ; V : out Vec2d from gp);
--- Purpose : Computes the point of parameter U on the curve with its
-- first derivative.
D2 (me; U : Real; P : out Pnt2d from gp ; V1,V2 : out Vec2d from gp);
--- Purpose : Computes the point of parameter U on the curve with its
-- first derivative and second derivative.
FirstParameter(me) returns Real;
LastParameter(me) returns Real;
GetResolution(me) returns Real;
GetIntervals(me) returns Integer;
fields
Cu : TheCurve ;
Dep : Real from Standard;
end ParGenCurve;
|