The public CGAL repository, see the README below
Go to file
Mael Rouxel-Labbé c39ea7965f Do not cast fundamental types into bool in NT_converter
Instead, try to construct a NT1 from them. If it fails, give a compilation error.

This is to avoid converters silently doing nasty things like
Cartesian_converter<SC<CORE::Expr>, SC<double> >(2.) ==> 1 (bool true)
because there is no implicit conversion from double to SC<CORE::Expr>, so it
preferes using Enum_converter(bool) (with a double -> Boolean implicit
conversion...).
2021-11-10 15:56:48 +01:00
.github Test the Installation in Github Actions 2021-10-06 15:02:10 +02:00
AABB_tree Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Advancing_front_surface_reconstruction char* -> std::string 2021-10-04 09:49:24 +02:00
Algebraic_foundations remove some cpp0x and cpp11 config macros 2021-08-13 16:25:40 +02:00
Algebraic_kernel_d Fix typos 2021-10-04 13:34:07 +02:00
Algebraic_kernel_for_circles update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Algebraic_kernel_for_spheres update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Alpha_shapes_2 remove ./ prefix 2021-10-04 09:32:04 +02:00
Alpha_shapes_3 remove ./ prefix 2021-10-04 09:32:04 +02:00
Apollonius_graph_2 remove ./ prefix 2021-10-04 09:32:04 +02:00
Arithmetic_kernel update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Arrangement_on_surface_2 Merge pull request #6047 from MaelRL/PM-Fix_pmaps_reference_types_5.3-GF 2021-10-29 17:39:22 +02:00
BGL add missing include statement 2021-11-02 13:54:36 +01:00
Barycentric_coordinates_2 remove more disable deprecation api 2021-09-29 10:16:58 +02:00
Boolean_set_operations_2 fix phrasing 2021-11-02 11:52:53 +01:00
Bounding_volumes remove archive directories that are of not use (available in git history) 2021-09-23 18:55:54 +02:00
Box_intersection_d automatically move data files in data dir + update paths 2021-10-04 09:42:49 +02:00
CGAL_Core Fix missing ':' in various namespaces 2021-10-04 13:21:47 +02:00
CGAL_ImageIO Merge pull request #5597 from lrineau/Mesh_3-weighted_images-GF 2021-10-29 17:01:33 +02:00
CGAL_ipelets remove commited cgal_test_with_cmake 2021-09-23 18:54:16 +02:00
Cartesian_kernel Do not cast fundamental types into bool in NT_converter 2021-11-10 15:56:48 +01:00
Circular_kernel_2 moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Circular_kernel_3 More fixes 2021-08-31 16:00:37 +02:00
Circulator Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno 2021-04-17 10:58:14 +02:00
Classification Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Combinatorial_map Merge pull request #5427 from sloriot/CGAL_data-moving_files 2021-10-07 14:44:01 +02:00
Cone_spanners_2 Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Convex_decomposition_3 Merge pull request #5183 from GilesBathgate/fix-uninitialized-member-decomposition 2021-09-29 11:47:08 +02:00
Convex_hull_2 moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Convex_hull_3 char* -> std::string 2021-10-04 09:49:24 +02:00
Convex_hull_d moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Data/data fix invalid data (duplicated layer and invalid spacing) 2021-10-29 17:42:02 +02:00
Distance_2 Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-06-23 22:30:03 +02:00
Distance_3 use integer and reduce the number of tests 2021-09-08 15:21:06 +02:00
Documentation/doc Merge pull request #5597 from lrineau/Mesh_3-weighted_images-GF 2021-10-29 17:01:33 +02:00
Envelope_2 remove ./ prefix 2021-10-04 09:32:04 +02:00
Envelope_3 remove ./ prefix 2021-10-04 09:32:04 +02:00
Filtered_kernel More profiler macros 2021-10-08 21:52:32 +02:00
Generalized_map moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Generator add CGAL_unreachable as requested by @lrineau and @mglisse 2021-10-27 14:45:10 +02:00
Geomview Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
GraphicsView Fix missing ':' in various namespaces 2021-10-04 13:21:47 +02:00
HalfedgeDS IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Hash_map Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Heat_method_3 Merge pull request #5427 from sloriot/CGAL_data-moving_files 2021-10-07 14:44:01 +02:00
Homogeneous_kernel Do not cast fundamental types into bool in NT_converter 2021-11-10 15:56:48 +01:00
Hyperbolic_triangulation_2 remove artificial dependency to Polygon 2021-09-01 16:41:36 +02:00
Inscribed_areas remove ./ prefix 2021-10-04 09:32:04 +02:00
Installation Merge pull request #6103 from sloriot/CGAL-basic_viewer_target 2021-11-04 18:21:48 +01:00
Interpolation Merge pull request #6066 from sloriot/Interpolation-warning 2021-10-29 16:50:06 +02:00
Intersections_2 add CGAL_unreachable as requested by @lrineau and @mglisse 2021-10-27 14:45:10 +02:00
Intersections_3 better fix 2021-09-14 09:32:40 +02:00
Interval_skip_list Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno 2021-04-17 10:58:14 +02:00
Interval_support update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Jet_fitting_3 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Kernel_23 Merge pull request #5978 from janetournois/Mesh_2-add_predicate_for_lloyd-jtournois 2021-10-27 17:20:28 +02:00
Kernel_d do not include itself 2021-09-21 13:34:58 +02:00
LEDA extra run of the script to remove tabs and trailing whitespaces 2020-03-26 14:16:06 +01:00
Linear_cell_complex fix phrasing 2021-11-02 11:52:53 +01:00
MacOSX add files removed by error 2021-09-02 17:25:55 +02:00
Maintenance handle 't' types 2021-09-30 15:03:00 +02:00
Matrix_search update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Mesh_2 document line orientation 2021-09-10 14:19:56 +02:00
Mesh_3 Merge pull request #6046 from MaelRL/PM-Fix_pmaps_reference_types_master-GF 2021-10-29 17:40:15 +02:00
Mesher_level Merge remote-tracking branch 'cgal/5.3.x-branch' 2021-08-25 19:33:46 +02:00
Minkowski_sum_2 remove ./ prefix 2021-10-04 09:32:04 +02:00
Minkowski_sum_3 update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Miscellany/doc/Miscellany run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Modifier update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Modular_arithmetic Replace more sc text 2021-05-21 15:45:50 +02:00
Nef_2 Merge pull request #5973 from sloriot/CGAL-restore_rounding_mode-master 2021-09-20 17:07:07 +02:00
Nef_3 fix phrasing 2021-11-02 11:52:53 +01:00
Nef_S2 Fix typos 2021-10-04 13:34:07 +02:00
NewKernel_d Merge pull request #5996 from sloriot/CGAL-internal_dir_fixes 2021-09-23 16:14:00 +02:00
Number_types Merge pull request #6049 from danston/Number_types-rename_eigen_test-danston 2021-10-29 16:50:11 +02:00
OpenNL extra run of the script to remove tabs and trailing whitespaces 2020-03-26 14:16:06 +01:00
Optimal_bounding_box char* -> std::string 2021-10-04 09:49:24 +02:00
Optimal_transportation_reconstruction_2 remove artificial dependency to Polygon 2021-09-01 16:41:36 +02:00
Optimisation_basic Add missing dependencies to Optimisation_basic 2020-10-13 09:55:38 +02:00
Orthtree automatically move data files in data dir + update paths 2021-10-04 09:42:49 +02:00
Partition_2 Fix typos 2021-10-04 13:34:07 +02:00
Periodic_2_triangulation_2 fix phrasing 2021-11-02 11:52:53 +01:00
Periodic_3_mesh_3 Merge pull request #5935 from janetournois/CGAL-fix_warnings_c++20-jtournois 2021-09-10 17:43:47 +02:00
Periodic_3_triangulation_3 Merge pull request #5427 from sloriot/CGAL_data-moving_files 2021-10-07 14:44:01 +02:00
Periodic_4_hyperbolic_triangulation_2 remove artificial dependency to Polygon 2021-09-01 16:41:36 +02:00
Point_set_2 Merge pull request #5952 from sloriot/SS-remove_Polygon_dep 2021-09-10 17:40:20 +02:00
Point_set_3 fix phrasing 2021-11-02 11:52:53 +01:00
Point_set_processing_3 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Poisson_surface_reconstruction_3 Merge pull request #6076 from danston/Documentation-fix_tuto_reconstruction-danston 2021-10-29 16:49:57 +02:00
Polygon fix phrasing 2021-11-02 11:52:53 +01:00
Polygon_mesh_processing Merge pull request #6046 from MaelRL/PM-Fix_pmaps_reference_types_master-GF 2021-10-29 17:40:15 +02:00
Polygonal_surface_reconstruction Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Polyhedron fix phrasing 2021-11-02 11:52:53 +01:00
Polyline_simplification_2 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Polynomial Merge pull request #5427 from sloriot/CGAL_data-moving_files 2021-10-07 14:44:01 +02:00
Polytope_distance_d Fix typos 2021-10-04 13:34:07 +02:00
Principal_component_analysis automatically move data files in data dir + update paths 2021-10-04 09:42:49 +02:00
Principal_component_analysis_LGPL Fix centroid computations for Iso_cuboid_3 2020-10-29 14:15:38 +01:00
Profiling_tools rename Counter to avoid conflict with type defined in msvc 2022 2021-08-25 13:02:11 +02:00
Property_map Further enhancements to the pmap binder's constructors 2021-10-20 15:07:34 +02:00
QP_solver remove ./ prefix 2021-10-04 09:32:04 +02:00
Random_numbers update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Ridges_3 automatically move data files in data dir + update paths 2021-10-04 09:42:49 +02:00
STL_Extension do not modify CGAL_assume 2021-10-27 16:09:32 +02:00
Scale_space_reconstruction_3 automatically move data files in data dir + update paths 2021-10-04 09:42:49 +02:00
Scripts Merge branch '5.3.x-branch' 2021-11-02 10:59:04 +01:00
SearchStructures Merge pull request #5427 from sloriot/CGAL_data-moving_files 2021-10-07 14:44:01 +02:00
Segment_Delaunay_graph_2 remove archive directories that are of not use (available in git history) 2021-09-23 18:55:54 +02:00
Segment_Delaunay_graph_Linf_2 remove archive directories that are of not use (available in git history) 2021-09-23 18:55:54 +02:00
Set_movable_separability_2 remove ./ prefix 2021-10-04 09:32:04 +02:00
Shape_detection Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Shape_regularization automatically move data files in data dir + update paths 2021-10-04 09:42:49 +02:00
Skin_surface_3 do not include itself 2021-09-21 13:34:58 +02:00
Snap_rounding_2 Merge pull request #5701 from maxGimeno/Ctest-Adapt_scripts_to_windows-maxGimeno 2021-06-02 17:20:49 +02:00
Solver_interface More fixes 2021-08-31 16:00:37 +02:00
Spatial_searching Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Spatial_sorting remove artificial dependency to Polygon 2021-09-01 16:41:36 +02:00
Straight_skeleton_2 add CGAL::CGAL_Basic_viewer target 2021-11-01 11:07:55 +01:00
Stream_lines_2 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
Stream_support Merge pull request #6085 from lrineau/Stream_support-fix_examples_CMakeLists.txt-GF 2021-11-04 18:21:54 +01:00
Subdivision_method_3 Fix Doo Sabin subdivision for Gmpq-based kernels 2021-10-30 13:36:05 +03:00
Surface_mesh fix phrasing 2021-11-02 11:52:53 +01:00
Surface_mesh_approximation char* -> std::string 2021-10-04 09:49:24 +02:00
Surface_mesh_deformation Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Surface_mesh_parameterization Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Surface_mesh_segmentation Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Surface_mesh_shortest_path char* -> std::string 2021-10-04 09:49:24 +02:00
Surface_mesh_simplification Merge pull request #6046 from MaelRL/PM-Fix_pmaps_reference_types_master-GF 2021-10-29 17:40:15 +02:00
Surface_mesh_skeletonization Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Surface_mesh_topology missing replacement 2021-11-01 12:38:34 +01:00
Surface_mesher move images 2021-10-07 14:47:15 +02:00
Surface_sweep_2 Remove shadow declaration of parameter space 2021-10-18 11:15:14 +01:00
TDS_2 moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
TDS_3 Merge pull request #5196 from GilesBathgate/fix-uninitialized-member-triangulation-ds 2021-09-29 11:46:55 +02:00
Testsuite Merge pull request #5597 from lrineau/Mesh_3-weighted_images-GF 2021-10-29 17:01:33 +02:00
Tetrahedral_remeshing Merge pull request #6046 from MaelRL/PM-Fix_pmaps_reference_types_master-GF 2021-10-29 17:40:15 +02:00
Three Merge pull request #5809 from maxGimeno/Polyhedron_demo-Filtering_c3t3_item_display-maxGimeno 2021-09-21 09:57:46 +02:00
Triangulation remove artificial dependency to Polygon 2021-09-01 16:41:36 +02:00
Triangulation_2 fix phrasing 2021-11-02 11:52:53 +01:00
Triangulation_3 fix phrasing 2021-11-02 11:52:53 +01:00
Triangulation_on_sphere_2 extra manual fixes 2021-10-05 17:42:21 +02:00
Union_find move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Visibility_2 add CGAL_unreachable as requested by @lrineau and @mglisse 2021-10-27 14:45:10 +02:00
Voronoi_diagram_2 fix phrasing 2021-11-02 11:52:53 +01:00
Weights switch to LGPL 2021-10-18 17:37:27 +02:00
.clang-tidy restore removed value 2021-09-02 19:09:28 +02:00
.gitattributes Declare Nef_3 data files 2020-06-24 12:18:15 +02:00
.gitignore Merge 'cgal/master' to fix conflicts 2019-09-11 14:35:38 +02:00
CGALConfig.cmake
CGALConfigVersion.cmake Add CGALConfigVersion.cmake, and CTest tests 2020-05-01 15:00:35 +02:00
CMakeLists.txt update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
INSTALL.md INSTALL.md: Fix missing path in cmake invocation 2020-03-01 20:14:05 +01:00
LICENSE.md Re-add Creative Commons 2020-12-03 10:32:55 +01:00
README.md Remove the link to Travis 2021-03-26 11:11:48 +01:00
ccpp.yml Update and rename .github/workflows/ccpp.yml to ccpp.yml 2019-09-20 13:34:50 +02:00
cmake_uninstall.cmake.in
copyright remove travis and wininst 2021-02-11 10:37:08 +01:00

README.md

CGAL

The Computational Geometry Algorithms Library (CGAL) is a C++ library that aims to provide easy access to efficient and reliable algorithms in computational geometry.

CGAL Releases

The primary vector of distribution of CGAL are source tarballs, released twice a year, announced on the web site of CGAL.

Getting Started with CGAL

Since version 5.0, CGAL is a header-only library, meaning that it is no longer needed to build CGAL libraries before it can be used.

Head over to the CGAL manual for usage guides and tutorials that will get you started smoothly.

License

See the file LICENSE.md.

CGAL Git Repository Layout

The Git repository of CGAL has a different layout from release tarballs. It contains a CMakeLists.txt file that serves as anchor for configuring and building programs, and a set of subfolders, so called packages. Most packages implement a data structure or an algorithm for CGAL (e.g., Convex_hull_2, or Triangulation_3); however some packages serve special needs:

  • Installation - meta-files and CMake-support
  • Maintenance - infrastructural support
  • Core, CGALimageIO, Qt_widget, GraphicsView - component libraries
  • Scripts - scripts to simplify developer's and user's work
  • Testsuite - infrastructure for testsuite
  • Documentation - infrastructure for CGAL's manual
  • STL_Extension - extensions to the standard template library

More Information