Commit Graph

473 Commits

Author SHA1 Message Date
Sébastien Loriot deb9d984f5 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' 2017-03-29 13:23:05 +02:00
Laurent Rineau c025d392fb Merge pull request #1960 from sloriot/BGL-fix_split_graph
Fix bug in split_graph_into_polylines
2017-03-29 11:58:38 +02:00
Sébastien Loriot 3da1729ea4 restore the order on nodes and do not remove an edge before a terminal node
The order was relying on the vertex connectivity so no edge incident to a
node in the set should be removed, otherwise the set is no longer sorted
2017-03-21 16:54:49 +01:00
Sébastien Loriot 6d3d570239 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD 2017-03-16 09:57:17 +01:00
Andreas Fabri 58b4b81ccd fix in_edges() and out_edges() 2017-03-13 17:12:37 +01:00
Andreas Fabri 426ab99df7 BGL: Fix Dual 2017-03-13 14:01:19 +01:00
Sébastien Loriot 3fa06c2cc8 remove buggy and useless custom less for vertex descriptors
the order was not correct and in some cases, std::set::erase
was picking the wrong vertex_descriptor. The default less
is fine since no vertices is removed from the adjacency_list,
thus descriptors remain valid
2017-03-09 09:25:18 +01:00
Laurent Rineau 1a2f617d89 Merge pull request #1843 from afabri/BGL_accelerate_copy_face_graph-GF
Accelerate copy_face_graph
2017-02-08 17:32:47 +01:00
Laurent Rineau 13e420732c Merge pull request #1840 from afabri/BGL-reserve-GF
BGL: Add helper function reserve(G,nv,ne,nf)
2017-02-08 17:32:22 +01:00
Sébastien Loriot 758e403d02 remove uninitialized variable warning 2017-01-25 08:52:56 +01:00
Sébastien Loriot df886a0904 add missing include directive 2017-01-19 16:46:52 +01:00
Sébastien Loriot 6926578b15 add reserve to MutableFaceGraph 2017-01-18 18:19:25 +01:00
Sébastien Loriot f5044492c7 remove old implementation and benchmark using it 2017-01-18 16:44:21 +01:00
Sébastien Loriot 3fa4abe869 move function to init index maps to BGL 2017-01-18 16:37:34 +01:00
Sébastien Loriot b3340608cc move property map binders to property_map.h 2017-01-18 16:37:24 +01:00
Sébastien Loriot 35394ccebf update reserve and add test 2017-01-17 11:18:07 +01:00
Andreas Fabri 725a658dad Add reserve(G, nv, ne, nf) 2017-01-17 09:44:06 +01:00
Sébastien Loriot e437f1d7e7 WIP add a new copy_face_graph implementation using halfedge_index_map when possible 2017-01-16 18:35:11 +01:00
Sébastien Loriot a99a406d7f set the bucket size of hash maps 2017-01-16 15:58:06 +01:00
Andreas Fabri 7af02ade63 Add a benchmark 2017-01-16 15:15:27 +01:00
Sébastien Loriot 5557ce17fd add another version of copy_face_graph 2017-01-16 14:33:46 +01:00
Sébastien Loriot e3f9ffa6f8 workaround for named parameters with old boost version (<1.51)
handle the renaming of a struct and move get_param overloads
in the boost namespace (to match qualified call boost::get_param)
2017-01-13 12:05:51 +01:00
Sébastien Loriot 9ae7b37845 Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Laurent Rineau e9d9cc5100 Merge pull request #1793 from lrineau/Mesh_3-various_improvements-lrineau
Improvements for Mesh_3
2017-01-12 11:09:45 +01:00
Laurent Rineau 4ce2e8e416 Reduce the width of lines with `using boost::graph_traits` 2017-01-05 11:59:25 +01:00
Laurent Rineau b7c07effa9 Simplify split_graph_into_polylines
Two tests `it = v2vmap.find(vs)) == v2vmap.end()` were useless because
it is guaranteed that the map does contain the vertices.
2017-01-05 11:56:30 +01:00
Laurent Rineau 47dbde4ace Merge pull request #1753 from maxGimeno/BGL_descriptor_with_graph-GF
BGL descriptor with graph
2017-01-05 10:56:02 +01:00
Sébastien Loriot 9981bcfa27 Merge pull request #1757 from afabri/BGL-reorient_make_tetrahedron-GF
BGL reorient make_tetrahedron() and make_hexahedron()
2017-01-02 19:10:20 +01:00
Laurent Rineau ca0fac22e7 Merge branch 'Mesh_3-improve_detect_features-GF' into Mesh_3-various_improvements-lrineau 2016-12-30 17:33:16 +01:00
Sébastien Loriot fe5e925367 Merge pull request #1701 from afabri/Convex_hull_3-FaceGraph-GF
Convex_hull_3: Switch to FaceGraph
2016-12-30 15:14:34 +01:00
Sébastien Loriot 81f4714b1b mimic what is done for Has_clear
typeof is an gcc extension
2016-12-30 14:51:50 +01:00
Laurent Rineau e5807d17ef Add visitor.add_edge, optional 2016-12-30 14:51:50 +01:00
Laurent Rineau 7776720ca9 Merge pull request #1752 from lrineau/Mesh_3-various_fixes_and_improvements-lrineau
Fix the patch from #1524
2016-12-28 16:12:14 +01:00
Andreas Fabri cbcfbc0259 Remove typedefs; put make_quad for vertices in namespace internal 2016-12-23 16:28:50 +01:00
Laurent Rineau f6bfae0324 Remove an assertion: bug in Boost filtered_graph::out_degree 2016-12-16 17:32:45 +01:00
Andreas Fabri fde59886ba Concept check GWdwg 2016-12-13 15:25:54 +01:00
Andreas Fabri 4a323718e3 Use CGAL_assertion; test that the assertion gets triggered 2016-12-09 17:33:25 +01:00
Andreas Fabri c058ae9bcc deacronymize header file name 2016-12-09 17:01:11 +01:00
Andreas Fabri d3a286d111 Gwdwg may be mutable 2016-12-09 16:52:47 +01:00
Laurent Rineau f8833fbec5 Fix a bug with isolated vertices in the graph 2016-12-09 15:47:19 +01:00
Andreas Fabri 98b5ae02f7 reorient make_hexahedron 2016-12-09 15:16:39 +01:00
Sébastien Loriot d1a00c9ab4 add missing overload 2016-12-09 13:44:41 +01:00
Andreas Fabri a32e75646f reorient make_tetrahedron 2016-12-09 12:49:06 +01:00
Maxime Gimeno d7c8f598a1 Fix doc 2016-12-08 10:12:10 +01:00
Sébastien Loriot a066f8c01b use different overloads even in c++11
The default value for the point map cannot be set
2016-12-07 17:08:30 +01:00
Maxime Gimeno 8569e8fb9a Add an example. 2016-12-07 16:46:49 +01:00
Laurent Rineau 65d67329fc Fix the patch from #1524
When the `less` operator was added to `split_graph_into_polylines`, it
was wrong: as we duplicate vertices, that is not sufficient to compare
the points at vertices.
2016-12-07 11:24:28 +01:00
Sébastien Loriot b4da56f408 remove extra comma 2016-12-07 09:02:36 +01:00
Maxime Gimeno 50e4b04d51 Restore graph_has_property() 2016-12-06 14:13:18 +01:00
Maxime Gimeno 5141f55efe Make doc 2016-12-06 12:59:56 +01:00