Commit 160ee166 authored by Pierre Kraemer's avatar Pierre Kraemer
Browse files

debut codage uncutEdge

parent b9185bb7
...@@ -130,6 +130,11 @@ public: ...@@ -130,6 +130,11 @@ public:
*/ */
virtual void cutEdge(Dart d); 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 //! Collapse an edge (that is deleted) possibly merging its vertices
/*! If delDegenerateFaces is true, the method checks that no degenerate /*! If delDegenerateFaces is true, the method checks that no degenerate
* faces are built (faces with less than 3 edges). If it occurs the faces * faces are built (faces with less than 3 edges). If it occurs the faces
......
...@@ -88,6 +88,10 @@ void Map2::cutEdge(Dart d) ...@@ -88,6 +88,10 @@ void Map2::cutEdge(Dart d)
} }
} }
void Map2::uncutEdge(Dart d)
{
}
Dart Map2::collapseEdge(Dart d, bool delDegenerateFaces) Dart Map2::collapseEdge(Dart d, bool delDegenerateFaces)
{ {
Dart resV ; Dart resV ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment