Fix _pmap -> _map

This commit is contained in:
Simon Giraudot 2017-12-22 14:50:50 +01:00
parent b260c95d3e
commit 8795421788
2 changed files with 4 additions and 4 deletions

View File

@ -196,7 +196,7 @@ int main(int argc, char * argv[])
!CGAL::read_xyz_points_and_normals( !CGAL::read_xyz_points_and_normals(
stream, stream,
std::back_inserter(points), std::back_inserter(points),
CGAL::make_normal_of_point_with_normal_pmap(PointList::value_type()))) CGAL::make_normal_of_point_with_normal_map(PointList::value_type())))
{ {
std::cerr << "Error: cannot read file " << input_filename << std::endl; std::cerr << "Error: cannot read file " << input_filename << std::endl;
return EXIT_FAILURE; return EXIT_FAILURE;
@ -252,7 +252,7 @@ int main(int argc, char * argv[])
Poisson_reconstruction_function function( Poisson_reconstruction_function function(
points.begin(), points.end(), points.begin(), points.end(),
CGAL::make_identity_property_map(PointList::value_type()), CGAL::make_identity_property_map(PointList::value_type()),
CGAL::make_normal_of_point_with_normal_pmap(PointList::value_type()), CGAL::make_normal_of_point_with_normal_map(PointList::value_type()),
visitor); visitor);
#ifdef CGAL_EIGEN3_ENABLED #ifdef CGAL_EIGEN3_ENABLED

View File

@ -47,7 +47,7 @@ int main(void)
!CGAL::read_xyz_points_and_normals( !CGAL::read_xyz_points_and_normals(
stream, stream,
std::back_inserter(points), std::back_inserter(points),
CGAL::make_normal_of_point_with_normal_pmap(PointList::value_type()))) CGAL::make_normal_of_point_with_normal_map(PointList::value_type())))
{ {
std::cerr << "Error: cannot read file data/kitten.xyz" << std::endl; std::cerr << "Error: cannot read file data/kitten.xyz" << std::endl;
return EXIT_FAILURE; return EXIT_FAILURE;
@ -59,7 +59,7 @@ int main(void)
// + property maps to access each point's position and normal. // + property maps to access each point's position and normal.
// The position property map can be omitted here as we use iterators over Point_3 elements. // The position property map can be omitted here as we use iterators over Point_3 elements.
Poisson_reconstruction_function function(points.begin(), points.end(), Poisson_reconstruction_function function(points.begin(), points.end(),
CGAL::make_normal_of_point_with_normal_pmap(PointList::value_type()) ); CGAL::make_normal_of_point_with_normal_map(PointList::value_type()) );
// Computes the Poisson indicator function f() // Computes the Poisson indicator function f()
// at each vertex of the triangulation. // at each vertex of the triangulation.