blob: 03e22074842861f052c851418db7c09694067aa3 (
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
|
-- File: Vector.cdl
-- Created: Fri Dec 1 11:11:31 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class Vector from StepGeom
inherits GeometricRepresentationItem from StepGeom
uses
Direction from StepGeom,
Real from Standard,
HAsciiString from TCollection
is
Create returns mutable Vector;
---Purpose: Returns a Vector
Init (me : mutable;
aName : mutable HAsciiString from TCollection) is redefined;
Init (me : mutable;
aName : mutable HAsciiString from TCollection;
aOrientation : mutable Direction from StepGeom;
aMagnitude : Real from Standard) is virtual;
-- Specific Methods for Field Data Access --
SetOrientation(me : mutable; aOrientation : mutable Direction);
Orientation (me) returns mutable Direction;
SetMagnitude(me : mutable; aMagnitude : Real);
Magnitude (me) returns Real;
fields
orientation : Direction from StepGeom;
magnitude : Real from Standard;
end Vector;
|