mirror of https://github.com/CGAL/cgal
remove the debug output. The bug was in edge_flip for OM
This commit is contained in:
parent
dceb558e4f
commit
f6b518c693
|
|
@ -149,47 +149,9 @@ private:
|
|||
//do not just use std::set (included_map) for iteration, the order effects the output (we like to make it deterministic)
|
||||
BOOST_FOREACH(halfedge_descriptor h, interior_edges)
|
||||
{
|
||||
std::cout << "." << h << std::endl;
|
||||
{
|
||||
vertex_descriptor v0 = target(h, pmesh);
|
||||
typename boost::graph_traits<PolygonMesh>::in_edge_iterator e, e_end;
|
||||
for (boost::tie(e, e_end) = in_edges(v0, pmesh); e != e_end; e++)
|
||||
{
|
||||
halfedge_descriptor he = halfedge(*e, pmesh);
|
||||
if (is_border(he, pmesh)) { continue; }
|
||||
|
||||
CGAL_assertion(v0 == target(he, pmesh) || v0 == source(he, pmesh));
|
||||
}
|
||||
}
|
||||
|
||||
if (relax(h)) {
|
||||
++flips;
|
||||
}
|
||||
|
||||
{
|
||||
vertex_descriptor v0 = target(h, pmesh);
|
||||
typename boost::graph_traits<PolygonMesh>::in_edge_iterator e, e_end;
|
||||
for (boost::tie(e, e_end) = in_edges(v0, pmesh); e != e_end; e++)
|
||||
{
|
||||
halfedge_descriptor he = halfedge(*e, pmesh);
|
||||
if (is_border(he, pmesh)) { continue; }
|
||||
|
||||
CGAL_assertion(v0 == target(he, pmesh) || v0 == source(he, pmesh));
|
||||
}
|
||||
}
|
||||
{
|
||||
vertex_descriptor v0 = source(h, pmesh);
|
||||
typename boost::graph_traits<PolygonMesh>::in_edge_iterator e, e_end;
|
||||
for (boost::tie(e, e_end) = in_edges(v0, pmesh); e != e_end; e++)
|
||||
{
|
||||
halfedge_descriptor he = halfedge(*e, pmesh);
|
||||
if (is_border(he, pmesh)) { continue; }
|
||||
|
||||
CGAL_assertion(v0 == target(he, pmesh) || v0 == source(he, pmesh));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
CGAL_TRACE_STREAM << "|flips| = " << flips << std::endl;
|
||||
|
|
|
|||
Loading…
Reference in New Issue