blob: cb98775470bc82b4e70df222756c050d82b0baec (
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
|
-- File: PGeom2d_Direction.cdl
-- Created: Tue Apr 6 17:20:31 1993
-- Author: Philippe DAUTRY
-- <fid@mastox>
-- Copyright: Matra Datavision 1993
class Direction from PGeom2d inherits Vector from PGeom2d
---Purpose : The class Direction specifies a vector that is
-- never null. It is a unit vector.
--
---See Also : Direction from Geom2d.
uses Vec2d from gp
is
Create returns mutable Direction from PGeom2d;
--- Purpose : Creates a unit vector with default values.
---Level: Internal
Create (aVec: Vec2d from gp) returns mutable Direction from PGeom2d;
---Purpose : Create a unit vector with <aVec>.
---Level: Internal
end;
|