diff --git a/Kinetic_shape_reconstruction/examples/Kinetic_shape_reconstruction/kinetic_random_shapes_example.cpp b/Kinetic_shape_reconstruction/examples/Kinetic_shape_reconstruction/kinetic_random_shapes_example.cpp index a4f5652b2de..8fc1b9e8359 100644 --- a/Kinetic_shape_reconstruction/examples/Kinetic_shape_reconstruction/kinetic_random_shapes_example.cpp +++ b/Kinetic_shape_reconstruction/examples/Kinetic_shape_reconstruction/kinetic_random_shapes_example.cpp @@ -340,7 +340,7 @@ void create_random_polygons( // std::cout << "OFF" << std::endl; // std::cout << "4 1 0" << std::endl; // for (auto it_p = k_poly.vertices_begin(); it_p != k_poly.vertices_end(); ++it_p) { - // std::cout << *it_p << " 0" << std::endl; + // std::cout << *it_p << " 0" << std::endl; // } // std::cout << "4 0 1 2 3" << std::endl; diff --git a/Kinetic_shape_reconstruction/include/CGAL/KSR/debug.h b/Kinetic_shape_reconstruction/include/CGAL/KSR/debug.h index ed642f99ed4..db5cd7c2919 100644 --- a/Kinetic_shape_reconstruction/include/CGAL/KSR/debug.h +++ b/Kinetic_shape_reconstruction/include/CGAL/KSR/debug.h @@ -540,16 +540,16 @@ private: const std::size_t size) const { stream << - "ply" + std::string(_NL_) + "" << - "format ascii 1.0" + std::string(_NL_) + "" << + "ply" + std::string(_NL_) + "" << + "format ascii 1.0" + std::string(_NL_) + "" << "element vertex " << size << "" + std::string(_NL_) + "" << - "property double x" + std::string(_NL_) + "" << - "property double y" + std::string(_NL_) + "" << - "property double z" + std::string(_NL_) + "" << - "property uchar red" + std::string(_NL_) + "" << - "property uchar green" + std::string(_NL_) + "" << - "property uchar blue" + std::string(_NL_) + "" << - "property uchar alpha" + std::string(_NL_) + "" << + "property double x" + std::string(_NL_) + "" << + "property double y" + std::string(_NL_) + "" << + "property double z" + std::string(_NL_) + "" << + "property uchar red" + std::string(_NL_) + "" << + "property uchar green" + std::string(_NL_) + "" << + "property uchar blue" + std::string(_NL_) + "" << + "property uchar alpha" + std::string(_NL_) + "" << "end_header" + std::string(_NL_) + ""; } @@ -558,15 +558,15 @@ private: const std::size_t size) const { stream << - "ply" + std::string(_NL_) + "" << - "format ascii 1.0" + std::string(_NL_) + "" << + "ply" + std::string(_NL_) + "" << + "format ascii 1.0" + std::string(_NL_) + "" << "element vertex " << size << "" + std::string(_NL_) + "" << - "property double x" + std::string(_NL_) + "" << - "property double y" + std::string(_NL_) + "" << - "property double z" + std::string(_NL_) + "" << - "property double nx" + std::string(_NL_) + "" << - "property double ny" + std::string(_NL_) + "" << - "property double nz" + std::string(_NL_) + "" << + "property double x" + std::string(_NL_) + "" << + "property double y" + std::string(_NL_) + "" << + "property double z" + std::string(_NL_) + "" << + "property double nx" + std::string(_NL_) + "" << + "property double ny" + std::string(_NL_) + "" << + "property double nz" + std::string(_NL_) + "" << "end_header" + std::string(_NL_) + ""; } @@ -576,18 +576,18 @@ private: const std::size_t num_faces) const { stream << - "ply" + std::string(_NL_) + "" << - "format ascii 1.0" + std::string(_NL_) + "" << + "ply" + std::string(_NL_) + "" << + "format ascii 1.0" + std::string(_NL_) + "" << "element vertex " << num_vertices << "" + std::string(_NL_) + "" << - "property double x" + std::string(_NL_) + "" << - "property double y" + std::string(_NL_) + "" << - "property double z" + std::string(_NL_) + "" << + "property double x" + std::string(_NL_) + "" << + "property double y" + std::string(_NL_) + "" << + "property double z" + std::string(_NL_) + "" << "element face " << num_faces << "" + std::string(_NL_) + "" << "property list uchar int vertex_indices" + std::string(_NL_) + "" << - "property uchar red" + std::string(_NL_) + "" << - "property uchar green" + std::string(_NL_) + "" << - "property uchar blue" + std::string(_NL_) + "" << - "property uchar alpha" + std::string(_NL_) + "" << + "property uchar red" + std::string(_NL_) + "" << + "property uchar green" + std::string(_NL_) + "" << + "property uchar blue" + std::string(_NL_) + "" << + "property uchar alpha" + std::string(_NL_) + "" << "end_header" + std::string(_NL_) + ""; } }; diff --git a/Kinetic_shape_reconstruction/include/CGAL/KSR_3/Graphcut.h b/Kinetic_shape_reconstruction/include/CGAL/KSR_3/Graphcut.h index ef3fa14b8b5..24a7da506d1 100644 --- a/Kinetic_shape_reconstruction/include/CGAL/KSR_3/Graphcut.h +++ b/Kinetic_shape_reconstruction/include/CGAL/KSR_3/Graphcut.h @@ -40,14 +40,14 @@ namespace KSR_3 { public: using Kernel = GeomTraits; - using FT = typename Kernel::FT; - using Point_3 = typename Kernel::Point_3; + using FT = typename Kernel::FT; + using Point_3 = typename Kernel::Point_3; using Triangle_2 = typename Kernel::Triangle_2; - using Indices = std::vector; + using Indices = std::vector; using Data_structure = KSR_3::Data_structure; using Volume_cell = typename Data_structure::Volume_cell; - using PFace = typename Data_structure::PFace; + using PFace = typename Data_structure::PFace; using Visibility_label = KSR::Visibility_label; @@ -217,7 +217,7 @@ namespace KSR_3 { const double compute_edge_cost(const FT edge_weight) const { - CGAL_assertion(m_beta >= FT(0) && m_beta <= FT(1)); + CGAL_assertion(m_beta >= FT(0) && m_beta <= FT(1)); CGAL_assertion(edge_weight >= FT(0) && edge_weight <= FT(1)); return CGAL::to_double(m_beta * edge_weight); }