Bugfix in wrapper for regularization

This commit is contained in:
Simon Giraudot 2015-11-02 11:36:10 +01:00
parent f6b49d3cae
commit 455e341731
1 changed files with 3 additions and 3 deletions

View File

@ -126,7 +126,7 @@ namespace CGAL {
extracted_planes.push_back (static_cast<Plane> (*(m_planes[i]))); extracted_planes.push_back (static_cast<Plane> (*(m_planes[i])));
plane_point_index.push_back (std::vector<int>()); plane_point_index.push_back (std::vector<int>());
std::copy (m_planes[i]->indices_of_assigned_points().begin (), std::copy (m_planes[i]->indices_of_assigned_points().begin (),
m_planes[i]->indices_of_assigned_points().begin (), m_planes[i]->indices_of_assigned_points().end (),
std::back_inserter (plane_point_index.back ())); std::back_inserter (plane_point_index.back ()));
std::vector < Point > listp; std::vector < Point > listp;
@ -343,7 +343,7 @@ namespace CGAL {
for (std::size_t i=0; i<group_planes_orthogonal.size();i++) for (std::size_t i=0; i<group_planes_orthogonal.size();i++)
{ {
std::cout<<std::endl<<i<<" -> "; std::cout<<std::endl<<i<<" -> ";
for (std::size_t j=0;j<group_planes_orthogonal.size();j++) for (std::size_t j=0;j<group_planes_orthogonal[i].size();j++)
{ {
if(group_planes_orthogonal[i][j]) if(group_planes_orthogonal[i][j])
std::cout<<j<<" "; std::cout<<j<<" ";