X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_Tools.h;h=e3579c9f56b5958559ce8d88e132381a1d696284;hb=12cf6439688fa2d21b1e9477f11edfc3a1124a89;hp=bceef165aa4b03801364da28ca8b65b94349fdea;hpb=8d5a36c1da99b17a0a9f85954fe1a5419528ec79;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_Tools.h b/src/PartSet/PartSet_Tools.h index bceef165a..e3579c9f5 100644 --- a/src/PartSet/PartSet_Tools.h +++ b/src/PartSet/PartSet_Tools.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: PartSet_Tools.h // Created: 28 Apr 2014 // Author: Natalia ERMOLAEVA @@ -28,6 +30,7 @@ class GeomAPI_Pln; class GeomAPI_Pnt2d; class GeomAPI_Pnt; class GeomAPI_Edge; +class GeomAPI_Vertex; /*! \class PartSet_Tools @@ -158,6 +161,12 @@ class PARTSET_EXPORT PartSet_Tools /// \return result object with external edge if it is found static ResultPtr findExternalEdge(CompositeFeaturePtr theSketch, std::shared_ptr theEdge); + /// Returns Result object if the given sketch contains external vertex equal to the given + /// \param theSketch - the sketch feature + /// \param theVert - the vertex + /// \return result object with external vertex if it is found + static ResultPtr findExternalVertex(CompositeFeaturePtr theSketch, std::shared_ptr theVert); + /// Returns whether the selected presentation has a shape with the vertex type /// \param thePrs a selected presentation /// \param theSketch the sketch feature