0024171: Eliminate CLang compiler warning -Wreorder
[occt.git] / src / BRepMesh / BRepMesh_SelectorOfDataStructureOfDelaun.cdl
1 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
2 --
3 -- The content of this file is subject to the Open CASCADE Technology Public
4 -- License Version 6.5 (the "License"). You may not use the content of this file
5 -- except in compliance with the License. Please obtain a copy of the License
6 -- at http://www.opencascade.org and read it completely before using this file.
7 --
8 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
9 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
10 --
11 -- The Original Code and all software distributed under the License is
12 -- distributed on an "AS IS" basis, without warranty of any kind, and the
13 -- Initial Developer hereby disclaims all such warranties, including without
14 -- limitation, any warranties of merchantability, fitness for a particular
15 -- purpose or non-infringement. Please see the License for the specific terms
16 -- and conditions governing the rights and limitations under the License.
17
18 class SelectorOfDataStructureOfDelaun from BRepMesh
19
20   ---Purpose: Describes a selector and  an Iterator on a
21   --          selector of components of a Mesh.
22
23   uses    Integer from Standard,
24           Box from Bnd,
25           MapOfInteger from BRepMesh,
26           DataStructureOfDelaun from BRepMesh,
27           Vertex from BRepMesh,
28           Edge from BRepMesh,
29           Triangle from BRepMesh
30
31 is          Create returns SelectorOfDataStructureOfDelaun from BRepMesh;
32
33             Create      (theMesh     : DataStructureOfDelaun from BRepMesh)
34             returns SelectorOfDataStructureOfDelaun from BRepMesh;
35
36             Initialize   (me          : in out;
37                           theMesh     :DataStructureOfDelaun from BRepMesh) 
38             is static;
39
40
41             NeighboursOf(me          : in out;
42                          theNode     : in Vertex from BRepMesh) 
43               is static;
44
45             NeighboursOfNode(me          : in out;
46                              indexNode   : in Integer from Standard) 
47               is static;
48
49
50             NeighboursOf(me          : in out;
51                          theLink     : in Edge from BRepMesh) 
52               is static;
53
54             NeighboursOfLink(me          : in out;
55                              indexLink   : in Integer from Standard) 
56               is static;
57
58
59             NeighboursOf(me          : in out;
60                          theElem     : in Triangle from BRepMesh) 
61               is static;
62
63             NeighboursOfElement(me        : in out;
64                                 indexElem : in Integer from Standard) 
65             ---Purpose: All Neighbours  Of the Element. By
66             --          edge or by vertices.
67               is static;
68
69
70             NeighboursByEdgeOf (me        : in out;
71                                 theElem   : in Triangle from BRepMesh) 
72               ---Purpose: Neighbours by edge Of the Element.
73               is static;
74
75
76             NeighboursOf(me          : in out;
77                          theSelector : in SelectorOfDataStructureOfDelaun from BRepMesh) 
78                 ---Purpose: Adds a level of Neighbours by edge
79                 --          to the selector <theSelector>.
80                 is static;
81
82
83             AddNeighbours(me       : in out)
84               ---Purpose: Adds a level of Neighbours by edge
85               --          to the selector <me>.
86               is static;
87
88
89             Nodes       (me) 
90               ---C++: return const &
91               returns  MapOfInteger from BRepMesh is static;
92
93             Links       (me) 
94               ---C++: return const &
95               returns  MapOfInteger from BRepMesh is static;
96
97             Elements    (me) 
98               ---C++: return const &
99               returns  MapOfInteger from BRepMesh is static;
100
101             FrontierLinks(me) 
102               ---Purpose: Gives the  list  of links  incices
103               --          frontier  of  the  selector  <me>.
104               ---C++: return const &
105               returns  MapOfInteger from BRepMesh is static;
106
107
108               fields  myMesh      :DataStructureOfDelaun from BRepMesh;
109                       myNodes     : MapOfInteger from BRepMesh;
110                       myLinks     : MapOfInteger from BRepMesh;
111                       myElements  : MapOfInteger from BRepMesh;
112                       myFrontier  : MapOfInteger from BRepMesh;
113
114 end SelectorOfDataStructureOfDelaun;