Laurent Rineau
1ce108778f
rewrite/refactor a lot of the code
2025-01-22 16:03:26 +01:00
Laurent Rineau
eafa97a862
major cleanup of Polyline_constraint_hierarchy_2
...
- remove all mentions of `Edge` and `Constraint`
- `Subconstraint_iterator` is renamed `Subconstraint_and_contexts_iterator` (because of its value type)
- a new `Subconstraint_iterator`, with value type `Subconstraint`
- a few unused/untested and uncompilable functions are removed from the code
- a lot of internal renamings
== Breaking changes ==
For `Constrained_triangulation_plus_2`, there are a few breaking changes...
- The value type of `subconstraints_begin()`, `subconstraints_end()`, of the range `subconstraints()` has changed to `Subconstraint` (a simple `std::pair` of vertex handles). That is actually a kind of bug-fix, because it was documented as such in the user manual.
- The new member functions `subconstraints_and_contexts_begin()`, `subconstraints_and_contexts_end()`, `subconstraints_and_contexts()` are created get the old value type (`std::pair<const Subconstraint, std::list<Context>*>`).
- A few range types have changed from `CGAL::Iterator_range<It>` to `unspecified_type`, for efficiency reasons.
- Doc fixes.
== Determinism ==
Even if it was not documented, the range `subconstraints()` is deterministic (used by Mesh_2), and `subconstraints_and_contexts()` is not.
2025-01-13 17:06:58 +01:00
Laurent Rineau
56bb4191ed
cleanup existing code
2025-01-13 11:24:30 +01:00
Sebastien Loriot
584c7ddb35
remove forward declaration
2024-11-06 10:10:03 +01:00
Andreas Fabri
6f8f89ea37
Remove Defaul
2024-10-08 15:26:05 +01:00
Andreas Fabri
9a12b3048e
Triangulation_2: Do not include kernel header
2024-10-08 12:18:30 +01:00
Sébastien Loriot
e82d970d19
boost::next -> std::next
2023-04-23 22:37:07 +02:00
Sébastien Loriot
99619dc634
boost::prior -> std::prev
2023-04-23 22:37:07 +02:00
Laurent Rineau
e8d1095526
Use Output_rep to display debug info
2023-02-06 10:00:58 +01:00
Andreas Fabri
d3fca65ae5
CGAL: No longer per package assertions
2022-09-23 12:49:40 +01:00
Sébastien Loriot
861588abe1
Merge 'sloriot/CGAL-std_type_traits' into master
2022-08-03 20:19:51 +02:00
Sébastien Loriot
ac8b6d4731
boost::is_same --> std::is_same
2022-06-10 08:18:20 +02:00
Laurent Rineau
8ba010f760
Factorize the insertion of the intersection point
2022-06-01 14:42:01 +02:00
Laurent Rineau
910c930ede
Better usage of the dispatch on `itag`
2022-06-01 12:26:50 +02:00
Andreas Fabri
48c462bf72
Change in CDTplus
2022-03-09 13:46:55 +00:00
Andreas Fabri
8501386fee
Update Triangulation_2/include/CGAL/Constrained_triangulation_plus_2.h
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-02-03 08:33:12 +01:00
Andreas Fabri
c30327c3ec
Triangulation_2: Quiet a warning
2022-02-02 09:38:38 +00:00
Maxime Gimeno
393ae7dae6
Clean-up boost_version reqs
2021-05-12 15:03:53 +02:00
Sebastien Loriot
bdc2f3e0db
Merge pull request #5076 from lrineau/Triangulation_2-improve_CDT_plus_2-GF
...
Triangulation_2: improve CDT_plus_2
2020-10-20 13:28:12 +02:00
Laurent Rineau
e37c290841
Better debug messages
2020-10-15 15:08:21 +02:00
Laurent Rineau
dcc4fb1cc1
Merge remote-tracking branch 'cgal/master' into CGAL-move_semantic_for_triangulations-GF
...
# Conflicts:
# STL_Extension/include/CGAL/Compact_container.h
2020-05-20 09:46:26 +02:00
Sébastien Loriot
f8414293d7
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:27:08 +01:00
Sébastien Loriot
d1a323c730
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:24:14 +01:00
Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Simon Giraudot
5b8d92e08f
First version of split_subconstraint_graph_into_constraints()
2020-02-17 10:28:02 +01:00
Laurent Rineau
20bb2c8428
Add move-semantic to CT_plus_2 and Tr_hierarchy_2
2020-01-31 16:28:07 +01:00
Laurent Rineau
94be80c2eb
fix clang-tidy warnings
2020-01-31 16:27:41 +01:00
Andreas Fabri
48fedbae06
Typos: splitted -> split
2019-12-11 16:57:34 +01:00
Mael
cf83a22e2d
Merge branch 'master' into T2-Throw_on_collinear_strongly_intersecting_segments-GF
2019-12-02 16:32:29 +01:00
Sébastien Loriot
254d60f642
First pass on removing license notice in header for GPL files
2019-10-19 15:23:19 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Mael Rouxel-Labbé
7a50939809
Deprecate No_intersection_tag
...
Introduce two new tags instead, to make the behavior change clearer.
Default tag for CDT2 is changed to keep the same behavior as before
(what was called 'No_intersection_tag' and is now called
'No_constraint_intersection_requiring_constructions_tag')
2019-09-19 18:11:33 +02:00
Mael Rouxel-Labbé
9b2a7f09d7
Merge branch 'T2-Throw_on_collinear_strongly_intersecting_segments-GF-old' into T2-Throw_on_collinear_strongly_intersecting_segments-GF
2019-09-19 15:50:49 +02:00
Mael Rouxel-Labbé
e955c38215
Add a new tag allowing constraints to intersect if no construction is required
2019-08-22 12:44:16 +02:00
Mael Rouxel-Labbé
013272a466
Fix not throwing on T-like segment intersection (extremity on interior)
2019-08-19 17:55:39 +02:00
Mael Rouxel-Labbé
59e0e87e24
Readability (no real changes)
2019-08-19 17:55:26 +02:00
Laurent Rineau
dbb1cb6c9b
Merge pull request #3974 from afabri/Triangulation-add_ranges-GF
...
Triangulation_{2,3): Add ranges
2019-07-01 11:16:05 +02:00
Andreas Fabri
7111518cb0
Fix usage of Vertices_in_constraint
2019-06-05 08:02:19 +02:00
Andreas Fabri
e2d19b0c8d
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-04 23:45:44 +02:00
Andreas Fabri
22a8edd750
doc
2019-06-04 16:52:33 +02:00
Andreas Fabri
70720e224f
Add documentation for T2
2019-06-04 16:32:30 +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
Andreas Fabri
a3d535c553
Fix compilation, Add documentation, Add test for IO
2019-05-02 10:41:12 +02:00
Andreas Fabri
abdad1585b
Add this-> when calling a function inherited from a temmplate parameter
2019-04-30 17:53:32 +02:00
Andreas Fabri
e0c2222c1f
Constrained_triangulation_plus_2: Fix I/O
2019-04-30 13:24:52 +02:00
Andreas Fabri
26b26ea506
Remove deprecated function
2019-04-30 12:21:06 +02:00
Andreas Fabri
4724e3a358
Remove deprecated function
2019-04-30 12:21:03 +02:00
Sébastien Loriot
564a6c72f4
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2019-04-23 10:46:32 +02:00
Sébastien Loriot
0651c97fdd
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD
2019-04-23 10:45:27 +02:00