blob: 2e6157797b14e92b19bc7870f1609e794d56bfbf (
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: PGeom2d_Parabola.cdl
-- Created: Tue Apr 6 17:32:29 1993
-- Author: Philippe DAUTRY
-- <fid@mastox>
-- Copyright: Matra Datavision 1993
class Parabola from PGeom2d
inherits Conic from PGeom2d
--- Purpose :
-- Defines the parabola in the parameterization range :
-- ]-infinite,+infinite[
-- See Also : Parabola from Geom2d.
uses Ax22d from gp
is
Create returns mutable Parabola from PGeom2d;
---Purpose : Creates a parabola with default values.
---Level: Internal
Create (aPosition : Ax22d from gp; aFocalLength : Real)
returns mutable Parabola from PGeom2d;
---Purpose : Creates a Parabola with <aPosition> and <aFocalLength>
-- as field values.
---Level: Internal
FocalLength (me : mutable; aFocalLength : Real);
---Purpose : Set the value of the field focalLength with
-- <aFocalLength>.
---Level: Internal
FocalLength (me) returns Real;
---Purpose : Retruns the value of the field focalLength.
---Level: Internal
fields
focalLength : Real;
end;
|