Commit Graph

5127 Commits

Author SHA1 Message Date
Sébastien Loriot 9ff709885a Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-09-06 16:07:49 +02:00
Sébastien Loriot 98f4633e5f Merge remote-tracking branch 'cgal/5.5.x-branch' 2024-09-06 16:07:14 +02:00
Sebastien Loriot abd0a58338
Installation - update `FindOpenMesh.cmake` (#8332)
## Summary of Changes

This PR updates CGAL's `FindOpenMesh.cmake`, accordingly with the one
provided by OpenMesh 11.0, and introducing the target
`OpenMesh::OpenMesh`

## Release Management

* Affected package(s): Installation
* License and copyright ownership: unchanged
2024-09-06 13:26:41 +02:00
Sebastien Loriot 368d6010cb
Update CHANGES.md (#8457)
Some changes for Mesh 3 are in the wrong place.

_Please use the following template to help us managing pull requests._

## Summary of Changes

_Describe what your pull request changes to CGAL (this can be skipped if
it solves an issue already in the tracker or if it is a Feature or Small
Feature submitted to the CGAL Wiki)._

## Release Management

* Affected package(s):
* Issue(s) solved (if any): fix #0000, fix #0000,...
* 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:
2024-09-04 15:29:00 +02:00
Guillaume Damiand a0276c9d74
Update CHANGES.md
Some changes for Mesh 3 are in the wrong place.
2024-09-04 08:15:02 +02:00
Sébastien Loriot b46e4359b1 make it work also for installed version 2024-09-03 15:52:51 +02:00
Sébastien Loriot cb78abd603 fixes for latest version of LAStools + be compatible with CONFIG mode
provided CMAKE_FIND_PACKAGE_PREFER_CONFIG is set to TRUE
2024-09-03 14:20:20 +02:00
Sébastien Loriot e791122b35 handle cases when LASZIP and LASLIB have different include paths 2024-09-03 09:59:02 +02:00
Sven Oesau a82fb5088b allow use of Rapidlasso Laslib as alternative to CGALs fork 2024-08-30 10:14:36 +02:00
Sébastien Loriot af8e134aa6 doc boost mp as gmp replacement 2024-08-28 14:04:57 +02:00
Jane Tournois 603f6a5a03 OpenMesh >= 10.0 have a OpenMeshConfig.cmake file
so we do not need FindOpenMesh.cmake anymore

We add the target CGAL::OpenMesh_support to make it uniform with other dependencies
2024-08-27 14:00:46 +02:00
Jane Tournois 328c919d67 wip CGAL_OpenMesh_support 2024-08-27 11:01:32 +02:00
Laurent Rineau 02a38472a1 reformat the REUSE.toml file (readability), add natvis files 2024-08-23 15:43:53 +02:00
Sebastien Loriot 07d33dc316
Update to REUSE tools v4 (#8350) 2024-08-19 11:18:34 +02:00
Sebastien Loriot 862a3b6539
Update CMakeLists.txt for recent VTK to fix CMake Warning (#8279)
## Summary of Changes

Versions >= 9 of VTK trigger the following CMake warning using CGAL's
CMakeLists
```
CMake Deprecation Warning at C:/dev/VTK-9.2.2/build/lib/cmake/vtk-9.2/vtk-use-file-deprecated.cmake:1 (message):
  The `VTK_USE_FILE` is no longer used starting with 8.90.
Call Stack (most recent call first):
  CMakeLists.txt:32 (include)
```

I suggest this modification of the CMakeLists of Mesh_3 examples, that
also requires moving to VTK 9 (9.0 was released in 2020).
If this modification and new requirement are validated, I can apply the
change everywhere.

## Release Management

* Affected package(s): Mesh_3 for now
* License and copyright ownership: unchanged
2024-08-19 11:14:31 +02:00
Laurent Rineau a965b13bfe fix CI 2024-07-11 17:26:57 +02:00
Laurent Rineau 0babd3148a update to REUSE tools v4 2024-07-11 17:20:02 +02:00
Jane Tournois d45c4a2b2e update FindOpenMesh.cmake 2024-07-03 14:00:50 +02:00
Laurent Rineau 78a4865416 prepare for 6.0-beta2 2024-06-21 18:44:43 +02:00
Laurent Rineau 6f4b598b6a Merge pull request #8278 from albert-github/feature/bug_spell_20240511
Spelling correction
2024-06-13 12:48:43 +02:00
Laurent Rineau 1b534cd347 Merge pull request #8248 from sloriot/CGAL-deprecate_Surface_mesher
deprecate Surface_mesher package
2024-06-12 10:06:14 +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 f3b409a807 require VTK version 9.0 or later 2024-06-11 15:57:25 +02:00
albert-github c35a0a7f11 Spelling correction
Spelling correction due to updated dictionary.
(dictionary was updated after the previous spelling correction :-( )
2024-06-11 10:12:12 +02:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
Sébastien Loriot b352f28627 deprecate Surface_mesher package 2024-06-03 18:08:47 +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
Sven Oesau 4c86f01019 fixed typo for cmake include directory variable 2024-05-28 14:31:50 +02:00
Laurent Rineau 2cc9ca739c
Prepare CHANGES.md for 6.0 (#8226) 2024-05-27 16:46:53 +02:00
Laurent Rineau c48436f473
Update CHANGES.md 2024-05-27 16:44:04 +02:00
Mael Rouxel-Labbé 4ffaf11b99 Misc fixes 2024-05-27 12:07:02 +02:00
Sebastien Loriot d06a57a292
Mesh_3 edge_distance criterion : an upper bound for the distances of the feature edge to the input feature (#7532)
## Summary of Changes

Fixes issue #5110.
Adds a edge_distance criteria to the mesh generation process.
This criteria is an upper bound for the distance from the edge to the 1D
feature.

## Release Management

* Affected package(s): Mesh_3
* Issue(s) solved (if any): fix #5110
* Link to small feature page :
[Mesh_3_edge_distance_criteria](https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Mesh_3_edge_distance_criteria)
* Link to compiled documentation
[*here*](https://cgal.github.io/7532/v1/Manual/index.html):
*
[Mesh_edge_criteria_3](https://cgal.github.io/7532/v1/Mesh_3/classCGAL_1_1Mesh__edge__criteria__3.html)
  * [Mesh_criteria_3](https://cgal.github.io/7532/v1/Mesh_3)
2024-05-27 10:58:15 +02:00
Sven Oesau 4d3f36b8ff added kinetic shape partition and kinetic surface reconstruction 2024-05-27 08:29:14 +02:00
Sébastien Loriot 61decadd31 Merge pull request #7908 from soesau/Kinetic_surface_reconstruction-new_package-soesau
Kinetic Surface Reconstruction
2024-05-26 17:53:54 +02:00
Sebastien Loriot 596fa09e20
Kinetic Shape Partition (#7198)
PR for Kinetic Partitioning and Reconstruction feature.

* Affected package(s): Kinetic Partitioning and Reconstruction
* Issue(s) solved (if any): 
* Feature/Small Feature (if any):
[link](https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Kinetic_Shape_Partition_3)
* Link to compiled documentation:
[link](https://cgal.github.io/7198/v0/Manual/packages.html#PkgKineticSpacePartition)
* License and copyright ownership:  GeometryFactory/Inria

**TODO:**
- [x] check branch size (for @sloriot)
2024-05-26 17:51:49 +02:00
Sebastien Loriot 132b932061
Prepare CGAL 6.0-beta1 (#8224) 2024-05-26 17:51:19 +02:00
Sebastien Loriot abe1bba8bd
CGAL improvement backported from CDT_3 branch (#8170)
## Summary of Changes

Important various fixes and improvements, from an experimental branch of
mine about CDT_3.

- <s>remove CMake warnings about `VTK_USE_FILE`</s> (our testsuite tests
with [VTK-8.2](https://docs.vtk.org/en/latest/release_details/8.2.html),
whereas
[VTK-9.0](https://docs.vtk.org/en/latest/release_details/9.0.html) was
released four years ago).
- make `Circulator_from_container` compatible with ranges (instead of
just containers)
- `Hash_map` is move-constructible and -assignable
- add preliminary support for C++20 concepts and `<format>`
- [x] add `Compare_angle_3(Point_3, Point_3, Point_3, Point_3, Point_3,
Point_3)` (with six points) **TODO: needs doc**... will be handled later
in issue #8219
- [x] **breaking changes:** add `Compare_xy_2` to
`TriangulationTraits_2` <s>TODO: needs announcement</s>
- fix `Compact_container` time stamp feature
- [x] commits from #7410 **That is probably a problem, to be fixed.**
**fixed in #7410 and then my the merge
70464ea107**
- add `CGAL::Scope_exit`, `CGAL::make_scope_exit`, for CGAL developers
(undocumented)
- add an overload of `make_sorted_pair` with only one pair-like argument
- improve `CGAL::IO::Output_ref` and `oformat`
- perf improvements in
`TDS_3/include/CGAL/Triangulation_data_structure_3.h` (`is_edge` is 7
times faster)
- <s>perf improvement in
`Triangulation_2/include/CGAL/Triangulation_2/internal/Polyline_constraint_hierarchy_2.h`
(with the use of `unordered_flat_map` from Boost>=1.80</s>
- less filter failures in `Triangulation_segment_cell_iterator_3`
- add `Triangulation_3::is_facet(u, v, w)` (without `, c, i, j, k`)

## Release Management

* Affected package(s): Installation, T_2, TDS_2, T_3, TDS_3, SMDS_3,
Kernel, STL_Extension, Stream_support
* Feature/Small Feature (if any):
* License and copyright ownership: maintenance by GeometryFactory
2024-05-26 17:48:10 +02:00
Mael Rouxel-Labbé 07631197e5 Prepare CHANGES.md for 6.0 (wip) 2024-05-25 13:10:30 +02:00
Laurent Rineau c9ca4fdc6a update versions for CGAL-6.0-beta1 2024-05-24 17:46:35 +02:00
Sébastien Loriot ddbd2e6818 Merge remote-tracking branch 'cgal/master' 2024-05-24 14:18:24 +02:00
Laurent Rineau bc62b53b38 Fix issue #8192 2024-05-23 18:41:04 +02:00
Laurent Rineau 3f5d8e24c9 Announce the breaking change about Compare_xy_2 2024-05-23 17:00:32 +02:00
Laurent Rineau d99891beff Fix the detection of C++20 `<format>` header 2024-05-22 15:39:53 +02:00
Laurent Rineau 1bc9fed0d3 announce the breaking change 2024-05-22 14:35:24 +02:00
Laurent Rineau 81357855d5
Using std::optional for Property_container::get<T> (#8035)
## Summary of Changes
Switching from `std::pair<Property_map<T>, bool>` to `std::optional` in
`Property_container::get<T>`

Introducing `Pair_optional_adaptor` for backward compatibility which
extends `std::optional<T>` to interface of `std::pair`

using `Pair_optional_adaptor` for `Surface_mesh` and `Point_set_3`

## Release Management

* Affected package(s): Point_set_3, Surface_mesh, STL_Extension
2024-05-22 12:12:56 +02:00
Laurent Rineau 70464ea107 Merge remote-tracking branch 'afabri/STL_extension-Fix_Prevent_deref-GF' into pr/lrineau/8170 2024-05-21 18:55:11 +02:00
Sébastien Loriot b9ef5de3b8 Merge remote-tracking branch 'mine/Kinetic_shape_reconstruction-new_package-soesau' into Kinetic_surface_reconstruction-new_package-soesau
originally:
Author: Sven Oesau <sven.oesau@geometryfactory.com>
Date:   Wed Apr 17 19:45:30 2024 +0200
2024-05-15 16:39:42 +02:00
Laurent Rineau 5ca5d9c16b Merge pull request #7830 from janetournois/Tet_remeshing-with_sizing_field-jtournois
Tet remeshing - add sizing field
2024-05-15 16:12:21 +02:00
Laurent Rineau 022b19d3ca Merge pull request #8057 from sloriot/AABB_tree-2d_and_3d
Updating the AABB-tree to work in both 2D and 3D
2024-05-15 16:12:19 +02:00
Laurent Rineau 0dcb83bff8 Merge pull request #8142 from sloriot/PMP-coref_nm_out
Add extra parameters to the corefinement visitor to handle non-manifold output
2024-05-15 16:12:16 +02:00