From a35771f3a5b9bc757d1bfcac348d2010716221ee Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 12 Jan 2005 06:47:54 +0000 Subject: [PATCH] PAL7451. Add FindFaceInSet() --- src/SMESH/SMESH_MeshEditor.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/SMESH/SMESH_MeshEditor.hxx b/src/SMESH/SMESH_MeshEditor.hxx index 98d95df76..0104b6257 100644 --- a/src/SMESH/SMESH_MeshEditor.hxx +++ b/src/SMESH/SMESH_MeshEditor.hxx @@ -228,6 +228,15 @@ class SMESH_MeshEditor { SMESHDS_Mesh * aMesh); // 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& elemSet, + const std::set& 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); // Return an index of the shape theElem is on // or zero if a shape not found -- 2.39.2