0024157: Parallelization of assembly part of BO
[occt.git] / src / HLRAlgo / HLRAlgo_PolyShellData.cdl
1 -- Created on: 1993-10-29
2 -- Created by: Christophe MARION
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
5 --
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
10 --
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 --
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
20
21
22 class PolyShellData from HLRAlgo inherits TShared from MMgt
23
24 uses
25     Address            from Standard,
26     Boolean            from Standard,
27     Integer            from Standard,
28     Array1OfTransient  from TColStd,
29     HArray1OfTransient from TColStd,
30     ListOfBPoint       from HLRAlgo
31
32 is
33     Create(nbFace : Integer from Standard)
34     returns mutable PolyShellData from HLRAlgo;
35
36     UpdateGlobalMinMax(me        : mutable;
37                        TotMinMax : Address from Standard)
38     is static;
39     
40     UpdateHiding(me       : mutable;
41                  nbHiding : Integer from Standard)
42     is static;
43
44     Hiding(me) returns Boolean from Standard
45         ---C++: inline
46     is static;
47
48     PolyData(me : mutable) 
49         ---C++: return &
50         ---C++: inline
51     returns Array1OfTransient from TColStd
52     is static;
53
54     HidingPolyData(me : mutable) 
55         ---C++: return &
56         ---C++: inline
57     returns Array1OfTransient from TColStd
58     is static;
59
60     Edges(me : mutable) 
61         ---C++: return &
62         ---C++: inline
63     returns ListOfBPoint from HLRAlgo
64     is static;
65
66     Indices(me : mutable) returns Address from Standard
67         ---C++: inline
68     is static;
69
70 fields
71     myMinMax    : Integer            from Standard[2];
72     myPolyg     : Array1OfTransient  from TColStd;
73     myHPolHi    : HArray1OfTransient from TColStd;
74     mySegList   : ListOfBPoint       from HLRAlgo;
75
76 end PolyShellData;