mirror of https://github.com/CGAL/cgal
cleanup
This commit is contained in:
parent
7ab9468594
commit
0e27e7632c
|
|
@ -18,7 +18,6 @@
|
||||||
#include <CGAL/boost/graph/IO/Generic_facegraph_builder.h>
|
#include <CGAL/boost/graph/IO/Generic_facegraph_builder.h>
|
||||||
#include <CGAL/Named_function_parameters.h>
|
#include <CGAL/Named_function_parameters.h>
|
||||||
#include <CGAL/boost/graph/named_params_helper.h>
|
#include <CGAL/boost/graph/named_params_helper.h>
|
||||||
#include <CGAL/Simple_cartesian.h>
|
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
@ -233,21 +232,6 @@ bool read_PLY(const std::string& fname,
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// Write
|
// Write
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
struct To_double_property_map_no_lvalue
|
|
||||||
{
|
|
||||||
typedef T key_type; ///< typedef to `T`
|
|
||||||
typedef Simple_cartesian<double>::Point_3 value_type; ///< typedef to `T`
|
|
||||||
typedef value_type reference; ///< typedef to `T`
|
|
||||||
typedef boost::readable_property_map_tag category; ///< `boost::readable_property_map_tag`
|
|
||||||
|
|
||||||
typedef To_double_property_map_no_lvalue<T> Self;
|
|
||||||
|
|
||||||
friend value_type get(const Self&, const key_type& k) {
|
|
||||||
return Simple_cartesian<double>::Point_3(to_double(k.x()), to_double(k.y()), to_double(k.z()));}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\ingroup PkgBGLIoFuncsPLY
|
\ingroup PkgBGLIoFuncsPLY
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
#include <CGAL/boost/graph/IO/polygon_mesh_io.h>
|
#include <CGAL/boost/graph/IO/polygon_mesh_io.h>
|
||||||
#include <CGAL/Surface_mesh/IO/PLY.h>
|
#include <CGAL/Surface_mesh/IO/PLY.h>
|
||||||
#include <CGAL/Polygon_mesh_processing/compute_normal.h>
|
#include <CGAL/Polygon_mesh_processing/compute_normal.h>
|
||||||
|
#include <CGAL/boost/graph/generators.h>
|
||||||
|
|
||||||
typedef CGAL::Surface_mesh<CGAL::Epeck::Point_3> Surface_mesh;
|
typedef CGAL::Surface_mesh<CGAL::Epeck::Point_3> Surface_mesh;
|
||||||
typedef boost::graph_traits<Surface_mesh>::vertex_descriptor vertex_descriptor;
|
typedef boost::graph_traits<Surface_mesh>::vertex_descriptor vertex_descriptor;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue