blob: 94fe407bd937f32c5c075d2c13e8d06b837ec18f (
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
62
63
64
65
66
67
68
69
70
71
72
73
74
|
-- File: HatchGen_ElementGen.cdl
-- Created: Wed Nov 10 18:10:00 1993
-- Author: Jean Marc LACHAUME
-- <jml@sdsun1>
-- Copyright: Matra Datavision 1993
generic class ElementGen from HatchGen (TheElementCurve as any)
uses
Orientation from TopAbs
is
Create
returns ElementGen from HatchGen;
Create (Other : ElementGen from HatchGen)
---Purpose: Magic constructor.
returns ElementGen from HatchGen ;
Create (Curve : TheElementCurve ;
Orientation : Orientation from TopAbs = TopAbs_FORWARD)
---Purpose: Creates an element.
returns ElementGen from HatchGen ;
Curve (me)
---Purpose: Returns the curve associated to the element.
---C++: return const &
returns TheElementCurve
is static ;
ChangeCurve (me : in out)
---Purpose: Returns the curve associated to the element.
---C++: return &
returns TheElementCurve
is static ;
Orientation (me : in out ; Orientation : Orientation from TopAbs)
---Purpose: Sets the orientation of the element.
is static ;
Orientation (me)
---Purpose: Returns the orientation of the element.
returns Orientation from TopAbs
is static ;
fields
myCurve : TheElementCurve ;
myOrientation : Orientation from TopAbs ;
end ElementGen from HatchGen ;
|