Commit Graph

883 Commits

Author SHA1 Message Date
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 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 851d03dadb merge master 2025-05-07 09:13:11 +01:00
Sébastien Loriot c5ab9f9adc Merge remote-tracking branch 'cgal/6.0.x-branch' into cgal/master 2025-04-10 18:19:14 +02:00
Sebastien Loriot b33204d5f2
Spatial_search: Duplicate point handling (#8705)
## Summary of Changes

stop splitting nodes if the contained points are only duplicates

## Release Management

* Affected package(s): dD Spatial Searching
2025-04-10 18:08:30 +02:00
Sven Oesau 9d1a089abf missing dimension in constructor
removing default constructor for dynamic dimension Kd_tree_rectangle
2025-04-08 11:28:37 +02:00
Sébastien Loriot cc77715588 Merge pull request #6849 from JulyCode/gsoc2022-isosurface
Isosurfacing_3 (new package)
2025-04-03 21:41:22 +02:00
Mael Rouxel-Labbé 691fd789f9 Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2025-03-24 21:34:55 +01:00
Mael Rouxel-Labbé a06a6a35b9 Use std::invoke_result and not result_type to get the return type 2025-03-16 13:27:07 +01:00
Andreas Fabri 6eaeb7a148 merge cgal/master 2025-02-28 08:55:20 +00:00
Sven Oesau fc254c3c03 fix warning 2025-02-24 14:47:09 +01:00
Sven Oesau 295f6488be documenting that Median_of_rectangle splitter is robust
bugfix
2025-02-11 22:36:31 +01:00
Sven Oesau 934054c9ba documenting that Median_of_rectangle splitter is robust
bugfix
2025-02-10 17:15:56 +01:00
Sven Oesau fc08cf5fb2 switching to number_utils.h instead of basic.h 2025-02-10 14:54:03 +01:00
Laurent Rineau 8eefb7f173 Merge branch 'master' into pr/lrineau/8273 2025-02-07 16:10:52 +01:00
Sven Oesau 636721e7f5 doc typo fix 2025-02-06 13:09:58 +01:00
Sven Oesau 88163cc512 typo fix 2025-02-06 13:03:41 +01:00
Sven Oesau 531e612e5f fix warnings 2025-02-06 10:34:41 +01:00
Sven Oesau 9f049bd425 added missing header 2025-02-05 14:40:43 +01:00
Sven Oesau 61ab2d3bfd bugfix 2025-02-05 13:47:31 +01:00
Sven Oesau 408730b30a Median_of_rectangle: prevent using largest span of bbox as split axis when actual spread is 0 2025-02-05 13:29:02 +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
Sven Oesau 48569ff99c prevent linearity in median splitters due to duplicated points 2025-01-30 16:55:51 +01:00
Sven Oesau 5b28489b16 fixed test_pmp_distance 2025-01-23 11:00:44 +01:00
Sven Oesau 4228eef10a stop splitting nodes if the contained points are only duplicates 2025-01-21 11:51:03 +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 4d08302a1f use std header 2024-12-23 09:48:13 +01:00
Andreas Fabri 8ac187cc7d Fix for example Spatial_searching_2user_defined_point_and_distance.cpp 2024-12-16 17:15:38 +00:00
Sébastien Loriot b32558b87e Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-12-16 11:47:34 +01:00
Sébastien Loriot 797dde5985 Merge remote-tracking branch 'cgal/6.0.x-branch' 2024-11-08 16:11:22 +01:00
Sébastien Loriot 3abf5e760d Merge remote-tracking branch 'cgal/5.6.x-branch' into HEAD 2024-11-08 16:09:32 +01:00
Sébastien Loriot a831f0e855 fix function signature 2024-11-05 09:37:00 +01:00
Laurent Rineau fb2a9eac90 Merge remote-tracking branch 'cgal/master' into pr/afabri/8528 2024-10-21 16:32:51 +02:00
Andreas Fabri 4f0b40683e Spatial_searching: Do not quiet warning in CMakeLists.txt 2024-10-09 08:36:18 +01:00
Andreas Fabri 527569346e CGAL: Modernize CMakeLists.txt 2024-10-08 17:02:41 +01:00
Mael Rouxel-Labbé 67aba3fefe Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-06-20 10:18:49 +02:00
Laurent Rineau 32893b91c0 Merge pull request #8263 from lrineau/CGAL-update_minimal_cmake-GF
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-12 10:06:12 +02:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
albert-github 36c8b7589d Spelling corrections
Last batch (for now) of spelling corrections in doxygen and normal comments
2024-05-31 19:05:34 +02:00
Jane Tournois 6a42415cb3 Merge remote-tracking branch 'cgal/master' into Tet_remeshing-with_sizing_field-jtournois 2024-04-29 11:02:07 +01:00
Niklas Hambüchen 3b6a821105 kd-tree: Deallocate Point pointer vector after build().
This

    vector<const Point_d*> data;

is no longer needed after being `.clear()`ed at the end of `build()`.
This can save a good amount of memory, a `Point_d*` on a 64-bit system
is 8 bytes; almost as large as a typical 3-float `Point_d`.

There's no point keeping its capacity, since any call to `build()`
will efficiently `.reserve()` it anyway.
2024-04-22 01:32:16 +02:00
Jane Tournois 258b4d3c82 introduce new constructor in Kd_tree 2024-03-07 15:12:47 +01:00
Mael Rouxel-Labbé 984a541006 Fix usages of 'th `th 2024-01-23 21:50:04 +01:00
Sebastien Loriot caecbe29c7
Replace boost::mpl (#7813)
- `boost::mpl::if_` --> `std::conditional`
- `boost::enable_if` -> `std::enable_if`
- `boost::mpl::and_` -> `&&`
- `boost::mpl::or_` -> `||`
- `boost::constant::bool_` -> `std::bool_constant`
- ...
2023-12-26 17:33:36 +01:00
Andreas Fabri f9e405f004 Adress warning 2023-12-01 11:20:12 +00:00
Andreas Fabri c018e0fe7c The example itself 2023-11-27 12:54:26 +00:00
Andreas Fabri 65621c2e9e Spatial Searching: Add example storing triangulation vertices 2023-11-27 12:51:20 +00:00
Sébastien Loriot 8700394122 boost::mpl::if_ -> std::conditional 2023-09-24 22:57:20 +02:00
Laurent Rineau 46923342ad Merge pull request #7576 from albert-github/feature/issue_7395
issue #7395 Improvement of layout of model relations

# Conflicts:
#	Kernel_23/doc/Kernel_23/CGAL/Vector_2.h
2023-09-07 10:48:34 +02:00
Laurent Rineau 6ce966767b Merge pull request #7660 from afabri/Arrangement-typo-GF
Arrangement: small doc fixes
2023-09-07 10:46:26 +02:00