Skip to content

Commit

Permalink
fix test and demo
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Apr 11, 2021
1 parent 7379d58 commit 11ad204
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ namespace internal {
typedef typename Boost_bimap::value_type long_edge;

#ifdef CGAL_PMP_REMESHING_VERBOSE
std::cout << "Split long edges (" << high << ")..." << std::endl;
std::cout << "Split long edges..." << std::endl;
#endif
//collect long edges
Boost_bimap long_edges;
Expand Down Expand Up @@ -618,7 +618,7 @@ namespace internal {
typedef typename Boost_bimap::value_type short_edge;

#ifdef CGAL_PMP_REMESHING_VERBOSE
std::cout << "Collapse short edges (" << low << ", " << high << ")..."
std::cout << "Collapse short edges..."
<< std::endl;
#endif
#ifdef CGAL_PMP_REMESHING_VERBOSE_PROGRESS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,7 @@ void isotropic_remeshing(const FaceRange& faces

#ifdef CGAL_PMP_REMESHING_VERBOSE
std::cout << std::endl;
std::cout << "Remeshing (size = " << target_edge_length;
std::cout << ", #iter = " << nb_iterations << ")..." << std::endl;
std::cout << "Remeshing (#iter = " << nb_iterations << ")..." << std::endl;
t.reset(); t.start();
#endif

Expand All @@ -331,8 +330,7 @@ void isotropic_remeshing(const FaceRange& faces

#ifdef CGAL_PMP_REMESHING_VERBOSE
t.stop();
std::cout << "Remeshing done (size = " << target_edge_length;
std::cout << ", #iter = " << nb_iterations;
std::cout << "Remeshing done (#iter = " << nb_iterations;
std::cout << ", " << t.time() << " sec )." << std::endl;
#endif
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public Q_SLOTS:
selection_item->constrained_edges_pmap(),
get(CGAL::vertex_point, *selection_item->polyhedron()),
CGAL::Constant_property_map<face_descriptor, std::size_t>(1),
4. / 3. * target_length))
CGAL::Uniform_sizing_field<FaceGraph>(target_length, pmesh)))
{
QApplication::restoreOverrideCursor();
//If facets are selected, splitting edges will add facets that won't be selected, and it will mess up the rest.
Expand Down Expand Up @@ -607,7 +607,7 @@ public Q_SLOTS:
ecm,
get(CGAL::vertex_point, pmesh),
CGAL::Constant_property_map<face_descriptor, std::size_t>(1),
4. / 3. * target_length))
CGAL::Uniform_sizing_field<FaceGraph>(target_length, pmesh)))
{
QApplication::restoreOverrideCursor();
QMessageBox::warning(mw, tr("Error"),
Expand Down

0 comments on commit 11ad204

Please sign in to comment.