mirror of https://github.com/CGAL/cgal
Clean-up
This commit is contained in:
parent
82bee3fd55
commit
340623febd
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue