From b3a7a7dc69c07ec15bd144b0dbd3a52f653e961f Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 29 Sep 2021 13:44:42 +0100 Subject: [PATCH] untabify --- .../test_deprecated_io_point_set.cpp | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/Point_set_processing_3/test/Point_set_processing_3/test_deprecated_io_point_set.cpp b/Point_set_processing_3/test/Point_set_processing_3/test_deprecated_io_point_set.cpp index 5383be04e5a..218f4f42b63 100644 --- a/Point_set_processing_3/test/Point_set_processing_3/test_deprecated_io_point_set.cpp +++ b/Point_set_processing_3/test/Point_set_processing_3/test_deprecated_io_point_set.cpp @@ -90,12 +90,12 @@ ps.push_back(Point_3(0,0,1)); { std::ofstream os("tmp1.las", std::ios::binary); ok = CGAL::write_las_points_with_properties(os, points, - CGAL::make_las_point_writer(CGAL::First_of_pair_property_map()), - std::make_pair(GetRedMap(),CGAL::LAS_property::R()), - std::make_pair(GetGreenMap(), CGAL::LAS_property::G()), - std::make_pair(GetBlueMap(), CGAL::LAS_property::B()), - std::make_pair(GetAlphaMap(), CGAL::LAS_property::I()) - ); + CGAL::make_las_point_writer(CGAL::First_of_pair_property_map()), + std::make_pair(GetRedMap(),CGAL::LAS_property::R()), + std::make_pair(GetGreenMap(), CGAL::LAS_property::G()), + std::make_pair(GetBlueMap(), CGAL::LAS_property::B()), + std::make_pair(GetAlphaMap(), CGAL::LAS_property::I()) + ); assert(ok); } @@ -104,13 +104,13 @@ ps.push_back(Point_3(0,0,1)); points.clear(); std::ifstream is("tmp1.las", std::ios::binary); ok = CGAL::read_las_points_with_properties(is, std::back_inserter (points), - CGAL::make_las_point_reader(CGAL::First_of_pair_property_map()), - std::make_tuple(CGAL::Second_of_pair_property_map(), - CGAL::Construct_array(), - CGAL::LAS_property::R(), - CGAL::LAS_property::G(), - CGAL::LAS_property::B(), - CGAL::LAS_property::I())); + CGAL::make_las_point_reader(CGAL::First_of_pair_property_map()), + std::make_tuple(CGAL::Second_of_pair_property_map(), + CGAL::Construct_array(), + CGAL::LAS_property::R(), + CGAL::LAS_property::G(), + CGAL::LAS_property::B(), + CGAL::LAS_property::I())); assert(ok); assert(points.size() == 3); assert(points[1].second[1] == 255); @@ -137,12 +137,12 @@ ps.push_back(Point_3(0,0,1)); std::ofstream os("tmp1.ply"); assert(os.good()); ok = CGAL::write_ply_points_with_properties(os, points, - CGAL::make_ply_point_writer (CGAL::First_of_pair_property_map()), - std::make_pair(GetRedMap(),CGAL::PLY_property("red")), - std::make_pair(GetGreenMap(), CGAL::PLY_property("green")), - std::make_pair(GetBlueMap(), CGAL::PLY_property("blue")), - std::make_pair(GetAlphaMap(), CGAL::PLY_property("alpha")) - ); + CGAL::make_ply_point_writer (CGAL::First_of_pair_property_map()), + std::make_pair(GetRedMap(),CGAL::PLY_property("red")), + std::make_pair(GetGreenMap(), CGAL::PLY_property("green")), + std::make_pair(GetBlueMap(), CGAL::PLY_property("blue")), + std::make_pair(GetAlphaMap(), CGAL::PLY_property("alpha")) + ); assert(! os.fail()); assert(ok); } @@ -152,13 +152,13 @@ ps.push_back(Point_3(0,0,1)); assert(is.good()); points.clear(); ok = CGAL::read_ply_points_with_properties(is, std::back_inserter (points), - CGAL::make_ply_point_reader(CGAL::First_of_pair_property_map()), - std::make_tuple(CGAL::Second_of_pair_property_map(), - CGAL::Construct_array(), - CGAL::PLY_property("red"), - CGAL::PLY_property("green"), - CGAL::PLY_property("blue"), - CGAL::PLY_property("alpha"))); + CGAL::make_ply_point_reader(CGAL::First_of_pair_property_map()), + std::make_tuple(CGAL::Second_of_pair_property_map(), + CGAL::Construct_array(), + CGAL::PLY_property("red"), + CGAL::PLY_property("green"), + CGAL::PLY_property("blue"), + CGAL::PLY_property("alpha"))); assert(! is.fail()); assert(ok); assert(points.size() == 3); @@ -178,7 +178,7 @@ ps.push_back(Point_3(0,0,1)); assert(is.good()); ps.clear(); ok = CGAL::read_ply_points(is, std::back_inserter (ps), - CGAL::parameters::all_default()); + CGAL::parameters::all_default()); assert(! is.fail()); assert(ok); assert(ps.size() == 3); @@ -198,7 +198,7 @@ ps.push_back(Point_3(0,0,1)); assert(is.good()); ps.clear(); ok = CGAL::read_off_points(is, std::back_inserter (ps), - CGAL::parameters::all_default()); + CGAL::parameters::all_default()); assert(! is.fail()); assert(ok); assert(ps.size() == 3); @@ -218,7 +218,7 @@ ps.push_back(Point_3(0,0,1)); assert(is.good()); ps.clear(); ok = CGAL::read_xyz_points(is, std::back_inserter (ps), - CGAL::parameters::all_default()); + CGAL::parameters::all_default()); assert(! is.fail()); assert(ok); assert(ps.size() == 3);