This commit is contained in:
Maxime Gimeno 2020-03-18 16:30:25 +01:00
parent 82bee3fd55
commit 340623febd
2 changed files with 2 additions and 11 deletions

View File

@ -49,8 +49,6 @@ public:
typedef typename Kernel::Point_2 Texture; typedef typename Kernel::Point_2 Texture;
typedef CGAL::Color Color; typedef CGAL::Color Color;
//typedef typename CGAL::GetVertexPointMap<FaceGraph, NamedParameters>::type VPM;
typedef typename internal_np::Lookup_named_param_def< typedef typename internal_np::Lookup_named_param_def<
internal_np::vertex_normal_map_t, NamedParameters, internal_np::vertex_normal_map_t, NamedParameters,
Constant_property_map<vertex_descriptor, Vector> >::type VNM; Constant_property_map<vertex_descriptor, Vector> >::type VNM;

View File

@ -51,7 +51,7 @@ bool write_PLY(std::ostream& out,
typedef typename boost::graph_traits<FaceGraph>::face_descriptor face_descriptor; typedef typename boost::graph_traits<FaceGraph>::face_descriptor face_descriptor;
typedef typename CGAL::GetInitializedVertexIndexMap<FaceGraph, NamedParameters>::const_type VIMap; typedef typename CGAL::GetInitializedVertexIndexMap<FaceGraph, NamedParameters>::const_type VIMap;
typedef typename GetVertexPointMap<FaceGraph, NamedParameters>::const_type Vpm; typedef typename GetVertexPointMap<FaceGraph, NamedParameters>::const_type Vpm;
typedef typename Vpm::value_type Point_3; typedef typename boost::property_traits<Vpm>::value_type Point_3;
VIMap vim = CGAL::get_initialized_vertex_index_map(mesh, np); VIMap vim = CGAL::get_initialized_vertex_index_map(mesh, np);
Vpm vpm = parameters::choose_parameter(parameters::get_parameter(np, internal_np::vertex_point), 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(); return out.good();
} }
template <class FaceGraph, class NamedParameters>
bool write_PLY(std::ostream& out,
const FaceGraph& mesh,
const NamedParameters& np)
{
return write_PLY(out, mesh, np, "");
}
template <class FaceGraph> template <class FaceGraph>
bool write_PLY(std::ostream& out, bool write_PLY(std::ostream& out,