The public CGAL repository, see the README below
Go to file
Mael Rouxel-Labbé b95c60fc9f Avoid needless orientation checks / distance computations
If we are right of the edge, the distance is minimum over the edge...
...and that's it. Computing the distance to a segment is about
as expensive as the orientation check, so no point pinpointing
to check if the min is at a vertex.
2021-04-27 22:40:22 +02:00
.github Merge pull request #5446 from maxGimeno/diff 2021-03-10 10:39:34 +01:00
AABB_tree Merge pull request #4878 from danston/Kernels-decltypes-danston 2021-04-06 15:13:21 +02:00
Advancing_front_surface_reconstruction Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-01-26 09:05:24 +01:00
Algebraic_foundations Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-02-22 17:19:40 +01:00
Algebraic_kernel_d Merge pull request #5247 from MaelRL/SDG-Fix_doc-GF 2021-03-03 17:38:18 +01:00
Algebraic_kernel_for_circles Modernize CMake scripts 2020-10-06 15:44:41 +02:00
Algebraic_kernel_for_spheres Merge pull request #5503 from maxGimeno/DIstance-Fix_with_LEDA-maxGimeno 2021-03-03 17:18:14 +01:00
Alpha_shapes_2 Remove Alpha_shape_euclidean_traits_2.h 2021-02-22 17:16:21 +01:00
Alpha_shapes_3 Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-02-22 17:19:40 +01:00
Apollonius_graph_2 Try to remove Filtered_kernel from the dependencies of BGL 2021-01-11 14:11:30 +01:00
Arithmetic_kernel Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Arrangement_on_surface_2 Merge pull request #5245 from GilesBathgate/create-assertions-fix 2021-03-24 15:05:41 +01:00
BGL Merge pull request #5507 from afabri/PMP-vtune_isotropic_remeshing-GF 2021-04-06 15:13:11 +02:00
Barycentric_coordinates_2 Double defined ID seg_coord_global 2020-11-29 12:39:33 +01:00
Boolean_set_operations_2 Merge remote-tracking branch 'cgal/master' into Bso-oriented_side-efif 2021-01-28 17:39:04 +02:00
Bounding_volumes Merge pull request #5245 from GilesBathgate/create-assertions-fix 2021-03-24 15:05:41 +01:00
Box_intersection_d Merge pull request #5469 from afabri/Box_intersection_d-array-GF 2021-03-03 17:29:35 +01:00
CGAL_Core Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno 2021-01-13 14:34:09 +01:00
CGAL_ImageIO Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno 2021-01-13 14:34:09 +01:00
CGAL_ipelets Drop Ipe 6 support 2021-01-25 13:39:36 +01:00
Cartesian_kernel Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-04-12 15:33:14 +02:00
Circular_kernel_2 Merge remote-tracking branch 'upstream/master' into Kernels-decltypes-danston 2021-02-10 10:06:45 +01:00
Circular_kernel_3 Merge branch 'master' into Kernels-decltypes-danston 2021-03-12 12:06:20 +01:00
Circulator Merge pull request #4255 from maxGimeno/CGAL_IO-maxGimeno 2021-01-14 15:33:51 +01:00
Classification Merge pull request #5488 from sgiraudot/Classification-Remove_TensorFlow_support-GF 2021-04-06 15:13:15 +02:00
Combinatorial_map Try to remove Filtered_kernel from the dependencies of BGL 2021-01-11 14:11:30 +01:00
Cone_spanners_2 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Convex_decomposition_3 Remove default paramter from set_index in SNC_indexed_items 2021-03-01 08:06:48 +00:00
Convex_hull_2 Merge pull request #5245 from GilesBathgate/create-assertions-fix 2021-03-24 15:05:41 +01:00
Convex_hull_3 Merge remote-tracking branch 'upstream/master' into Kernels-decltypes-danston 2021-02-10 10:06:45 +01:00
Convex_hull_d Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Distance_2 Add missing include 2021-04-12 17:42:12 +02:00
Distance_3 Avoid needless orientation checks / distance computations 2021-04-27 22:40:22 +02:00
Documentation/doc Merge pull request #5488 from sgiraudot/Classification-Remove_TensorFlow_support-GF 2021-04-06 15:13:15 +02:00
Envelope_2 Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +02:00
Envelope_3 remove \sc 2021-02-05 11:10:20 +01:00
Filtered_kernel Merge pull request #4878 from danston/Kernels-decltypes-danston 2021-04-06 15:13:21 +02:00
Generalized_map Merge pull request #5104 from gdamiand/CMap-other_containers-gdamiand 2021-01-06 16:11:54 +01:00
Generator Merge pull request #4878 from danston/Kernels-decltypes-danston 2021-04-06 15:13:21 +02:00
Geomview Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno 2021-01-18 11:52:30 +01:00
GraphicsView Merge pull request #5513 from maxGimeno/Demo-Fixes-maxGimeno 2021-03-24 15:05:20 +01:00
HalfedgeDS Merge branch 'master' into CGAL-clang_warnings_fix-danston 2021-01-14 16:51:13 +01:00
Hash_map Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Heat_method_3 Merge remote-tracking branch 'cgal/master' into Heat_method_3-mollify-oboes 2021-03-22 13:17:55 +01:00
Homogeneous_kernel Merge pull request #4705 from rgcv/Cartesian_kernel-fix_missing_print_AT3-rgcv 2020-05-18 12:24:25 +02:00
Hyperbolic_triangulation_2 Merge pull request #5247 from MaelRL/SDG-Fix_doc-GF 2021-03-03 17:38:18 +01:00
Inscribed_areas remove bind in Incribed_areas 2021-01-06 12:59:12 +01:00
Installation Merge pull request #5488 from sgiraudot/Classification-Remove_TensorFlow_support-GF 2021-04-06 15:13:15 +02:00
Interpolation Try to remove Filtered_kernel from the dependencies of BGL 2021-01-11 14:11:30 +01:00
Intersections_2 Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-04-12 15:33:14 +02:00
Intersections_3 Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-04-12 15:33:14 +02:00
Interval_skip_list Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Interval_support Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Jet_fitting_3 fix mesh_estimation 2021-02-16 15:15:36 +01:00
Kernel_23 Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-04-12 15:33:14 +02:00
Kernel_d fixed the doc warning related to the ref of Chapter_dD_Geometry_Kernel 2021-03-16 17:07:09 +01:00
LEDA extra run of the script to remove tabs and trailing whitespaces 2020-03-26 14:16:06 +01:00
Linear_cell_complex Merge pull request #5499 from Dig-Doug/linear-complex-add-builder 2021-04-06 15:13:13 +02:00
MacOSX introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Maintenance Use gh (the official Github CLI) instead of github-release 2021-03-18 12:08:08 +01:00
Matrix_search Merge pull request #5152 from sloriot/CGAL-remove_bind 2021-02-05 16:14:04 +01:00
Mesh_2 Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-01-26 09:05:24 +01:00
Mesh_3 Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-04-12 15:33:14 +02:00
Mesher_level Enhance the debugging tools in Mesh_3 2021-01-20 15:38:05 +01:00
Minkowski_sum_2 Remove CMAKE_CXX_STANDARD commands in cmake scripts 2021-02-08 10:06:23 +01:00
Minkowski_sum_3 Add new Dependences. ATTENTION BGL is propagated through the NPs in Stream_support 2021-01-08 15:58:46 +01:00
Miscellany/doc/Miscellany run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Modifier Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Modular_arithmetic Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Nef_2 Re-organize into Distance_2/X_Y.h to align with Distance_3 2021-04-12 15:31:55 +02:00
Nef_3 Merge pull request #5144 from GilesBathgate/id-support-handler-hash-performance 2021-04-06 15:13:18 +02:00
Nef_S2 Merge pull request #5233 from GilesBathgate/fix-uncaught-exceptions 2021-04-06 15:13:16 +02:00
NewKernel_d Merge branch 'master' into Kernels-decltypes-danston 2021-03-12 12:06:20 +01:00
Number_types Clean up temporary notes 2021-03-25 12:52:20 +09:00
OpenNL extra run of the script to remove tabs and trailing whitespaces 2020-03-26 14:16:06 +01:00
Optimal_bounding_box Merge pull request #5340 from danston/CGAL-clang_warnings_fix-danston 2021-02-05 16:10:37 +01:00
Optimal_transportation_reconstruction_2 Merge remote-tracking branch 'upstream/master' into Kernels-decltypes-danston 2021-02-10 10:06:45 +01:00
Optimisation_basic Add missing dependencies to Optimisation_basic 2020-10-13 09:55:38 +02:00
Partition_2 Merge pull request #5245 from GilesBathgate/create-assertions-fix 2021-03-24 15:05:41 +01:00
Periodic_2_triangulation_2 Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-02-22 17:19:40 +01:00
Periodic_3_mesh_3 Merge pull request #5152 from sloriot/CGAL-remove_bind 2021-02-05 16:14:04 +01:00
Periodic_3_triangulation_3 Merge branch 'master' into Kernels-decltypes-danston 2021-03-12 12:06:20 +01:00
Periodic_4_hyperbolic_triangulation_2 Merge pull request #5247 from MaelRL/SDG-Fix_doc-GF 2021-03-03 17:38:18 +01:00
Point_set_2 Update dependencies of PS2 2021-04-12 22:37:15 +02:00
Point_set_3 Merge pull request #5352 from lrineau/CGAL-fix_CGAL_IO-GF 2021-02-18 15:23:43 +01:00
Point_set_processing_3 Merge pull request #4878 from danston/Kernels-decltypes-danston 2021-04-06 15:13:21 +02:00
Poisson_surface_reconstruction_3 Merge pull request #5245 from GilesBathgate/create-assertions-fix 2021-03-24 15:05:41 +01:00
Polygon Merge pull request #5245 from GilesBathgate/create-assertions-fix 2021-03-24 15:05:41 +01:00
Polygon_mesh_processing Merge pull request #4878 from danston/Kernels-decltypes-danston 2021-04-06 15:13:21 +02:00
Polygonal_surface_reconstruction Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-01-26 09:05:24 +01:00
Polyhedron Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-04-12 15:33:14 +02:00
Polyline_simplification_2 Merge pull request #5349 from afabri/Polyline_simplification-simplify_overlaps-GF 2021-03-03 17:35:27 +01:00
Polynomial Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Polytope_distance_d Merge pull request #5245 from GilesBathgate/create-assertions-fix 2021-03-24 15:05:41 +01:00
Principal_component_analysis Merge pull request #5548 from sgiraudot/PCA-Do_not_compile_without_Eigen-GF 2021-04-06 15:12:59 +02:00
Principal_component_analysis_LGPL extra run of the script to remove tabs and trailing whitespaces 2020-03-26 14:16:06 +01:00
Profiling_tools Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno 2021-01-13 14:34:09 +01:00
Property_map Merge pull request #5468 from sloriot/CGAL-tiny_fixes 2021-03-03 17:29:37 +01:00
QP_solver Fix QP solver test: raw replacement that is working 2021-01-29 10:20:14 +01:00
Random_numbers Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno 2021-01-13 14:34:09 +01:00
Ridges_3 Don't build the programs if boost_program_options is not found 2021-02-02 09:16:35 +01:00
STL_Extension Merge pull request #4878 from danston/Kernels-decltypes-danston 2021-04-06 15:13:21 +02:00
Scale_space_reconstruction_3 Merge pull request #5331 from sgiraudot/Scale_space-Fix_warning_compare_unsigned_with_0-GF 2021-01-21 16:23:17 +01:00
Scripts Merge branch '5.2.x-branch' 2021-03-31 15:07:31 +02:00
SearchStructures Drop NDEBUG it is already visible through CGAL_NO_ASSERTIONS 2020-12-04 19:42:21 +00:00
Segment_Delaunay_graph_2 Merge pull request #5247 from MaelRL/SDG-Fix_doc-GF 2021-03-03 17:38:18 +01:00
Segment_Delaunay_graph_Linf_2 Merge pull request #5419 from afabri/SDG-replace_enum-GF 2021-03-03 17:33:10 +01:00
Set_movable_separability_2 Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-02-22 17:19:40 +01:00
Shape_detection Merge pull request #5547 from sgiraudot/Fix_stdpow_related_warnings-GF 2021-04-06 15:13:00 +02:00
Skin_surface_3 Add new Dependences. ATTENTION BGL is propagated through the NPs in Stream_support 2021-01-08 15:58:46 +01:00
Snap_rounding_2 Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Solver_interface remove \sc 2021-02-05 11:10:20 +01:00
Spatial_searching Merge pull request #5483 from danston/OTR-make_move_iterator_fix-danston 2021-03-03 17:21:33 +01:00
Spatial_sorting Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-02-22 17:19:40 +01:00
Straight_skeleton_2 Merge pull request #5245 from GilesBathgate/create-assertions-fix 2021-03-24 15:05:41 +01:00
Stream_lines_2 Try to remove Filtered_kernel from the dependencies of BGL 2021-01-11 14:11:30 +01:00
Stream_support Remove operator>> and << from `File_header_OFF_extended`. 2021-03-10 13:54:09 +01:00
Subdivision_method_3 Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +02:00
Surface_mesh [cleanup][surface_mesh] Fix include order from local to global 2021-03-31 12:16:46 +02:00
Surface_mesh_approximation Merge pull request #5340 from danston/CGAL-clang_warnings_fix-danston 2021-02-05 16:10:37 +01:00
Surface_mesh_deformation Merge 'CGAL-Eigen3_support-5.2' 2021-01-15 10:59:20 +01:00
Surface_mesh_parameterization Merge pull request #5357 from sloriot/CGAL-boost_function_output-master 2021-01-21 16:22:39 +01:00
Surface_mesh_segmentation Merge pull request #5547 from sgiraudot/Fix_stdpow_related_warnings-GF 2021-04-06 15:13:00 +02:00
Surface_mesh_shortest_path Merge branch 'master' into Kernels-decltypes-danston 2021-03-12 12:06:20 +01:00
Surface_mesh_simplification Merge pull request #5340 from danston/CGAL-clang_warnings_fix-danston 2021-02-05 16:10:37 +01:00
Surface_mesh_skeletonization Merge 'CGAL-Eigen3_support-5.2' 2021-01-15 10:59:20 +01:00
Surface_mesh_topology std::min 2021-02-26 18:14:26 +01:00
Surface_mesher no demo at all 2021-03-03 15:50:46 +01:00
Surface_sweep_2 Merge pull request #5313 from maxGimeno/Surface_sweep-Fix_test_script-maxGimeno 2021-03-03 17:35:44 +01:00
TDS_2 Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-01-26 09:05:24 +01:00
TDS_3 Merge pull request #5380 from lrineau/Triangulation_3-compilation_error_if_Parallel_tag_without_TBB-GF 2021-03-24 15:05:36 +01:00
Testsuite Merge pull request #5409 from lrineau/Triangulation_3-fix__move__semantic__of__Triangulation_hierarchy_3-GF 2021-02-18 15:19:11 +01:00
Tetrahedral_remeshing Merge pull request #5550 from maxGimeno/Eigen_fixes_in_cmakelists-5-2-maxGimeno 2021-04-06 15:12:58 +02:00
Three Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-01-26 09:05:24 +01:00
Triangulation Merge master and resolve conflicts for Installation/CHANGES.md 2021-03-10 11:48:55 +01:00
Triangulation_2 Merge pull request #5247 from MaelRL/SDG-Fix_doc-GF 2021-03-03 17:38:18 +01:00
Triangulation_3 Merge pull request #5433 from sloriot/CGAL-last_bind 2021-03-03 17:32:59 +01:00
Union_find Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Visibility_2 Try to remove Filtered_kernel from the dependencies of BGL 2021-01-11 14:11:30 +01:00
Voronoi_diagram_2 Merge pull request #5336 from maxGimeno/GraphicsView-Use_opengl_4_1_context-maxGImeno 2021-02-05 16:12:42 +01: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 Allow to use CGAL as a submodule of a bigger CMake project 2021-02-15 09:07:10 +01: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