Commit Graph

105257 Commits

Author SHA1 Message Date
JacksonCampolattaro d0fa6ed68b Add missing license header 2023-09-01 17:19:29 +02:00
JacksonCampolattaro 40b2c0dff0 Convert nearest neighbor methods to free functions 2023-09-01 17:16:54 +02:00
JacksonCampolattaro b7a8571077 Update empty quadtree to use functors 2023-09-01 16:50:31 +02:00
JacksonCampolattaro e9ca3cc561 Update face graph traits to use functors 2023-09-01 16:43:26 +02:00
JacksonCampolattaro 599a10cf0e Merge remote-tracking branch 'origin/orthtree-generalization' into orthtree-generalization 2023-09-01 16:17:06 +02:00
JacksonCampolattaro 59fafe8e3a Fix issues with superfluous Node typedefs 2023-09-01 16:16:30 +02:00
Sébastien Loriot 40a08f1416 add missing license include 2023-09-01 14:52:26 +02:00
JacksonCampolattaro 6de261e5f4 Rename test_Properties to resolve naming collision 2023-09-01 14:48:08 +02:00
Sébastien Loriot aae6c1ba95 add missing license/copyright and fix protection macro 2023-09-01 13:07:00 +02:00
Sébastien Loriot 28dc304676 Merge branch 'cgal/master' 2023-09-01 13:03:05 +02:00
JacksonCampolattaro 77f240b1b6 Delete Orthtree::Node class, now used nowhere 2023-08-31 12:48:52 +02:00
JacksonCampolattaro 4a379e575b Delete old Properties system, no longer in use anywhere 2023-08-30 15:45:46 +02:00
JacksonCampolattaro 2d8f7d483d Rename Properties.h for clarity 2023-08-30 15:32:38 +02:00
JacksonCampolattaro 07c671e6e9 Convert methods to functor objects for consistency (proof-of-concept) 2023-08-29 19:13:11 +02:00
Laurent Rineau a04ecc2a67 Merge branch '5.6.x-branch' 2023-08-28 15:51:41 +02:00
Laurent Rineau 603d2b24b2 Merge pull request #7628 from lrineau/Scripts-fix_cgal_create_release_with_cmake.cmake-GF
cgal_create_release_with_cmake.cmake: only call Git one
2023-08-28 15:45:15 +02:00
Laurent Rineau eb70c2f310 Merge pull request #7650 from sloriot/K23-compare_dihedral_angle_deg_tet
Be more permissive in Compare_dihedral_angle_3
2023-08-28 15:45:12 +02:00
Laurent Rineau f751aef233 Merge pull request #7653 from sloriot/IO-fix_optional_istream
Fix istream for optional
2023-08-28 15:45:05 +02:00
Laurent Rineau 9c9a2690fb Merge branch '5.5.x-branch' into 5.6.x-branch 2023-08-28 15:44:06 +02:00
Laurent Rineau ef998bded5 Merge pull request #7650 from sloriot/K23-compare_dihedral_angle_deg_tet
Be more permissive in Compare_dihedral_angle_3
2023-08-28 15:43:59 +02:00
Laurent Rineau 55ff318676 Merge pull request #7650 from sloriot/K23-compare_dihedral_angle_deg_tet
Be more permissive in Compare_dihedral_angle_3
2023-08-28 15:43:29 +02:00
Laurent Rineau f499b63534
Update features_detection.h 2023-08-28 14:07:24 +02:00
Sebastien Loriot f879c68155
Test earlier
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-08-21 11:32:12 +02:00
Sebastien Loriot b2be6dbbef fix istream for optional
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2023-08-18 09:35:45 +02:00
Sebastien Loriot 5a962eb198
Using c++17 standard library (#7526)
use std::shared_ptr, std::optional, std::variant, ...

These are important changes since they appear in the CGAL API and thus
are breaking changes.

includes #7416
2023-08-18 09:35:22 +02:00
Sébastien Loriot 73cf624d0f be more permessive
do not throw an error but return SMALLER
The collinearity check being already do in the predicate it
would be more expensive to do it also before calling the
predicate
2023-08-16 09:59:44 +02:00
Sébastien Loriot d6c04e3b8a do not use ref wrapper 2023-08-16 09:17:58 +02:00
Sébastien Loriot f1f6126f1c add missing IO namespace 2023-08-16 09:11:30 +02:00
Sébastien Loriot d8a6478b57 remove another use of deprecated API 2023-08-16 09:02:28 +02:00
Sébastien Loriot eada3ee8ca Merge branch 'master' into 'sloriot/CGAL-using_c++17_stl' 2023-08-14 14:19:25 +02:00
Sebastien Loriot b534d12620
Locate.h: Use Face_location / Barycentric_coordinates everywhere (#7638)
## Release Management

* Affected package(s): `PMP`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2023-08-14 14:11:02 +02:00
Sébastien Loriot ed71cfdaa0 Merge pull request #7445 from afabri/Mesh_3-doc_fixes-GF
Mesh_3: Improvements of the Documentation
2023-08-14 14:06:16 +02:00
Sébastien Loriot 5db243629a try working around an error with MSVC2017
`error C2338: Sorry: std::any doesn't support over-aligned types at this time.`
2023-08-14 14:02:39 +02:00
Sebastien Loriot 65764b5c6f
Minor improvements to the documentation of `PMP::orient_polygon_soup()` (#7639)
## Release Management

* Affected package(s): `PMP`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2023-08-14 12:00:31 +02:00
Sebastien Loriot 464930ec2b
Fix connect infinite loop in heat method plugin (#7605)
## Summary of Changes

The proper fixes would be to prevent the "reset colors" and the creation
of a selection item from emitting "item changed": in neither case the
item changed. Future work...

## Release Management

* Affected package(s): `Polyhedron`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2023-08-14 11:58:26 +02:00
Sebastien Loriot bdbba81ea9
Spelling corrections (#7624)
Spelling corrections `a e...` -> `an e...`
2023-08-14 11:57:58 +02:00
Sebastien Loriot c5cf3d9915
Edge insertion for CMap/GMap (#7409)
_Please use the following template to help us managing pull requests._

## Summary of Changes

Added the function `insert_cell_1_between_two_cells_2()` into
`GenericMap` concept, which allows users to insert an edge between two
different faces allowing to create faces with holes.

## Release Management

* Affected package(s): CMap/GMap
* Feature/Small Feature (if any):
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Insert_edge_CMap/GMap
* 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:
2023-08-14 11:55:26 +02:00
Sébastien Loriot 44e143e931 Merge remote-tracking branch 'cgal/5.6.x-branch' into 'cgal/master' 2023-08-14 11:54:13 +02:00
Sebastien Loriot d0b188bf41
patch to support PowerPC and Windows 32 bits (#7635)
## Summary of Changes

Patch required for the acceptance of CGAL-5.6 in vcpkg. The CI system
tests on `x86_windows` (32 bits), and there was an error:
```
D:\installed\x86-windows\include\CGAL/cpp_float.h(30): error C3861: '_BitScanForward64': identifier not found
D:\installed\x86-windows\include\CGAL/cpp_float.h(42): error C3861: '_BitScanReverse64': identifier not found
```
See
https://github.com/microsoft/vcpkg/pull/32896#issuecomment-1662117705

The solution is do disable support for Boost MP on Windows 32 bits. That
patch has been tested with the vcpkg CI, and it worked.

## Release Management

* Affected package(s): Number_types
* Issue(s) solved (if any): patch required by
https://github.com/microsoft/vcpkg/pull/32896
2023-08-14 11:53:29 +02:00
Sebastien Loriot 2f3588b156
Add `CGAL/version_checker.h` (#7528)
## Summary of Changes

Following discussion #7525 I added the header `version_enforcer.h`

In the general case, it has nothing to check. If the user includes his
own fork of `version_enforcer.h` with a given number of CGAL version,
then the check happens.

## Release Management

* Affected package(s): Installation
2023-08-14 11:50:58 +02:00
Sébastien Loriot db9b8e70b3 Merge remote-tracking branch 'cgal/5.5.x-branch' into 'cgal/5.6.x-branch' 2023-08-14 10:22:35 +02:00
Sebastien Loriot c5902cbcd4
reproject barycenter to avoid boundary shrinking (#7633)
Fixes #7631
2023-08-14 10:21:45 +02:00
Sebastien Loriot 0a11c725b5
Apollonius_graph: Fix return type in the documentation (#7619)
## Summary of Changes

Fix the return type. Document the third template parameter of
`Apollonius_graph_vertex_base_2`.

## Release Management

* Affected package(s): `Apollonius_graph_2`
* Issue(s) solved (if any): fix #7582 and #7579
* Link to compiled documentation:
[link](https://cgal.github.io/7619/v0/Apollonius_graph_2/classCGAL_1_1Apollonius__graph__2.html#a6e6e1b20ab5018c96e4b0ed2c0f0ee00)
and [here
](https://cgal.github.io/7619/v0/Apollonius_graph_2/classCGAL_1_1Apollonius__graph__vertex__base__2.html#acbabb6d26d4d8938bde5bbd6c6e467eb)for
the vertex base.
* License and copyright ownership:  unchanged
2023-08-14 10:21:28 +02:00
Sébastien Loriot 2549f47191 fix other warnings 2023-08-10 17:29:28 +02:00
Sébastien Loriot 71347f28a8 remove unused variable 2023-08-09 09:00:38 +02:00
Sébastien Loriot 99066b4363 hide unused type 2023-08-09 08:59:26 +02:00
Sébastien Loriot b7cebad9d3 do not use deprecated API 2023-08-09 08:56:50 +02:00
Sébastien Loriot 10c1796c2a fix unused variable warnings 2023-08-09 08:49:42 +02:00
Sébastien Loriot 6b24eed462 try resolving ambiguity 2023-08-09 08:46:34 +02:00
Sébastien Loriot 61874d15e1 do not use deprecated code 2023-08-09 08:36:44 +02:00