Skip to content

Commit

Permalink
skip the wrapper layer in the function
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Oct 24, 2016
1 parent c918b8f commit b787dcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -67,7 +67,7 @@ void advancing_front_surface_reconstruction(Wrapper_iterator_helper<Point_3>::in
double radius_ratio_bound = 5,
double beta = 0.52)
{
afsr_reconstruction_poly<EPIC_Kernel>(points.first, points.second, P, radius_ratio_bound, beta);
afsr_reconstruction_poly<EPIC_Kernel>(points.first, points.second, P.get_data(), radius_ratio_bound, beta);
}
%}

Expand Down
6 changes: 3 additions & 3 deletions SWIG_CGAL/Advancing_front_surface_reconstruction/impl.h
Expand Up @@ -184,12 +184,12 @@ void afsr_reconstruction(PointIterator point_begin, PointIterator point_end,
afsr_write_indices(out, sr);
}

template <class Kernel, class PointIterator, class Polyhedron_wrapper>
template <class Kernel, class PointIterator, class Polyhedron>
void afsr_reconstruction_poly(PointIterator point_begin, PointIterator point_end,
Polyhedron_wrapper& out,
Polyhedron& out,
double radius_ratio_bound, double beta)
{
Construct_face_graph<typename Polyhedron_wrapper::cpp_base> cfg(out.get_data(), point_begin, point_end);
Construct_face_graph<Polyhedron> cfg(out, point_begin, point_end);
CGAL::advancing_front_surface_reconstruction(cfg.points_begin(), cfg.points_end(), cfg, radius_ratio_bound, beta);
}

Expand Down

0 comments on commit b787dcc

Please sign in to comment.