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


class ArrayOfTriangles from IntPolyh

uses
    
    Triangle from IntPolyh


is


    Create;
    
    Create(nn : Integer from Standard) ; 
    
    Init(me: in out; nn: Integer from Standard) 
    is static;

    GetN(me)
    returns Integer from Standard
    ---C++: return const
    is static;
    
    NbTriangles(me)
    returns Integer from Standard
    ---C++: return const
    is static;
    
    SetNbTriangles(me : in out; endaot: Integer from Standard)
    is static;
    
    IncNbTriangles(me: in out)
    is static;
    
    Value(me; nn: Integer from Standard)
    	---C++: alias operator [] 
    	---C++: return const &      
    returns Triangle from IntPolyh
    is static;
    
    ChangeValue(me: in out;  nn: Integer from Standard)
    	---C++: alias operator [] 
    	---C++: return &
    returns Triangle from IntPolyh 
    is static;
    
    Copy(me: in out; Other : ArrayOfTriangles from IntPolyh)
    	---C++: alias operator =
    	---C++: return &
    returns ArrayOfTriangles from IntPolyh
    is static;
    
    Destroy(me:in out)
    	---C++: alias ~
    is static;
    
    Dump(me) 
    is static;
    
    DumpFleches(me) 
    is static;

     	
fields

    n, fintt : Integer from Standard;
    ptr      : Address from Standard;
    
end ArrayOfTriangles from IntPolyh;