Commit Graph

22 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 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
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 c3f16c21be Fix warning 2020-09-29 12:40:57 +01: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
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
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