Salome HOME
Dump with geometrical selection
[modules/shaper.git] / src / Model / Model_SelectionNaming.h
index ff49de7bc8b9e80357dbcbf57706bd513a480f79..d6ebc71372a1e4e20f5d181960f0f3005d608e1d 100644 (file)
@@ -83,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