Commit Graph

51 Commits

Author SHA1 Message Date
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
Sebastien Loriot 14dd2cb7be
Used std::vector instead of c-style arrays for point storage. (#8709)
Updated two CGAL examples to use ``std::vector`` instead of plain
C-style arrays for storing points.

Few more examples can be improved the same way to use ``std::vector``
and avoid usage of c-style arrays.
- Min_annulus_d
- Min_circle_2
- Min_ellipse
- Min_sphere_d
2025-03-31 09:04:00 +02: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
Mael 89d5b50f32
Update Bounding_volumes/examples/Min_annulus_d/min_annulus_d_fast_exact.cpp 2025-01-29 16:17:20 +01:00
Anirudh Lakhanpal 9b0450f541 made required changes related to indentation and include spacing 2025-01-29 20:09:12 +05:30
Anirudh Lakhanpal 1319380cf4 fixed indentation and new line after header inclusion 2025-01-28 19:10:52 +05:30
Anirudh Lakhanpal 057caa3d19 used std::array for point storage in the following examples of Bounding_volumes (1)min_annulus_d_fast_exact.cpp (2)min_annulus_d.cpp (3)min_ellipse_2.cpp (4)min_sphere_3.cpp (5)min_sphere_homogenous_3.cpp 2025-01-26 17:54:36 +05:30
Anirudh Lakhanpal 27c788d1d3 Used std::arr<T>.end() instead of adding n to the .begin() iterator 2025-01-22 19:27:31 +05:30
Anirudh Lakhanpal 6b0a8c5b6d Used std::array instead of std::vector as the size is known at compile time 2025-01-22 17:56:58 +05:30
Anirudh Lakhanpal 724ef98978 avoid using c style arrays 2025-01-21 23:12:12 +05:30
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
Michael Hoffmann 28c287d1d3 cleanup parameters in example 2023-04-24 17:32:44 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Andreas Fabri 31b6b06aa4 Bounding_volumes 2022-01-26 16:46:41 +00:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +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 bc161f2ae9 Merge 'CGAL-Eigen3_support-5.2' 2021-01-15 10:59:20 +01:00
Sébastien Loriot f4935dc199 Merge branch 'CGAL-Eigen3_support-5.1' 2021-01-15 10:54:02 +01:00
Sébastien Loriot eecb00534e fix macro name to be consistent with find_package 2021-01-15 10:43:34 +01:00
Maxime Gimeno dc291b8c0d Fix tests and examples for ctest. 2020-12-17 14:27:54 +01:00
Maxime Gimeno bebd60c12b Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +02:00
Andreas Fabri c3f16c21be Fix warning 2020-09-29 12:40:57 +01:00
Andreas Fabri d046eec0f1 Remove mention of weighted points 2020-09-10 16:27:57 +02:00
Andreas Fabri 8cc3b0e3a7 Now the examples compile 2020-09-10 16:27:56 +02:00
Andreas Fabri 42dd5cc9fc turn homogeneous example 3D 2020-09-10 16:27:49 +02:00
Andreas Fabri 7e04a030a5 turn homogeneous example 3D 2020-09-10 16:27:48 +02:00
Andreas Fabri a571606269 Add examples that use the point traits 2020-09-10 16:27:48 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01: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
Simon Giraudot 6c8fd43ebb Use CGAL_target_use_* mechanism for Eigen, LASLIB, OpenCV, TensorFlow, GLPK, SCIP, Boost IOStreams and Serialization 2020-02-10 11:57:56 +01:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Sébastien Loriot ce126b87c6 remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead 2019-03-29 13:28:32 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Simon Giraudot 95e6d089fa Include Eigen in CMakeLists.txt where needed 2018-06-19 10:57:55 +02:00
Sébastien Loriot 21664faf6f Commit example cmake scripts forgotten 2016-09-07 23:41:11 +02:00
Clement Jamin 24b10a9135 Fix MSVC C4244 warnings 2016-06-14 20:29:13 +02:00
Laurent Rineau 0700232c51 s/Gmpq/Exact_rational/ 2014-06-27 15:11:45 +02:00
Laurent Rineau cc43313498 Implementation of CGAL::Exact_rational/integer
See the small feature:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Exact_rational
2014-06-27 12:47:45 +02:00
Andreas Fabri 7edc5a13da We need a #define to use Miniball without CGAL 2013-09-17 09:28:39 +02:00
Andreas Fabri a971b5e9ba Switch to Simple_cartesian 2013-08-28 14:29:01 +02:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +01:00
Philipp Möller 0278a9c434 Move the last example and fix the ccIncludeExampleCode paths. 2012-09-18 16:33:23 +00:00