diff --git a/include/Topology/map/map2.h b/include/Topology/map/map2.h index 248a966b07880b13d7083a49f92f350b9f819671..6260b2d1a575e49f71d4f42be07de00b950cf180 100644 --- a/include/Topology/map/map2.h +++ b/include/Topology/map/map2.h @@ -130,6 +130,11 @@ public: */ virtual void cutEdge(Dart d); + //! Undo the cut of the edge of d and its opposite edge if it exists + /*! @param d a dart of the edge to uncut + */ + virtual void uncutEdge(Dart d); + //! Collapse an edge (that is deleted) possibly merging its vertices /*! If delDegenerateFaces is true, the method checks that no degenerate * faces are built (faces with less than 3 edges). If it occurs the faces diff --git a/src/Topology/map/map2.cpp b/src/Topology/map/map2.cpp index 0006023037a9968c947889cdf431bddc777b554a..5dc8ff164dec615a8e14bc83ddcade4d8a450cc7 100644 --- a/src/Topology/map/map2.cpp +++ b/src/Topology/map/map2.cpp @@ -88,6 +88,10 @@ void Map2::cutEdge(Dart d) } } +void Map2::uncutEdge(Dart d) +{ +} + Dart Map2::collapseEdge(Dart d, bool delDegenerateFaces) { Dart resV ;