Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated copyright message
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_WireExplorer.h
diff --git
a/src/GeomAPI/GeomAPI_WireExplorer.h
b/src/GeomAPI/GeomAPI_WireExplorer.h
index 4328582996ec4e4f96cc550cb74aa6a344389bd6..df7bc8f680bd0d7e7d6dfe0501938d436aeaa4de 100644
(file)
--- a/
src/GeomAPI/GeomAPI_WireExplorer.h
+++ b/
src/GeomAPI/GeomAPI_WireExplorer.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
19 CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
23 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// 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 <GeomAPI.h>
#include <GeomAPI_Interface.h>
#include <GeomAPI.h>
#include <GeomAPI_Interface.h>
+class GeomAPI_Edge;
class GeomAPI_Shape;
class GeomAPI_Shape;
+class GeomAPI_Vertex;
class GeomAPI_Wire;
/** \class GeomAPI_WireExplorer
class GeomAPI_Wire;
/** \class GeomAPI_WireExplorer
@@
-53,9
+55,13
@@
public:
/// if there are no more shapes to explore.
GEOMAPI_EXPORT void next();
/// if there are no more shapes to explore.
GEOMAPI_EXPORT void next();
- /// \return the current
shap
e in the exploration or empty pointer
+ /// \return the current
edg
e in the exploration or empty pointer
/// if this explorer has no more shapes to explore.
/// if this explorer has no more shapes to explore.
- GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Shape> current();
+ GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Edge> 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<GeomAPI_Vertex> currentVertex();
/// Clears the content of the explorer. It will return False on more().
GEOMAPI_EXPORT void clear();
/// Clears the content of the explorer. It will return False on more().
GEOMAPI_EXPORT void clear();