Commit Graph

2124 Commits

Author SHA1 Message Date
Sebastien Loriot 85ef57ffa1
CDT_3 bug-fix: throw exceptions instead of raw crashs (like segfaults) (#9089)
## Summary of Changes

Bug-fix for `CGAL::Conforming_constrained_Delaunay_triangulation_3` in
CGAL-6.1.

## Release Management

* Affected package(s): Constrained_triangulation_3
* License and copyright ownership: GeometryFactory
2025-11-21 17:40:00 +01:00
Sebastien Loriot 3ebe9203a7
Fix PMP on i386/i686 (32 bits, with the x87 FPU) (#8911)
## Summary of Changes

Fix PMP on i386/i686 (32 bits, with the x87 FPU).

## Release Management

* Affected package(s): PMP, Number_types
2025-11-20 10:28:31 +01:00
Sébastien Loriot a9b369650a Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/6.1.x-branch' 2025-11-06 10:04:46 +01:00
Sven Oesau 9e36c6744b adding support for Eigen3 5.0.0
moving the Eigen3 version check into CGAL_Eigen3_support.cmake
2025-11-06 10:01:01 +01:00
Laurent Rineau 7f4703e248 fix a warning 2025-10-31 09:47:34 +01:00
Sébastien Loriot c02da896fb Merge remote-tracking branch 'cgal/6.0.x-branch' in 'cgal/6.1.x-branch' 2025-09-15 18:19:34 +02:00
Laurent Rineau fdbbb776bc disable Check_FPU_rounding_mode_is_restored on demand 2025-09-10 16:08:52 +02:00
Sébastien Loriot 766be48f1b add missing protection 2025-09-09 20:11:25 +02:00
Sébastien Loriot b2ba32307c Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/6.1.x-branch' 2025-08-13 18:07:09 +02:00
Sébastien Loriot 419057ece4 Merge remote-tracking branch 'cgal/5.6.x-branch' into 'cgal/6.0.x-branch' 2025-08-13 18:05:54 +02:00
Sébastien Loriot 29e6836e9c we need to support all types of objects 2025-08-07 18:44:34 +02:00
Sebastien Loriot ba424ed028
Update Number_types/doc/Number_types/CGAL/MP_Float.h
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2025-07-23 16:59:15 +02:00
Marc Glisse 28790e8da9 Reference Mpzf/Gmpzf/MP_Float from each other's doc 2025-07-23 13:54:06 +02:00
Laurent Rineau e187dc03cb fix 2025-07-02 15:45:22 +02:00
Sebastien Loriot 30b3388446
New package: Frechet Distance (#8284)
## Summary of Changes

Add a new package computing the approximate Fréchet distance between two
polylines in dD under Euclidean metric, or decides if the distance is
smaller than a given value.

## Release Management

* Affected package(s): Frechet_distance
* Feature (if any):
[link](https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Frechet_Distance)
* License and copyright ownership:  MPI, GeometryFactory, cnrs(?)

## TODO:
- [x] check branch size (@sloriot)
- [x] Make it work with `Epick_d<Dimension_tag<2>>` @sloriot
2025-06-05 16:08:47 +02:00
Sébastien Loriot ad20fa497a always declare a value you are using 2025-06-03 18:44:59 +02:00
Laurent Rineau b66c3743ec fix FPU_get_cw with CGAL_ALWAYS_ROUND_TO_NEAREST 2025-05-28 00:52:20 +02:00
Sébastien Loriot eb368a5625 Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/master' 2025-05-26 12:02:37 +02:00
Sébastien Loriot 4d13a4d509 better links 2025-05-22 18:56:23 +02:00
Sébastien Loriot 6d4dccdcd2 update links 2025-05-22 18:29:50 +02:00
Sébastien Loriot 13609a6966 no need to repeat the package name as it is on the line above 2025-05-22 17:53:41 +02:00
Andreas Fabri 821514ef5b double group definition 2025-05-22 15:51:10 +01:00
Andreas Fabri d8298ae790 Fixes 2025-05-22 13:17:16 +01:00
Andreas Fabri 1ec16b9ac7 Add section on boodt::mp 2025-05-22 11:01:55 +01:00
Andreas Fabri 6eaeb7a148 merge cgal/master 2025-02-28 08:55:20 +00:00
Sebastien Loriot 8c8618ad04
Remove check doc todos (#8738)
We can consider them as done now
2025-02-19 07:13:33 +01:00
Sébastien Loriot 66965f3a07 remove todo 2025-02-14 11:03:32 +01:00
Sébastien Loriot 043becfe7f Merge pull request #8273 from lrineau/CGAL-followup_PR_8170-lrineau
Improvement backports from CDT_3 branch (Follow-up to PR #8170)
2025-02-12 19:43:35 +01:00
Sebastien Loriot 925c15fd98
Correct documentation mistakes in double.h and long_double.h (#8729)
## Release Management

* Affected package(s):
* Issue(s) solved (if any): fix #7781 #7782 
* Feature/Small Feature (if any):
* Link to compiled documentation (obligatory for small feature) [*wrong
link name to be changed*](httpssss://wrong_URL_to_be_changed/Manual/Pkg)
* License and copyright ownership:
2025-02-12 19:39:16 +01:00
Léo Valque bfc8f2ca80 Replace four almost identical sentences in int.h by one 2025-02-10 10:30:31 +01:00
Léo Valque bc35e39e1c add the cgalModels to int.h 2025-02-07 16:54:06 +01:00
Léo Valque 30a8e52c51 Replace Sqrt with KthRoot and modify description of longlong int 2025-02-07 16:19:29 +01:00
Laurent Rineau 8eefb7f173 Merge branch 'master' into pr/lrineau/8273 2025-02-07 16:10:52 +01:00
Léo Valque d76edec2f0 Correct documentation mistakes in double.h and long_double.h 2025-02-06 14:29:58 +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 e1e94a1304 fix a warning from UBSAN (in a postcondition) 2025-01-24 18:14:29 +01:00
Laurent Rineau d4e6ffddf4 fix protection against min/max macros
The regular expression I used was:

```
((?!(?:^.*(\/\/|\/\*).*|^ *\* .*|^[^"]*"(?:"[^"]*"|[^"])*))^(?:.*[ ,\(]|))(\b(?:(?:[A-Za-z]+::)*)(?:max|min))\b *\(
```
2025-01-14 16:12:34 +01:00
Sébastien Loriot b9a28e999a disambiguate = 2025-01-03 10:47:19 +01:00
Andreas Fabri 07e98a69b4 Merge remote-tracking branch 'cgal/master' into Frechet-dev 2024-12-09 07:45:25 +00:00
Sébastien Loriot 11640a3946 Merge remote-tracking branch 'cgal/6.0.x-branch' in master 2024-12-04 14:13:01 +01:00
mbarbier 56f57215b6 Fixing ICPC usage with modern cmake and wrappers
Related to conan's conan-io/conan-center-index#25843

replaced 'fp-model strict' by 'fp-model=strict' https://www.intel.com/content/www/us/en/docs/cpp-compiler/developer-guide-reference/2021-8/fp-model-fp.html
for more compatibility with nvcc. as 'fp-model=strict' will be directly
transmited to the compiler while 'fp-model strict' will have 'strict'
being treated as a file input.

Also added a CXX only filter for newer cmake 3.3+
2024-11-27 09:19:23 +00:00
Sébastien Loriot e7686bee60 revert commit d61a3e302d30a6a2a59f20fbab6481a4d01f7d61
Merge: efc600e562e 0b6b64a390
	Author: Sébastien Loriot <sebastien.loriot@cgal.org>
	Date:   Fri Nov 15 11:41:23 2024 +0100

    	Merge pull request #8611 from sloriot/NT-sqrt_rounding
2024-11-20 18:04:19 +01:00
Sébastien Loriot 42d435c9da add assertion to make sure that the rounding mode is good prior to the call 2024-11-20 18:01:52 +01:00
Sébastien Loriot 1f9ac79f75 Merge pull request #8611 from sloriot/NT-sqrt_rounding
Remove extra rounding mode changes for sqrt for interval
2024-11-15 11:41:23 +01:00
Sébastien Loriot c050bb15a3 Merge remote-tracking branch 'cgal/master' 2024-11-15 11:41:07 +01:00
Sébastien Loriot 0b6b64a390 do not change the rounding mode since protector is already created before 2024-11-15 11:33:51 +01:00
Sebastien Loriot 1690619625
CGAL: Modernize CMakeLists.txt (#8528)
## Summary of Changes

- Changed `PUBLIC` to `PRIVATE`  in the `target_link_libraries()`
- ~~Link against `Boost::<COMPONENT>`~~ as we do more than just linking
and must use the `CGAL::_.._support`
- Use `target_compile_definitions()` and `add_compile_definitions()`

More to be done.

## Release Management

* Affected package(s): all
* Issue(s) solved (if any): fix one item of  #4815
* License and copyright ownership: unchanged
2024-10-31 10:32:25 +01:00
Sébastien Loriot 3d4f2a3dd8 add copy/init from the same type but with the opposite caching strategy 2024-10-25 08:57:31 +02:00
Sébastien Loriot 7c4badc67c Merge pull request #8501 from afabri/CGAL-assert-GF
assert() ->  CGAL::assertion()
2024-10-21 19:17:21 +02:00
Laurent Rineau 96cd3e6f09 Merge remote-tracking branch 'cgal/master' into pr/afabri/8528 2024-10-17 00:25:24 +02:00