and missing include

and fix the use of namespaces
This commit is contained in:
Jane Tournois 2017-04-21 14:59:07 +02:00 committed by Sébastien Loriot
parent 49818d56ce
commit 766ff220b6
1 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@
#include <algorithm> #include <algorithm>
#include <CGAL/Polygon_mesh_processing/compute_normal.h>
#include <CGAL/Polygon_mesh_processing/internal/named_function_params.h> #include <CGAL/Polygon_mesh_processing/internal/named_function_params.h>
#include <CGAL/Polygon_mesh_processing/internal/named_params_helper.h> #include <CGAL/Polygon_mesh_processing/internal/named_params_helper.h>
#include <CGAL/boost/graph/helpers.h> #include <CGAL/boost/graph/helpers.h>
@ -65,8 +66,8 @@ namespace internal{
const PM& pmesh, const PM& pmesh,
const NamedParameters& np) const NamedParameters& np)
{ {
const typename Kernel::Vector_3& const typename Kernel::Vector_3& normal_v_min
normal_v_min = compute_vertex_normal(vd, pmesh, np); = CGAL::Polygon_mesh_processing::compute_vertex_normal(vd, pmesh, np);
return normal_v_min[0] < 0 || ( return normal_v_min[0] < 0 || (
normal_v_min[0] == 0 && ( normal_v_min[0] == 0 && (