Commit Graph

24 Commits

Author SHA1 Message Date
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
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 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
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02: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
Maxime Gimeno bebd60c12b Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +02:00
Andreas Fabri 8cc3b0e3a7 Now the examples compile 2020-09-10 16:27:56 +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
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
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02: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
Sébastien Loriot 21664faf6f Commit example cmake scripts forgotten 2016-09-07 23:41:11 +02:00
Philipp Möller 394b8de4d9 Merge the Bounding_volumes package from its parts
Merge Min_circle_2, Min_ellipse_2, Min_sphere_d, Min_annulus_d,
Min_sphere_of_spheres_d, Min_quadrilateral_2 and
Approximate_min_ellipsoid_d. The documentation from the part that is
in Matrix_search has also been moved here, but not the code. Add a new
don't submit that covers the old ones, combine the package_info
files. Examples and tests are still in separate folders. Merge them in
a separate step.
2012-08-16 09:44:11 +00:00