mirror of https://github.com/CGAL/cgal
Merge pull request #6346 from afabri/Shortes_path-not_reference-GF
Surface_mesh_shortest_path: Make data member a copy
This commit is contained in:
commit
291b68a3b8
|
|
@ -7,8 +7,6 @@
|
|||
#include <CGAL/AABB_traits.h>
|
||||
#include <CGAL/AABB_tree.h>
|
||||
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
#include <CGAL/Random.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path.h>
|
||||
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ private:
|
|||
};
|
||||
|
||||
private:
|
||||
const Traits& m_traits;
|
||||
const Traits m_traits;
|
||||
const Triangle_mesh& m_graph;
|
||||
|
||||
Vertex_index_map m_vertexIndexMap;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include <CGAL/Random.h>
|
||||
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||
|
||||
#include <CGAL/Polyhedron_3.h>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
#include <CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/function_objects.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/barycentric.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/internal/misc_functions.h>
|
||||
|
||||
#include <CGAL/test_util.h>
|
||||
#include "check.h"
|
||||
|
|
@ -269,5 +268,3 @@ int main(int argc, char* argv[])
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path_traits.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/internal/misc_functions.h>
|
||||
|
||||
#include <CGAL/boost/graph/iterator.h>
|
||||
|
||||
|
|
@ -104,6 +105,3 @@ int main(int argc, char* argv[])
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path_traits.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/internal/misc_functions.h>
|
||||
|
||||
#include <CGAL/boost/graph/iterator.h>
|
||||
|
||||
|
|
@ -152,5 +153,3 @@ int main(int argc, char* argv[])
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include <CGAL/Random.h>
|
||||
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||
|
||||
#include <CGAL/Polyhedron_3.h>
|
||||
|
|
@ -17,7 +16,6 @@
|
|||
#include <CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/function_objects.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/barycentric.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/internal/misc_functions.h>
|
||||
|
||||
#include <CGAL/test_util.h>
|
||||
#include "check.h"
|
||||
|
|
@ -188,6 +186,3 @@ int main(int argc, char* argv[])
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||
|
||||
#include <CGAL/Polyhedron_3.h>
|
||||
|
|
@ -6,7 +5,6 @@
|
|||
#include <CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path_traits.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/function_objects.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/barycentric.h>
|
||||
#include <CGAL/Surface_mesh_shortest_path/internal/misc_functions.h>
|
||||
|
||||
#include <CGAL/boost/graph/iterator.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue