1 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
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.
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.
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.
18 class SelectorOfDataStructureOfDelaun from BRepMesh
20 ---Purpose: Describes a selector and an Iterator on a
21 -- selector of components of a Mesh.
23 uses Integer from Standard,
25 MapOfInteger from BRepMesh,
26 DataStructureOfDelaun from BRepMesh,
29 Triangle from BRepMesh
31 is Create returns SelectorOfDataStructureOfDelaun from BRepMesh;
33 Create (theMesh : DataStructureOfDelaun from BRepMesh)
34 returns SelectorOfDataStructureOfDelaun from BRepMesh;
36 Initialize (me : in out;
37 theMesh :DataStructureOfDelaun from BRepMesh)
41 NeighboursOf(me : in out;
42 theNode : in Vertex from BRepMesh)
45 NeighboursOfNode(me : in out;
46 indexNode : in Integer from Standard)
50 NeighboursOf(me : in out;
51 theLink : in Edge from BRepMesh)
54 NeighboursOfLink(me : in out;
55 indexLink : in Integer from Standard)
59 NeighboursOf(me : in out;
60 theElem : in Triangle from BRepMesh)
63 NeighboursOfElement(me : in out;
64 indexElem : in Integer from Standard)
65 ---Purpose: All Neighbours Of the Element. By
66 -- edge or by vertices.
70 NeighboursByEdgeOf (me : in out;
71 theElem : in Triangle from BRepMesh)
72 ---Purpose: Neighbours by edge Of the Element.
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>.
83 AddNeighbours(me : in out)
84 ---Purpose: Adds a level of Neighbours by edge
85 -- to the selector <me>.
90 ---C++: return const &
91 returns MapOfInteger from BRepMesh is static;
94 ---C++: return const &
95 returns MapOfInteger from BRepMesh is static;
98 ---C++: return const &
99 returns MapOfInteger from BRepMesh is static;
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;
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;
114 end SelectorOfDataStructureOfDelaun;