blob: 74f37d5ff25abcf837621bae606817f2ac036828 (
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
|
-- File: IntPolyh_SectionLine.cdl
-- Created: Tue Apr 6 11:05:48 1999
-- Author: Fabrice SERVANT
-- <fst@cleox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1999
-- modified by Edward AGAPOV (eap) Thu Feb 14 2002 (occ139)
-- Add Prepend(), replace array with sequence
class SectionLine from IntPolyh
uses
SeqOfStartPoints from IntPolyh,
StartPoint from IntPolyh
is
Create;
Create(nn : Integer from Standard) ;
Init(me: in out; nn: Integer from Standard)
is static;
Value(me; nn: Integer from Standard)
---C++: alias operator []
---C++: return const &
returns StartPoint from IntPolyh
is static;
ChangeValue(me: in out; nn: Integer from Standard)
---C++: alias operator []
---C++: return &
returns StartPoint from IntPolyh
is static;
Copy(me: in out; Other : SectionLine from IntPolyh)
---C++: alias operator =
---C++: return &
returns SectionLine from IntPolyh
is static;
GetN(me)
returns Integer from Standard
is static;
NbStartPoints(me)
returns Integer from Standard
is static;
IncrementNbStartPoints(me: in out)
is static;
Destroy(me: in out)
---C++: alias ~
is static;
Dump(me)
is static;
Prepend(me:in out; SP: StartPoint from IntPolyh)
is static;
fields
-- n,nbstartpoints : Integer from Standard;
-- ptr :Address from Standard;
mySeqOfSPoints : SeqOfStartPoints from IntPolyh;
end SectionLine from IntPolyh;
|