0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / HLRAlgo / HLRAlgo_PolyData.cdl
1 -- Created on: 1993-10-29
2 -- Created by: Christophe MARION
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class PolyData from HLRAlgo inherits TShared from MMgt
18
19 uses
20     Address          from Standard,
21     Integer          from Standard,
22     Boolean          from Standard,
23     Array1OfXYZ      from TColgp,
24     Array1OfTData    from HLRAlgo,
25     Array1OfPHDat    from HLRAlgo,
26     HArray1OfXYZ     from TColgp,
27     HArray1OfTData   from HLRAlgo,
28     HArray1OfPHDat   from HLRAlgo,
29     EdgeStatus       from HLRAlgo
30
31 is
32     Create returns PolyData from HLRAlgo;
33
34     HNodes(me : mutable; HNodes : HArray1OfXYZ from TColgp)
35     is static;
36
37     HTData(me : mutable; HTData : HArray1OfTData from HLRAlgo)
38     is static;
39
40     HPHDat(me : mutable; HPHDat : HArray1OfPHDat from HLRAlgo)
41     is static;
42
43     FaceIndex(me : mutable; I : Integer from Standard)
44         ---C++: inline
45     is static;
46
47     FaceIndex(me) returns Integer from Standard
48         ---C++: inline
49     is static;
50
51     Nodes(me) returns Array1OfXYZ from TColgp
52         ---C++: inline
53         ---C++: return &
54     is static;
55
56     TData(me) returns Array1OfTData from HLRAlgo
57         ---C++: inline
58         ---C++: return &
59     is static;
60
61     PHDat(me) returns Array1OfPHDat from HLRAlgo
62         ---C++: inline
63         ---C++: return &
64     is static;
65
66     UpdateGlobalMinMax(me        : mutable;
67                        ToTMinMax : Address from Standard)
68     is static;
69     
70     Hiding(me) returns Boolean from Standard
71         ---C++: inline
72     is static;
73
74     HideByPolyData(me          : mutable;
75                    Coordinates :     Address    from Standard;
76                    RealPtr     :     Address    from Standard;
77                    Indices     :     Address    from Standard;
78                    HidingShell :     Boolean    from Standard;
79                    status      : out EdgeStatus from HLRAlgo)
80         ---Purpose: process hiding between <Pt1> and <Pt2>.
81     is static;
82     
83     HideByOneTriangle(me          : mutable;
84                       Coordinates :     Address    from Standard;
85                       RealPtr     :     Address    from Standard;
86                       BooleanPtr  :     Address    from Standard;
87                       PlanPtr     :     Address    from Standard;
88                       status      : out EdgeStatus from HLRAlgo)
89         ---Purpose: evident.
90     is static private;
91     
92     Indices(me : mutable) returns Address from Standard
93         ---C++: inline
94     is static;
95
96 fields
97     myIndices : Integer        from Standard[3];
98     myHNodes  : HArray1OfXYZ   from TColgp;
99     myHTData  : HArray1OfTData from HLRAlgo;
100     myHPHDat  : HArray1OfPHDat from HLRAlgo;
101
102 end PolyData;