blob: 7662070f55059987cc76a207b912cb639ffa2022 (
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
|
-- File: PGeom2d_Line.cdl
-- Created: Tue Apr 6 17:29:25 1993
-- Author: Philippe DAUTRY
-- <fid@mastox>
-- Copyright: Matra Datavision 1993
class Line from PGeom2d inherits Curve from PGeom2d
---Purpose : Defines an infinite line. The
-- parametrization range is ]-infinite, +infinite[.
--
---See Also : Line from Geom2d.
uses Ax2d from gp
is
Create returns mutable Line;
---Purpose : Creates a line with default values.
---Level: Internal
Create (aPosition : Ax2d from gp) returns mutable Line;
---Purpose : Creates a line located in 3D space with
-- <aPosition>. The Location of <aPosition> is the
-- origin of the line.
---Level: Internal
Position (me : mutable; aPosition : Ax2d from gp);
--- Purpose : Set the value of the field position with <aPosition>.
---Level: Internal
Position (me) returns Ax2d from gp;
--- Purpose : Returns the value of the field position.
---Level: Internal
fields
position : Ax2d from gp;
end;
|