Mael Rouxel-Labbé
fb8f897969
Add an HyperbolicFaceData concept; replaces the former tds_data() (CGAL::Object)
2022-09-26 16:24:12 +02:00
Mael Rouxel-Labbé
cf12f90cbf
Fix broken is_hyperbolic(face/edge) framework
...
The previous code tries to handle finite/infinite and hyperbolic/non-hyperbolic
with a single flag, which caused errors to get stuff like finite
but non-hyperbolic edges (see e.g. https://github.com/CGAL/cgal/issues/6869 ).
In addition, it used tds_data(), which is something that now also
exists in the triangulation_ds_face_base_2 class.
Hence, completely re-implement the hyperbolic stack / query.
# ../../../../Installation/CHANGES.md.orig
2022-09-26 16:08:43 +02:00
Mael Rouxel-Labbé
145a817cc1
Remove (broken) HDT2::insert(p, lt, li) from documentation
...
The 'lt' is documented to be HDT2::Locate_type, which is wrong, the function's
signature uses HDT2::DT2::Locate_type, and that's for a precise reason:
HDT2::locate() returns location based on hyperbolic simplicies, and not
the underlying DT2 triangulation. So, one might retrieve "OUTSIDE_CONVEX_HULL"
if a query is on a non-hyperbolic Delaunay face, but a finite underlying DT2
face. In that configuration, it'd break the triangulation to do an insertion
with "OUTSIDE_CONVEX_HULL".
The documentation could be fixed, but it is too dangerous so it's best
to just remove it. (Maybe it should also be simply removed
from the triangulation class.)
2022-09-26 16:07:52 +02:00
Mael Rouxel-Labbé
1e5999419b
Add more tests for HDT2::locate()
2022-09-26 15:16:25 +02:00
Mael Rouxel-Labbé
a7eedb0c74
Fix `ensuring_hyperbolic_face_handle` not doing anything (dim > 2 is 'false')
2022-09-26 15:15:35 +02:00
Mael Rouxel-Labbé
25df7a7565
Misc tiny improvements
2022-09-26 15:14:29 +02:00
Mael Rouxel-Labbé
98b6b95054
Fix issues in HDT2::locate():
...
- Fix not setting up 'li' when landing on a non hyperbolic face but hyperbolic
edge
- Fix returning Face_handle()s for some EDGE cases
2022-09-26 15:11:38 +02:00
Mael Rouxel-Labbé
3f49816e1c
Misc HDT2 fixes (broken conflict zones visu, no extra edges, ...)
2022-09-26 14:10:22 +02:00
Mael Rouxel-Labbé
c2cbac1a3f
Remove unused code/typedefs
2022-09-26 14:07:10 +02:00
Mael Rouxel-Labbé
57e496fd7c
Fix upside Y axis
2022-09-26 13:07:24 +02:00
Mael Rouxel-Labbé
1bf6aaeb5a
Fix rotated view (horizontal Y axis...) in the demo
2022-09-26 13:07:16 +02:00
Mael Rouxel-Labbé
e6acc5f934
Prevent insertion of points outside the unit Poincaré circle
2022-09-25 02:26:03 +02:00
Mael Rouxel-Labbé
0251966b30
Only hyperbolic edges have duals
2022-09-25 01:45:23 +02:00
Mael Rouxel-Labbé
46341243fe
Fix visualization of conflict zones
2022-09-25 01:29:36 +02:00
Mael Rouxel-Labbé
4540fe4a1b
Disable absent action to simulate insertions
2022-09-25 00:26:27 +02:00
Mael Rouxel-Labbé
816fb2a1c1
Simply return enums
2022-09-24 23:29:24 +02:00
Mael Rouxel-Labbé
a1752b8b27
Misc cleaning
2022-09-24 23:29:03 +02:00
Mael Rouxel-Labbé
94900beec6
Do not return point copies in HT2::point()
2022-09-24 16:48:15 +02:00
Mael Rouxel-Labbé
c8e029438b
Remove superfluous call to ensure_hyperbolic_face_handle() (insert() does it)
2022-09-24 16:46:07 +02:00
Mael Rouxel-Labbé
363d1daaef
Some more conversions to non-package specific assertions
2022-09-23 15:20:24 +02:00
Andreas Fabri
d3fca65ae5
CGAL: No longer per package assertions
2022-09-23 12:49:40 +01:00
Mael Rouxel-Labbé
9b265fddf8
Uniformize REQUIRED / QUIET usage:
...
Following this:
- CGAL: always REQUIRED
- CGAL component: COMPONENT / OPTIONAL_COMPONENT (never QUIET)
- required 3rd party: (not QUIET) + message(NOTICE "") on NOT_FOUND
- optional 3rd party: QUIET + message(STATUS "") except for Polyhedron/demo
- 3rd party components: COMPONENT / OPTIONAL_COMPONENT
(QUIET depending on required or optional 3rd party)
2022-09-06 16:24:27 +02:00
Mael Rouxel-Labbé
4fc486b195
Purge CMakeLists.txts from obsolete code / noise
2022-09-06 16:19:11 +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
Mael Rouxel-Labbé
28ba446895
Clean (some) CMakeLists.txt indentation
2022-09-06 15:38:18 +02:00
Sébastien Loriot
4f5f8341cc
use std::enable_if_t
2022-06-10 07:37:53 +02:00
Sébastien Loriot
ff16bec071
clean up EXAMPLE_PATH
2022-05-23 16:52:17 +02:00
Laurent Rineau
2288225448
Massive update of CMake policies to version 3.23
2022-05-06 09:34:35 +02:00
albert-github
63f39878ab
Periodic_4_hyperbolic_triangulation_2 and Hyperbolic_triangulation_2: Incorrect enumeration sections
...
In the files Periodic_4_hyperbolic_triangulation_2/classCGAL_1_1Periodic__4__hyperbolic__triangulation__2.html and Hyperbolic_triangulation_2/classCGAL_1_1Hyperbolic__Delaunay__triangulation__2.html we see that for the enumeration the heading is missing.
Furthermore the resulting HTML code is not valid (we see a `tr` tag outside a `table` tag).
2022-03-16 12:47:53 +01:00
Andreas Fabri
440a8dfb7b
Fix file name
2022-02-03 08:41:04 +00:00
Andreas Fabri
735752bec9
Do the remaining changes after Laurent's check
2022-02-03 08:02:11 +00:00
Laurent Rineau
4d38f2b7b3
Merge pull request #6114 from sloriot/CGAL-cmake_clean_up
...
Clean cmake scripts of examples and tests
2021-11-18 12:27:19 +01:00
Laurent Rineau
33ff2bf3eb
Call cgal_add_compilation_test to fix the CTest testsuite
2021-11-09 16:09:54 +01:00
Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +01:00
Sébastien Loriot
58181afcdb
remove useless include directives
2021-11-09 10:16:12 +01:00
Sébastien Loriot
f5d2fb28a2
remove artificial dependency to Polygon
2021-09-01 16:41:36 +02:00
Sébastien Loriot
98e471849b
moving files from internal to PKG/internal
2021-08-26 11:33:39 +02:00
Sébastien Loriot
fb6f703b55
IO namespace for files in IO directories
2021-05-04 14:36:06 +02:00
Sebastien Loriot
b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
...
Update maximum cmake versions
2021-04-17 10:58:14 +02:00
Maxime Gimeno
c49152359c
update max version of cmake and announce the new minimal in CHANGE.md
2021-04-15 15:08:54 +02:00
Sébastien Loriot
350b9172c5
replace %CGAL by \cgal (but in titles)
2021-04-11 14:52:01 +02:00
Laurent Rineau
3ab3b10d47
Merge pull request #5247 from MaelRL/SDG-Fix_doc-GF
...
Doc improvements for TDS-related classes
2021-03-03 17:38:18 +01:00
Laurent Rineau
ab6145babc
Merge pull request #5501 from maxGimeno/CGAL-CGAL-Disable_tests_that_use_gmp_if_not_found-5.2-maxGimeno
...
CMake Fixes when CGAL_Core is disabled (5.2)
2021-03-03 17:20:55 +01:00
Maxime Gimeno
b4de351840
Merge branch 'CGAL-CGAL-Disable_tests_that_use_gmp_if_not_found-5.1-maxGimeno' into CGAL-CGAL-Disable_tests_that_use_gmp_if_not_found-5.2-maxGimeno
2021-03-02 10:16:01 +01:00
Maxime Gimeno
7d21d5b62d
De-activate some things that depend on CGAL_Core if it is not FOUND
2021-03-01 11:27:43 +01:00
Mael Rouxel-Labbé
1f45360d7a
Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF
2021-01-26 09:05:24 +01:00
Maxime Gimeno
9ac0a1de04
Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno
2021-01-18 11:52:30 +01:00
Maxime Gimeno
2255f8e8ea
Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno
2021-01-13 14:34:09 +01:00
Maxime Gimeno
5948bc846e
Try to remove Filtered_kernel from the dependencies of BGL
2021-01-11 14:11:30 +01:00
Maxime Gimeno
5d2ad68148
Add new Dependences. ATTENTION BGL is propagated through the NPs in Stream_support
2021-01-08 15:58:46 +01:00
Mael Rouxel-Labbé
723890e388
Misc tiny doc fixes (broken links, grammar, etc.)
2020-12-05 11:49:27 +01:00
Mael Rouxel-Labbé
702d2ddf86
Fix documentation of TDS vertex/face/cell requirements in TDS-using classes
2020-12-05 11:42:21 +01:00
Maxime Gimeno
3b70343590
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-11-16 16:19:43 +01:00
Maxime Gimeno
97320dbfd2
Fix HDT2 demo cmakelists
2020-10-12 09:10:12 +02:00
Maxime Gimeno
616574e5ab
Modernize CMake scripts
2020-10-06 15:44:41 +02:00
Mael Rouxel-Labbé
8682f9bafb
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-08-24 11:45:17 +02:00
Maxime Gimeno
9c15f2c9dc
Use FeatureSummary in the demo, and remove CGAL_FOUND
2020-08-04 12:46:17 +02:00
Mael Rouxel-Labbé
275d73e6c1
Fix missing license include
2020-06-23 19:02:19 +02:00
Laurent Rineau
38e7c641d7
Merge pull request #4780 from maxGimeno/GraphicsView-Fix_qt_deprecated_code-maxGimeno
...
GraphicsView: Fix Qt 5.15 deprecation warnings
2020-06-23 18:50:07 +02:00
Mael Rouxel-Labbé
e1e2428abe
Fix missing _H in guard + missing license include
2020-06-22 13:42:39 +02:00
Maxime Gimeno
722fa93927
More fixes
2020-06-15 16:05:49 +02:00
Maxime Gimeno
857dcaceb9
Add missing find_package(Qt5) for Hyperbolic_triangulation_2 demo
2020-06-12 09:38:27 +02:00
Maxime Gimeno
e9d41d7b7d
Fixes for min/max
2020-04-21 11:38:37 +02: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
Sébastien Loriot
0a46621dc6
Merge branch 'cgal/releases/CGAL-4.14-branch'
...
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot
590612a563
run the script to remove tabs and trailing whitespaces
2020-03-26 13:25:16 +01:00
Sébastien Loriot
b13e116919
Manual removal of license notice + fix SPDX flags
2019-10-19 17:00:08 +02: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
Laurent Rineau
67c3e26859
Merge branch 'releases/CGAL-4.14-branch'
2019-09-10 09:19:06 +02:00
Maxime Gimeno
2f483bb023
Add misisng include_directories to HDT2 demo
2019-09-10 09:05:16 +02:00
Laurent Rineau
df99307140
Merge branch 'releases/CGAL-4.14-branch'
2019-09-09 16:48:23 +02:00
Laurent Rineau
9abee11ee8
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-09-09 16:43:29 +02:00
Laurent Rineau
94d654b9ab
Fill CGAL_EXECUTABLE_TARGETS wherever that was missing
2019-09-04 14:19:54 +02:00
Maxime Gimeno
92c9250855
Add some caching in new demos
2019-08-16 12:26:24 +02:00
Maxime Gimeno
3513016dcf
Updates for ctest with visual generator
2019-08-16 12:22:11 +02:00
Sébastien Loriot
2e747dd300
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' into HEAD
2019-07-18 17:01:42 +02:00
Maxime Gimeno
d21709d0bd
More ->matrix() replaced
2019-07-10 11:58:13 +02:00
Sébastien Loriot
983645a51a
match @{ and @}
2019-07-05 21:49:46 +02:00
Laurent Rineau
4fbf00fb8a
CMake>=3.13: opt for for new policies up to 3.15
2019-06-19 14:34:59 +02:00
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +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
1398af1b0b
Merge remote-tracking branch 'cgal/master' into HEAD
2019-04-12 17:44:31 +02:00
Simon Giraudot
d314711eaf
Merge remote-tracking branch 'mine/Stream_support-Enhance_color-GF' into Stream_support-Enhance_color-GF
2019-04-09 15:00:56 +02:00
Laurent Rineau
138e1b4d64
Fix the link error on Windows (non header-only)
2019-04-04 13:39:18 +02:00
Maxime Gimeno
ecff35a7e9
Replace the CMP0054 spec by the right cmake_required_version
2019-04-03 13:14:40 +02:00
Andreas Fabri
13010e9f13
Fix hyperbolic triangulation example
2019-04-03 11:51:30 +02:00
Maxime Gimeno
22caa66feb
Fix CMP0054 warning in hyperbolic triangulation demos
2019-04-03 11:07:13 +02:00
Maxime Gimeno
57692b2ddc
Rename executable from demos so it is tested in the testsuite.
2019-04-02 15:18:04 +02:00
Laurent Rineau
a576aed133
Merge branch 'master' into CGAL-Exact_algebraic-GF
2019-03-27 10:20:53 +01:00
Laurent Rineau
d4e09c1d78
Modernize the CMakeLists.txt that use LEDA
...
The file `${CGAL_USE_FILE}` must be included before
`find_package(LEDA)` can be called. But that would require to verify
`CGAL_FOUND` first...
Actually, now that we require at least CMake 3.1, let's say that CGAL
is `REQUIRED`, but not the components. That is the basic truth, and
that avoids testing for `CGAL_FOUND`.
At the same time, I have modified the `cmake_minimum_required`:
- placed as the first line,
- set to `3.1...3.13`:
https://cmake.org/cmake/help/latest/command/cmake_policy.html#setting-policies-by-cmake-version
I have also removed the comments that says the `CMakeLists.txt` was
generated. That may have been true... but before a lot of modifications.
2019-03-27 09:56:16 +01:00
Andreas Fabri
0c0d5e1cfb
Fix my fix
2019-03-26 18:11:38 +01:00
Andreas Fabri
9061510d86
Fix Periodic_4_hyperbolic_triangulation_2
2019-03-26 17:44:22 +01:00
Maxime Gimeno
e2becb4e54
Fix warning for CMP0071
2019-03-25 10:24:33 +01:00
Maxime Gimeno
9e71d9fc23
Merge pull request #3744 from afabri/CGAL_backtick_GF
...
Periodic and Hyperbolic triangulations: backtick
2019-03-12 17:04:12 +01:00
Andreas Fabri
a0be3b44af
Periodic and Hyperbolic triangulations: backtick
2019-03-08 09:57:57 +01:00
Laurent Rineau
20772a9a44
Fix the notice
2019-03-07 10:22:00 +01:00
Laurent Rineau
2a5ebb2089
Fix the use of resources
...
The key issue was that the `CMakeLists.txt` was not using
`CGAL_Qt5_RESOURCE_FILES`, and instead the author decided to copy the
resources and qrc files.
2019-03-07 09:22:11 +01:00
albert-github
ff3a5174bd
CSS properties and values separated by semicolons
...
CSS properties and values should be separated by semicolons but here the width property was followed by an equal sign.
2019-02-27 18:32:40 +01:00