Commit Graph

174 Commits

Author SHA1 Message Date
Andreas Fabri 86056be45e Do something with the loop variable 2025-04-11 08:00:31 +01:00
Andreas Fabri ad9864f7fb Triangulation_2: Remove [[maybe unused]] 2025-04-10 19:34:42 +01:00
Laurent Rineau 8eefb7f173 Merge branch 'master' into pr/lrineau/8273 2025-02-07 16:10:52 +01:00
Laurent Rineau e5001d1a50 update our CMake version 3.18...3.31
That will suppress the warnings about `CMP0167` (from CMake 3.30):

```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
Laurent Rineau 5a1f8cdb21 small optimization 2025-01-28 09:44:42 +01:00
Laurent Rineau 7808c6f93d fix the failing test 2025-01-22 22:43:59 +01:00
Laurent Rineau cf50ad8b13 document the breakng change 2025-01-16 13:47:33 +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 2b0c79e85a update reuse to v5 2024-11-26 10:14:17 +01:00
Andreas Fabri 527569346e CGAL: Modernize CMakeLists.txt 2024-10-08 17:02:41 +01:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
Guillaume Damiand 4684dc4f8e T2 and CDT2 draw 2023-12-01 18:02:09 +01:00
Guillaume Damiand 0655006622 Merge with master: now viewers use Qt6 2023-11-29 14:36:38 +01:00
Guillaume Damiand 9f22d67ed0 Rename Graphic_storage in Graphics_scene (Andreas and Sebastien review) 2023-09-28 12:49:00 +02:00
Guillaume Damiand fd115bd321 Rename Graphic_storare into Graphics_scene (Andreas and Sebastien review) 2023-09-28 11:06:53 +02:00
Guillaume Damiand 5cf89dadd9 Rename Drawing_functor in Graphics_scene_options (following Andreas and Sebastien review) 2023-09-28 09:51:12 +02:00
Guillaume Damiand fe23441eab Merge master 2023-06-26 14:42:33 +02:00
Guillaume Damiand 519c7cc1a5 rename add_in_graphic_buffer into add_in_graphic_storage 2023-04-28 15:25:40 +02:00
Guillaume Damiand 4df2edd9c1 Replace draw_buffer by draw_graphic_storage 2023-04-28 12:26:31 +02:00
Guillaume Damiand 8f29e4d323 Rename class graphic buffer 2023-04-27 15:48:42 +02:00
Andreas Fabri 47683f2dea The Truiangulation_2/examples which use draw() compile and visualize but have an assertion in a QMap 2023-04-19 14:27:45 +01:00
Mael 153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2023-01-27 22:09:02 +01:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Guillaume Damiand 8c546efe71 code review for polygon triangulation 2022-10-18 15:28:19 +02:00
Mael Rouxel-Labbé 7cb21c24b0 Uniformize message() for missing 3rd party libraries
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Laurent Rineau c340a6eff8 Fix formating 2022-06-17 10:55:17 +02:00
Andreas Fabri 1afc3cc099 resolve merge conflict 2022-05-18 07:20:41 +01:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Laurent Rineau 269a7c7b5d Add assertions 2022-03-30 15:19:26 +02:00
Andreas Fabri f2bfb52903 Make draw() work for a CDT_2 even if it's Face type has no is_in_domain member function 2022-03-22 16:10:16 +01:00
Andreas Fabri 109056d592 Improve documentation of function draw() 2022-03-22 14:10:13 +01:00
Andreas Fabri eddfe746b1 Cleanup and add a draw() function for constrained triangulations 2022-03-15 14:59:59 +01:00
Andreas Fabri 0a04f33a94 Rename and move stuff 2022-03-15 10:36:35 +01:00
Andreas Fabri a6ae3b1ac1 Rename and move stuff 2022-03-15 10:34:36 +01:00
Andreas Fabri 849e18ae6c Triangulation_2: Add CGAL::mark_domains() 2022-03-14 23:05:15 +01:00
Andreas Fabri eba31bec5e
Update Triangulation_2/examples/Triangulation_2/star_conflict_zone.cpp
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-03-07 15:12:13 +01:00
Andreas Fabri fa0a8a2bed Triangulation_2: Add an example that stars a conflict zone 2022-03-07 11:59:06 +00:00
Andreas Fabri b18cd37b7f Triangulation_2: Add an example that stars a conflict zone 2022-03-07 11:50:51 +00:00
Laurent Rineau 5b42a501cc Merge pull request #6266 from afabri/CGAL-assertions_in_examples-GF
CGAL Examples: CGAL_assertion ->  assert

# Conflicts:
#	HalfedgeDS/examples/HalfedgeDS/hds_prog_compact2.cpp
#	Triangulation_2/examples/Triangulation_2/triangulation_print_OFF.h
2022-02-02 16:38:01 +01:00
Sébastien Loriot 4ec9d48d81 clean up 2022-01-28 16:52:21 +01:00
Sébastien Loriot c0a00e7fe3 remove no longer needed indices 2022-01-28 15:54:17 +01:00
Sébastien Loriot 3b7313ea37 use BGL for OFF writing 2022-01-27 15:02:17 +01:00
Andreas Fabri d08592b708 T2 2022-01-26 16:57:32 +00:00
Andreas Fabri 79a38d5cb9 CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +00:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 262a04cef2 remove useless POLICY setting 2021-11-09 10:19:14 +01:00
Sébastien Loriot 08b1457649 add CGAL::CGAL_Basic_viewer target 2021-11-01 11:07:55 +01:00
Mael Rouxel-Labbé 1cbcc39370 Rename example to avoid conflicts 2021-08-26 11:15:36 +02:00
Mael 5a30c321b8
Misc cleaning 2021-08-04 15:42:04 +02:00
Maxime Gimeno 2d5f91f763 Merge remote-tracking branch 'cgal/master' into T2-Document_projection_traits_3-maxGimeno 2021-05-27 09:06:59 +02:00