X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_WireExplorer.h;h=df7bc8f680bd0d7e7d6dfe0501938d436aeaa4de;hb=refs%2Fheads%2FV9_11_BR;hp=4328582996ec4e4f96cc550cb74aa6a344389bd6;hpb=f3ad05e50c4a462c08c31990706c8cc6acc646ac;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_WireExplorer.h b/src/GeomAPI/GeomAPI_WireExplorer.h index 432858299..df7bc8f68 100644 --- a/src/GeomAPI/GeomAPI_WireExplorer.h +++ b/src/GeomAPI/GeomAPI_WireExplorer.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -23,7 +23,9 @@ #include #include +class GeomAPI_Edge; class GeomAPI_Shape; +class GeomAPI_Vertex; class GeomAPI_Wire; /** \class GeomAPI_WireExplorer @@ -53,9 +55,13 @@ public: /// if there are no more shapes to explore. GEOMAPI_EXPORT void next(); - /// \return the current shape in the exploration or empty pointer + /// \return the current edge in the exploration or empty pointer /// if this explorer has no more shapes to explore. - GEOMAPI_EXPORT std::shared_ptr current(); + GEOMAPI_EXPORT std::shared_ptr current(); + + /// \return the current vertex in the exploration or empty pointer + /// if this explorer has no more shapes to explore. + GEOMAPI_EXPORT std::shared_ptr currentVertex(); /// Clears the content of the explorer. It will return False on more(). GEOMAPI_EXPORT void clear();