The public CGAL repository, see the README below
Go to file
Laurent Rineau c40d7124d0 Fix CDT_2 errors, using snapping of intersection points
When `Constrained_triangulation_2` computes the intersection of two
segments, with a floating-point number type, and with
`Exact_predicates_tag`, the computed intersection point is snapped to an
extremity of the two segments, if it is closest to 4 ulp (with the l-inf
distance).

That value `4` can be changed by defining the macro
`CGAL_CDT_2_INTERSECTION_SNAPPING_ULP_DISTANCE` to another value.
2018-05-30 14:34:34 +02:00
.github
.travis Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
AABB_tree Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Advancing_front_surface_reconstruction Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Algebraic_foundations
Algebraic_kernel_d Forbid MPFR 3.1.[3456] when using RS. 2018-03-08 10:12:42 +01:00
Algebraic_kernel_for_circles
Algebraic_kernel_for_spheres
Alpha_shapes_2 Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Alpha_shapes_3 Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Apollonius_graph_2
Arithmetic_kernel
Arrangement_on_surface_2 add missing const 2018-04-17 16:01:35 +02:00
BGL Merge pull request #2991 from afabri/BGL-fix_add_vertex_and_face_to_border-GF 2018-04-24 17:31:47 +02:00
Barycentric_coordinates_2
Boolean_set_operations_2 Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Bounding_volumes Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Box_intersection_d Various doc improvements 2018-03-15 13:50:54 +01:00
CGAL_Core Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
CGAL_ImageIO Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
CGAL_ipelets Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Cartesian_kernel fix the determinism of the computation of point and base vectors 2018-03-16 14:33:51 +01:00
Circular_kernel_2 Fixed dxf circle reader (in .dxf, the radius is not squared) 2018-02-01 12:27:43 +01:00
Circular_kernel_3 Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Circulator
Combinatorial_map
Cone_spanners_2
Convex_decomposition_3
Convex_hull_2 Fix counting iterator warnings 2017-09-29 14:47:17 +02:00
Convex_hull_3 Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch 2017-12-19 16:19:22 +01:00
Convex_hull_d
Distance_2
Distance_3
Documentation/doc Back port the modifications of header. 2018-03-07 08:36:12 +01:00
Envelope_2
Envelope_3
Filtered_kernel Merge pull request #2287 from maxGimeno/Fix_GCC8_warnings-GF 2017-07-25 18:17:42 +02:00
Generalized_map
Generator Fixed typo 2018-02-19 12:07:14 +01:00
Geomview Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
GraphicsView Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
HalfedgeDS
Hash_map Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Homogeneous_kernel
Inscribed_areas
Installation Fix MPFR/MPFI check when MPFI is not present. 2018-03-08 10:05:26 -03:00
Interpolation Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Intersections_2
Intersections_3
Interval_skip_list
Interval_support
Inventor
Jet_fitting_3
Kernel_23 Merge pull request #2646 from lrineau/Kernel_23-remove_test_of_result_of-GF 2017-12-05 18:01:35 +01:00
Kernel_d
Kinetic_data_structures
Kinetic_framework
LEDA
Linear_cell_complex fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during link process... 2018-01-04 17:54:16 +01:00
MacOSX
Maintenance This branch now targets CGAL-4.11.2 2018-02-27 18:35:14 +01:00
Matrix_search
Mesh_2 Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch 2017-12-19 16:19:22 +01:00
Mesh_3 implement number_of_corners(), that is documented 2018-03-23 11:54:53 +01:00
Mesher_level
Minkowski_sum_2 Fixed bug when testing whether a face is included in the sum or not when using polygons with holes 2017-11-29 18:39:47 +01:00
Minkowski_sum_3
Miscellany/doc/Miscellany
Modifier
Modular_arithmetic
Nef_2
Nef_3
Nef_S2
NewKernel_d Fix counting iterator warnings 2017-09-29 14:47:17 +02:00
Number_types Add the missing semi-colon 2018-02-13 11:51:39 +00:00
OpenNL
Operations_on_polyhedra follow up of fac4a6ad also patch the cmap output builder 2017-09-08 11:16:20 +02:00
Optimal_transportation_reconstruction_2 Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Optimisation_basic
Partition_2
Periodic_2_triangulation_2 Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Periodic_3_triangulation_3 Changed variable name and initialization 2018-02-01 10:39:36 +01:00
Point_set_2 Rename dfs as search 2017-09-14 11:35:06 +02:00
Point_set_3 Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Point_set_processing_3 Fix PLY reading properties other than those of vertices 2018-04-12 11:48:51 +02:00
Point_set_shape_detection_3 Fix infinite loop in RANSAC 2018-02-01 10:49:30 +01:00
Poisson_surface_reconstruction_3 Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Polygon Moved is_simple_2()'s empty test to SimplicityTest's degenerate tests 2018-03-20 10:56:57 +01:00
Polygon_mesh_processing update incorrectly handled coplanar intersection computation 2018-03-26 11:20:16 +02:00
Polyhedron Fix selection tool accordingly 2018-04-06 10:38:42 +01:00
Polyhedron_IO Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Polyline_simplification_2 Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Polynomial fix unused variable warning 2017-08-08 13:38:31 +02:00
Polytope_distance_d
Principal_component_analysis Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Principal_component_analysis_LGPL
Profiling_tools
Property_map Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
QP_solver Apply mglisse's fix 2017-07-24 09:55:57 +02:00
Random_numbers
Ridges_3 Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch 2017-12-19 16:19:22 +01:00
STL_Extension Use std::uncaught_exceptions() when available 2018-02-09 18:46:16 +01:00
Scale_space_reconstruction_3
Scripts Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
SearchStructures
Segment_Delaunay_graph_2 Fix counting iterator warnings 2017-09-29 14:47:17 +02:00
Segment_Delaunay_graph_Linf_2 Fix counting iterator warnings 2017-09-29 14:47:17 +02:00
Skin_surface_3
Snap_rounding_2
Solver_interface Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch 2017-09-08 17:38:04 +02:00
Spatial_searching Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Spatial_sorting Fix counting iterator warnings 2017-09-29 14:47:17 +02:00
Straight_skeleton_2 Fixed dxf circle reader (in .dxf, the radius is not squared) 2018-02-01 12:27:43 +01:00
Stream_lines_2
Stream_support Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Subdivision_method_3 fix conversion warnings 2017-12-14 10:31:18 +01:00
Surface_mesh Fixed minor doc issues in Surface_mesh 2018-04-06 11:48:13 +02:00
Surface_mesh_deformation Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Surface_mesh_parameterization inline get_error_message() 2018-04-10 12:34:10 +01:00
Surface_mesh_segmentation Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
Surface_mesh_shortest_path workaround conversion warning 2017-12-11 13:26:32 +01:00
Surface_mesh_simplification Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Surface_mesh_skeletonization Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF 2017-11-15 16:44:31 +01:00
Surface_mesher Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Sweep_line_2 Renew the handle of policies, for CMake-3.10 2017-11-06 14:58:36 +01:00
TDS_2 fix for doc bug, github issue #2346 2017-08-14 14:38:01 +02:00
TDS_3 add missing const's in doc 2018-01-25 14:41:07 +01:00
Testsuite fixup! Remove CMake Warning about /usr/share/cmake/Modules/FindBoost 2018-02-14 10:14:48 +01:00
Three Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Triangulation Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
Triangulation_2 Fix CDT_2 errors, using snapping of intersection points 2018-05-30 14:34:34 +02:00
Triangulation_3 Fixed missing bound check in the sequential insertion phase 2018-03-13 11:14:06 +01:00
Union_find
Visibility_2
Voronoi_diagram_2
wininst
.gitattributes
.gitignore
.travis.yml Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00
CMakeLists.txt
INSTALL.md Use https 2017-08-21 09:52:41 +02:00
LICENSE.md
README.md use https 2017-08-21 09:51:37 +02:00
copyright Revert the merge of PR #2478 2018-01-04 17:54:08 +01:00

README.md

Build Status

#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 sources tarballs, released twice a year, announced on the web site of CGAL. The sources distributed that way can be built using the CGAL installation manual.

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 building, 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

Compilation and installation

The compilation and installation of CGAL from a sources tarball are described in the CGAL installation manual and in the file INSTALL.md that is at the root of any sources tarball.

CGAL developers, however, usually compile CGAL directly from a local Git repository. That kind of compilation is called a branch build, and is described in the file INSTALL.md that is at the root of the Git repository.

License

See the file LICENSE.md.

More information