mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-12 22:27:56 +08:00
115 lines
4.3 KiB
Plaintext
Executable File
115 lines
4.3 KiB
Plaintext
Executable File
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
--
|
|
-- The content of this file is subject to the Open CASCADE Technology Public
|
|
-- License Version 6.5 (the "License"). You may not use the content of this file
|
|
-- except in compliance with the License. Please obtain a copy of the License
|
|
-- at http://www.opencascade.org and read it completely before using this file.
|
|
--
|
|
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
--
|
|
-- The Original Code and all software distributed under the License is
|
|
-- distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
-- Initial Developer hereby disclaims all such warranties, including without
|
|
-- limitation, any warranties of merchantability, fitness for a particular
|
|
-- purpose or non-infringement. Please see the License for the specific terms
|
|
-- and conditions governing the rights and limitations under the License.
|
|
|
|
class SelectorOfDataStructureOfDelaun from BRepMesh
|
|
|
|
---Purpose: Describes a selector and an Iterator on a
|
|
-- selector of components of a Mesh.
|
|
|
|
uses Integer from Standard,
|
|
Box from Bnd,
|
|
MapOfInteger from BRepMesh,
|
|
DataStructureOfDelaun from BRepMesh,
|
|
Vertex from BRepMesh,
|
|
Edge from BRepMesh,
|
|
Triangle from BRepMesh
|
|
|
|
is Create returns SelectorOfDataStructureOfDelaun from BRepMesh;
|
|
|
|
Create (theMesh : DataStructureOfDelaun from BRepMesh)
|
|
returns SelectorOfDataStructureOfDelaun from BRepMesh;
|
|
|
|
Initialize (me : in out;
|
|
theMesh :DataStructureOfDelaun from BRepMesh)
|
|
is static;
|
|
|
|
|
|
NeighboursOf(me : in out;
|
|
theNode : in Vertex from BRepMesh)
|
|
is static;
|
|
|
|
NeighboursOfNode(me : in out;
|
|
indexNode : in Integer from Standard)
|
|
is static;
|
|
|
|
|
|
NeighboursOf(me : in out;
|
|
theLink : in Edge from BRepMesh)
|
|
is static;
|
|
|
|
NeighboursOfLink(me : in out;
|
|
indexLink : in Integer from Standard)
|
|
is static;
|
|
|
|
|
|
NeighboursOf(me : in out;
|
|
theElem : in Triangle from BRepMesh)
|
|
is static;
|
|
|
|
NeighboursOfElement(me : in out;
|
|
indexElem : in Integer from Standard)
|
|
---Purpose: All Neighbours Of the Element. By
|
|
-- edge or by vertices.
|
|
is static;
|
|
|
|
|
|
NeighboursByEdgeOf (me : in out;
|
|
theElem : in Triangle from BRepMesh)
|
|
---Purpose: Neighbours by edge Of the Element.
|
|
is static;
|
|
|
|
|
|
NeighboursOf(me : in out;
|
|
theSelector : in SelectorOfDataStructureOfDelaun from BRepMesh)
|
|
---Purpose: Adds a level of Neighbours by edge
|
|
-- to the selector <theSelector>.
|
|
is static;
|
|
|
|
|
|
AddNeighbours(me : in out)
|
|
---Purpose: Adds a level of Neighbours by edge
|
|
-- to the selector <me>.
|
|
is static;
|
|
|
|
|
|
Nodes (me)
|
|
---C++: return const &
|
|
returns MapOfInteger from BRepMesh is static;
|
|
|
|
Links (me)
|
|
---C++: return const &
|
|
returns MapOfInteger from BRepMesh is static;
|
|
|
|
Elements (me)
|
|
---C++: return const &
|
|
returns MapOfInteger from BRepMesh is static;
|
|
|
|
FrontierLinks(me)
|
|
---Purpose: Gives the list of links incices
|
|
-- frontier of the selector <me>.
|
|
---C++: return const &
|
|
returns MapOfInteger from BRepMesh is static;
|
|
|
|
|
|
fields myMesh :DataStructureOfDelaun from BRepMesh;
|
|
myNodes : MapOfInteger from BRepMesh;
|
|
myLinks : MapOfInteger from BRepMesh;
|
|
myElements : MapOfInteger from BRepMesh;
|
|
myFrontier : MapOfInteger from BRepMesh;
|
|
|
|
end SelectorOfDataStructureOfDelaun;
|