Commit Graph

43 Commits

Author SHA1 Message Date
Sébastien Loriot 8ca71ec60c doc fixes 2019-07-18 20:41:49 +02:00
Laurent Rineau 96912aaa20 Merge branch 'releases/CGAL-4.14-branch' 2019-06-17 13:53:42 +02:00
Laurent Rineau 377d707dfe Merge pull request #3996 from sloriot/BGL-split_fix_fct_pos
Put declaration before the call to the function
2019-06-17 13:51:31 +02:00
Sébastien Loriot d6fe7d485a add declaration before usage 2019-06-13 07:44:58 +02:00
Laurent Rineau 90782d4b7f Revert the merge of two pull-requests that target CGAL-4.14-branch
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Sébastien Loriot 0ce7fc09b5 turns iterator pairs into iterable ranges 2019-03-29 13:28:22 +01:00
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Andreas Fabri 5efce459da Mesh_3 2018-01-18 08:49:52 +00:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Maxime Gimeno 6581f1d716 Fix warning in stitching_plugin 2017-07-10 16:03:48 +02:00
Laurent Rineau 87c9afd486 Fix the compilation of individual headers
- in most cases, that was just adding missing #include
- I have removed the use of <CGAL/basic.h>
2017-04-13 15:56:51 +02:00
Sébastien Loriot deb9d984f5 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' 2017-03-29 13:23:05 +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 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 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
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
Laurent Rineau f6bfae0324 Remove an assertion: bug in Boost filtered_graph::out_degree 2016-12-16 17:32:45 +01:00
Laurent Rineau f8833fbec5 Fix a bug with isolated vertices in the graph 2016-12-09 15:47:19 +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 5c94f7d8ac avoid documenting internal and non-intended classes and functions 2016-10-21 11:11:00 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Andreas Fabri ca1f19b392 Package BGL: Add includes 2016-09-30 15:22:29 +02:00
Laurent Rineau 5bd65fba58 Make split_graph_into_polylines deterministic
- There is a new argument, `Less`, that allows to sort the `std::set` of
  vertex descriptors with a deterministic sort functor.

- The header `<CGAL/Mesh_3/polylines_to_protect.h>` defines and use such
  a functor.
2016-09-29 17:41:32 +02:00
Sébastien Loriot 1792146afd document split_graph_into_polylines 2016-01-19 09:30:00 +01:00
Sébastien Loriot e0af32ceb2 int -> degree_size_t 2015-01-21 09:15:51 +01:00
Sébastien Loriot 97c00a797d report isolated vertices 2015-01-20 19:51:21 +01:00
Sébastien Loriot bebc80a739 use BOOST_FOREACH 2015-01-20 19:51:21 +01:00
Sébastien Loriot bb26d0f049 add a call to the visitor when ending a polyline 2015-01-20 19:51:21 +01:00
Sébastien Loriot ee07b6990a add another overload to avoid specify the IsTerminal functor 2015-01-20 19:51:20 +01:00
Laurent Rineau 350a95b7e6 Fix the license header of a file 2014-12-18 11:31:23 +01:00
Andreas Fabri 1606841d22 wording in a comment 2014-12-03 17:04:30 +01:00
Andreas Fabri 6e8a9a6432 remove trailing whitespace 2014-12-03 11:48:44 +01:00
Andreas Fabri 4a20dded24 Only copy vertices which are not isolated 2014-12-03 09:30:52 +01:00
Andreas Fabri 11a5ffd5ed isolated vertices may have degree==0 in the assertion 2014-12-03 09:30:52 +01:00
Sébastien Loriot bba0e8ce05 remove warning 2014-12-02 19:52:38 +01:00
Andreas Fabri 10a5d629aa fix type 2014-12-02 17:50:13 +01:00
Andreas Fabri 3df4841b83 fix type 2014-12-02 17:07:02 +01:00
Andreas Fabri eaf7214844 The split function takes care of parallel edges and self loops 2014-12-02 16:11:11 +01:00
Andreas Fabri c943497763 Add split_graph_into_polylines and example 2014-11-03 13:07:50 +01:00