mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
PAL7451. Add FindFaceInSet()
This commit is contained in:
parent
87c6240def
commit
a35771f3a5
@ -228,6 +228,15 @@ class SMESH_MeshEditor {
|
|||||||
SMESHDS_Mesh * aMesh);
|
SMESHDS_Mesh * aMesh);
|
||||||
// Add elemToAdd to the groups the elemInGroups belongs to
|
// Add elemToAdd to the groups the elemInGroups belongs to
|
||||||
|
|
||||||
|
static const SMDS_MeshElement*
|
||||||
|
FindFaceInSet(const SMDS_MeshNode* n1,
|
||||||
|
const SMDS_MeshNode* n2,
|
||||||
|
const std::set<const SMDS_MeshElement*>& elemSet,
|
||||||
|
const std::set<const SMDS_MeshElement*>& avoidSet);
|
||||||
|
// Return a face having linked nodes n1 and n2 and which is
|
||||||
|
// - not in avoidSet,
|
||||||
|
// - in elemSet provided that !elemSet.empty()
|
||||||
|
|
||||||
int FindShape (const SMDS_MeshElement * theElem);
|
int FindShape (const SMDS_MeshElement * theElem);
|
||||||
// Return an index of the shape theElem is on
|
// Return an index of the shape theElem is on
|
||||||
// or zero if a shape not found
|
// or zero if a shape not found
|
||||||
|
Loading…
Reference in New Issue
Block a user