Salome HOME
Issue #2628 : crash on move history line outside of folder. Correct management of...
[modules/shaper.git] / src / Model / Model_SelectionNaming.h
index 5980cfd6e824a4cf9f3e940d7864c8016fe06818..d6ebc71372a1e4e20f5d181960f0f3005d608e1d 100644 (file)
@@ -14,7 +14,8 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
 //
 
 #ifndef Model_SelectionNaming_H_
@@ -82,6 +83,10 @@ protected:
   /// Gets the stored name from the document
   std::string getShapeName(std::shared_ptr<Model_Document> theDoc, const TopoDS_Shape& theShape,
     ResultPtr& theContext, const bool theAnotherDoc, const bool theWholeContext);
+
+  /// Tries to find the name of the context sub-shape as combination of edges in context
+  std::string vertexNameByEdges(TopoDS_Shape theContext, TopoDS_Shape theSub,
+    std::shared_ptr<Model_Document> theDoc, ResultPtr& theContextRes, const bool theAnotherDoc);
 };
 
 #endif