blob: 094ef4d595b6d646a5a0e34fec61e36bf567bfb2 (
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
50
51
52
53
54
55
56
57
58
59
60
61
|
-- File: PGeom_OffsetSurface.cdl
-- Created: Tue Mar 2 14:39:56 1993
-- Author: Philippe DAUTRY
-- <fid@phylox>
-- Copyright: Matra Datavision 1993
class OffsetSurface from PGeom inherits Surface from PGeom
---Purpose : This class implements the basis services for an
-- offset surface in 3D space.
--
uses Surface from PGeom
is
Create returns mutable OffsetSurface from PGeom;
---Purpose: Creates an OffsetSurface with default values.
---Level: Internal
Create (
aBasisSurface : Surface from PGeom;
aOffsetValue : Real from Standard)
returns mutable OffsetSurface from PGeom;
---Purpose : <aBasisSurface> is the basis surface,
-- <aOffsetValue> is the distance between <me> and the
-- basis surface at any point. <aOffsetDirection>
-- defines the fixed reference direction (offset
-- direction).
---Level: Internal
BasisSurface (me : mutable; aBasisSurface : Surface from PGeom);
---Purpose: Set the field basisSurface with <aBasisSurface>.
---Level: Internal
BasisSurface (me) returns Surface from PGeom;
---Purpose : The basis surface can be an offset surface.
---Level: Internal
OffsetValue (me : mutable; aOffsetValue : Real from Standard);
---Purpose : Set the field offsetValue with <aOffsetValue>.
---Level: Internal
OffsetValue (me) returns Real from Standard;
---Purpose : Returns the value of the field offsetValue.
---Level: Internal
fields
basisSurface : Surface from PGeom;
offsetValue : Real from Standard;
end;
|