X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_Tools.h;h=e3579c9f56b5958559ce8d88e132381a1d696284;hb=12cf6439688fa2d21b1e9477f11edfc3a1124a89;hp=ec1afea13b22676a35d00deb9663952e7ff69751;hpb=3874b57fe5aba25ff5aee2a07654fc23c1ee8eb0;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_Tools.h b/src/PartSet/PartSet_Tools.h index ec1afea13..e3579c9f5 100644 --- a/src/PartSet/PartSet_Tools.h +++ b/src/PartSet/PartSet_Tools.h @@ -30,6 +30,7 @@ class GeomAPI_Pln; class GeomAPI_Pnt2d; class GeomAPI_Pnt; class GeomAPI_Edge; +class GeomAPI_Vertex; /*! \class PartSet_Tools @@ -160,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