From 340623febdd16622aaaec2f65a36ed6aedcb415d Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Wed, 18 Mar 2020 16:30:25 +0100 Subject: [PATCH] Clean-up --- .../CGAL/boost/graph/IO/Generic_facegraph_printer.h | 4 +--- BGL/include/CGAL/boost/graph/IO/PLY.h | 9 +-------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_printer.h b/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_printer.h index 1de06a246bf..b9b74835bef 100644 --- a/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_printer.h +++ b/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_printer.h @@ -42,15 +42,13 @@ public: const NamedParameters& np) { typedef typename CGAL::GetVertexPointMap::const_type VPM; - typedef typename boost::property_traits::reference Point_ref; + typedef typename boost::property_traits::reference Point_ref; typedef typename Polygon_mesh_processing::GetK::Kernel Kernel; typedef typename Kernel::Vector_3 Vector; typedef typename Kernel::Point_2 Texture; typedef CGAL::Color Color; - //typedef typename CGAL::GetVertexPointMap::type VPM; - typedef typename internal_np::Lookup_named_param_def< internal_np::vertex_normal_map_t, NamedParameters, Constant_property_map >::type VNM; diff --git a/BGL/include/CGAL/boost/graph/IO/PLY.h b/BGL/include/CGAL/boost/graph/IO/PLY.h index 1e6f4801bb4..957803fc0b2 100644 --- a/BGL/include/CGAL/boost/graph/IO/PLY.h +++ b/BGL/include/CGAL/boost/graph/IO/PLY.h @@ -51,7 +51,7 @@ bool write_PLY(std::ostream& out, typedef typename boost::graph_traits::face_descriptor face_descriptor; typedef typename CGAL::GetInitializedVertexIndexMap::const_type VIMap; typedef typename GetVertexPointMap::const_type Vpm; - typedef typename Vpm::value_type Point_3; + typedef typename boost::property_traits::value_type Point_3; VIMap vim = CGAL::get_initialized_vertex_index_map(mesh, np); Vpm vpm = parameters::choose_parameter(parameters::get_parameter(np, internal_np::vertex_point), @@ -109,13 +109,6 @@ bool write_PLY(std::ostream& out, return out.good(); } -template -bool write_PLY(std::ostream& out, - const FaceGraph& mesh, - const NamedParameters& np) -{ - return write_PLY(out, mesh, np, ""); -} template bool write_PLY(std::ostream& out,