blob: 832ed59eb6a2d88e42640d09180bc144c43c0270 (
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
|
-- File: PGeom_Parabola.cdl
-- Created: Mon Feb 22 18:41:48 1993
-- Author: Philippe DAUTRY
-- <fid@phobox>
-- Copyright: Matra Datavision 1993
class Parabola from PGeom
inherits Conic from PGeom
--- Purpose :
-- Defines the parabola in the parameterization range :
-- ]-infinite,+infinite[
--
-- See Also : Parabola from Geom.
uses Ax2 from gp
is
Create returns mutable Parabola from PGeom;
---Purpose : Creates a parabola with default values.
---Level: Internal
Create (aPosition : Ax2 from gp; aFocalLength : Real)
returns mutable Parabola from PGeom;
---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;
|