Commit 163dc375 authored by Sylvain Thery's avatar Sylvain Thery

remove unnecessary forboundary parameter

parent ccbffacd
...@@ -94,7 +94,7 @@ public: ...@@ -94,7 +94,7 @@ public:
/** /**
* No attribute is attached to the new volume * No attribute is attached to the new volume
*/ */
virtual unsigned int closeHole(Dart d, bool forboundary = true); virtual unsigned int closeHole(Dart d);
/*! /*!
* *
......
...@@ -413,7 +413,7 @@ public: ...@@ -413,7 +413,7 @@ public:
* @param forboundary tag the created face as boundary (default is true) * @param forboundary tag the created face as boundary (default is true)
* @return the degree of the created volume * @return the degree of the created volume
*/ */
virtual unsigned int closeHole(Dart d, bool forboundary = true); virtual unsigned int closeHole(Dart d);
//! Close the map removing topological holes: DO NOT USE, only for import/creation algorithm //! Close the map removing topological holes: DO NOT USE, only for import/creation algorithm
/*! Add volumes to the map that close every existing hole. /*! Add volumes to the map that close every existing hole.
......
...@@ -1204,7 +1204,7 @@ Dart GMap3<MAP_IMPL>::newBoundaryCycle(unsigned int nbE) ...@@ -1204,7 +1204,7 @@ Dart GMap3<MAP_IMPL>::newBoundaryCycle(unsigned int nbE)
} }
template <typename MAP_IMPL> template <typename MAP_IMPL>
unsigned int GMap3<MAP_IMPL>::closeHole(Dart d, bool forboundary) unsigned int GMap3<MAP_IMPL>::closeHole(Dart d)
{ {
assert(beta3(d) == d); // Nothing to close assert(beta3(d) == d); // Nothing to close
DartMarkerStore<GMap3<MAP_IMPL> > m(*this) ; DartMarkerStore<GMap3<MAP_IMPL> > m(*this) ;
......
...@@ -134,7 +134,7 @@ public: ...@@ -134,7 +134,7 @@ public:
//! //!
/*! No attribute is attached to the new volume /*! No attribute is attached to the new volume
*/ */
virtual unsigned int closeHole(Dart d, bool forboundary = true); virtual unsigned int closeHole(Dart d);
//! //!
/*! /*!
......
...@@ -483,7 +483,7 @@ public: ...@@ -483,7 +483,7 @@ public:
* @param forboundary tag the created face as boundary (default is true) * @param forboundary tag the created face as boundary (default is true)
* @return the degree of the created volume * @return the degree of the created volume
*/ */
virtual unsigned int closeHole(Dart d, bool forboundary = true); virtual unsigned int closeHole(Dart d);
//! Close the map removing topological holes: DO NOT USE, only for import/creation algorithm //! Close the map removing topological holes: DO NOT USE, only for import/creation algorithm
/*! Add volumes to the map that close every existing hole. /*! Add volumes to the map that close every existing hole.
......
...@@ -1334,7 +1334,7 @@ Dart Map3<MAP_IMPL>::newBoundaryCycle(unsigned int nbE) ...@@ -1334,7 +1334,7 @@ Dart Map3<MAP_IMPL>::newBoundaryCycle(unsigned int nbE)
} }
template <typename MAP_IMPL> template <typename MAP_IMPL>
unsigned int Map3<MAP_IMPL>::closeHole(Dart d, bool forboundary) unsigned int Map3<MAP_IMPL>::closeHole(Dart d)
{ {
assert(phi3(d) == d); // Nothing to close assert(phi3(d) == d); // Nothing to close
DartMarkerStore< Map3<MAP_IMPL> > m(*this) ; DartMarkerStore< Map3<MAP_IMPL> > m(*this) ;
......
...@@ -516,7 +516,7 @@ bool EmbeddedGMap2::mergeVolumes(Dart d, Dart e) ...@@ -516,7 +516,7 @@ bool EmbeddedGMap2::mergeVolumes(Dart d, Dart e)
unsigned int EmbeddedGMap2::closeHole(Dart d, bool forboundary) unsigned int EmbeddedGMap2::closeHole(Dart d, bool forboundary)
{ {
unsigned int nbE = GMap2::closeHole(d) ; unsigned int nbE = GMap2::closeHole(d, forboundary) ;
Dart dd = phi2(d) ; Dart dd = phi2(d) ;
Dart it = dd ; Dart it = dd ;
do do
......
...@@ -354,9 +354,9 @@ void EmbeddedGMap3::splitVolume(std::vector<Dart>& vd) ...@@ -354,9 +354,9 @@ void EmbeddedGMap3::splitVolume(std::vector<Dart>& vd)
} }
} }
unsigned int EmbeddedGMap3::closeHole(Dart d, bool forboundary) unsigned int EmbeddedGMap3::closeHole(Dart d)
{ {
unsigned int nbF = GMap3::closeHole(d, forboundary) ; unsigned int nbF = GMap3::closeHole(d) ;
DartMarkerStore<EmbeddedGMap3> mark(*this); // Lock a marker DartMarkerStore<EmbeddedGMap3> mark(*this); // Lock a marker
......
...@@ -556,9 +556,9 @@ Dart EmbeddedMap3::collapseVolume(Dart d, bool delDegenerateVolumes) ...@@ -556,9 +556,9 @@ Dart EmbeddedMap3::collapseVolume(Dart d, bool delDegenerateVolumes)
return resV; return resV;
} }
unsigned int EmbeddedMap3::closeHole(Dart d, bool forboundary) unsigned int EmbeddedMap3::closeHole(Dart d)
{ {
unsigned int nbF = Map3::closeHole(d, forboundary) ; unsigned int nbF = Map3::closeHole(d) ;
DartMarkerStore<EmbeddedMap3> mark(*this); // Lock a marker DartMarkerStore<EmbeddedMap3> mark(*this); // Lock a marker
......
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