summaryrefslogtreecommitdiff
path: root/src/IntPolyh/IntPolyh_ArrayOfPoints.cdl
blob: 19b2046f853d0db837b6f444247e1f34f6808e2e (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
-- File:	IntPolyh_ArrayOfPoints.cdl
-- Created:	Mon Mar  8 08:12:34 1999
-- Author:	Fabrice SERVANT
--		<fst@cleox.paris1.matra-dtv.fr>
---Copyright:	 Matra Datavision 1999


class ArrayOfPoints from IntPolyh

uses
    
    Point 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 Point from IntPolyh    
    is static;
    
    ChangeValue(me: in out;  nn: Integer from Standard)
    	---C++: alias operator [] 
    	---C++: return &
    returns Point from IntPolyh    
    is static;
    
    Copy(me: in out; Other : ArrayOfPoints from IntPolyh)
    	---C++: alias operator =
    	---C++: return &
    returns ArrayOfPoints from IntPolyh
    is static;
    
    GetN(me)
    returns Integer from Standard
    is static;
    
    NbPoints(me)
    returns Integer from Standard
    is static;

    IncNbPoints(me: in out)
    is static;
    
    SetNbPoints(me: in out; END: Integer from Standard)
    is static;
    
    Destroy(me: in out)
    	---C++: alias ~
    is static;
    
    Dump(me) 
    is static;
     	
fields

    n,fintp : Integer from Standard;
    ptr :Address from Standard;
    
end ArrayOfPoints from IntPolyh;