Commit Graph

55 Commits

Author SHA1 Message Date
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +02:00
albert-github 014c06fd19 spelling corrections
Some spelling corrections (Directories starting with `A`)
2022-11-14 15:32:47 +01:00
Mael Rouxel-Labbé 363d1daaef Some more conversions to non-package specific assertions 2022-09-23 15:20:24 +02:00
Andreas Fabri d3fca65ae5 CGAL: No longer per package assertions 2022-09-23 12:49:40 +01:00
Sébastien Loriot 3fa436459d BOOST_MPL_ASSERT -> static_assert 2022-06-10 08:46:01 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +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 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Liangliang Nan 4588ba5d9d Merge branch 'master' of https://github.com/CGAL/cgal 2019-06-19 15:08:53 +02:00
Liangliang Nan fadaee63a8 integrated PolyFit 2019-06-05 17:50:37 +02:00
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Mael Rouxel-Labbé ba3a59ed5a Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-11-30 15:54:00 +01:00
Mael Rouxel-Labbé 91ba96c71b Fixed typo 2017-11-19 01:43:23 +01:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Mael Rouxel-Labbé ff3c780b57 Fixed return type 2017-08-29 11:21:43 +02:00
Mael Rouxel-Labbé 3640902c6f Misc minor changes 2017-08-23 17:15:44 +02:00
Mael Rouxel-Labbé dba83ba5bf Fixed a few Alpha Shapes 2 headers 2017-08-23 16:40:55 +02:00
Mael Rouxel-Labbé 63d293765f Added an assertion to forbid using ExactComparisonTag with periodic triangulations
When we set the exact comparison tag to true, we use a lazy evaluation
of predicates and store pointers to the arguments of the predicates (that is,
pointer to points). However, the points are  -- in the case of periodic --
only temporary objects and it is thus dangerous to take pointers to those
temporary values because the pointers quickly become invalid.

Thus, periodic triangulations are not allowed to use the exact tag.

A possible way to make it work is to define a small class:
Periodic_triangulation_with_stored_real_points that would inherit the base
(periodic) triangulation but store all the points of its simplices.
Then, the function  point(face_handle, int) would return an entry of that
container, of which it would be safe to take a pointer.
2017-08-23 16:19:32 +02:00
Mael Rouxel-Labbé 87e9bb4c43 Changed Alpha_shapes_2 to work with periodic triangulations 2017-08-23 11:02:52 +02:00
Mael Rouxel-Labbé c9551ca1ab Fixed Point type in Alpha_Shapes_2 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé a220ce40d5 Made Alpha Shapes 2 output functions readable (no real changes) 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 4f699efd8b Fixed inaccessible functions 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 1b3a608b30 Fixed not getting Alpha shapes 2 predicates and constructions from Lazy alpha NT 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé b31e954edc Fixed default constructed traits 2017-06-28 10:14:35 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Philipp Möller 88a8731ebf locate is a dependent name and needs to be qualified to be found 2012-10-03 10:14:08 +00:00
Philipp Möller 79b30908d5 WARNFIX: Silence a good part of unused variable/parameter warnings.
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +00:00
Sébastien Loriot a7456a2736 merge from next 2012-01-16 15:28:51 +00:00
Sébastien Loriot 4a31206e6e add constructor from triangulation
see:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Alpha_cstr_from_tri
2012-01-16 11:02:02 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot 898c7f2d34 update copyright date 2011-12-30 14:38:06 +00:00
Sébastien Loriot 12c8aaf36a *add the ExactAlphaComparisonTag to the Alpha_shape_2 class
*Update the documentation and fix at the same time few ambiguities
*test Projection_traits
2011-12-30 13:37:08 +00:00
Sébastien Loriot de78155f99 BUG_FIX: remove unneeded useage of nested traits' type Ray 2011-10-03 06:27:06 +00:00
Sébastien Loriot 1c2852d004 BUGFIX: Avoid segfault when calling find_optimal_alpha with less that 3 points 2011-06-09 10:04:51 +00:00
Andreas Fabri 13ef2c35b2 Fix usage of BOOST_PREVENT_MACRO_SUBSTITUTION 2011-03-13 17:41:31 +00:00
Sébastien Loriot ca91793f1a forgot to update output functions after modifications of
commit 57811 (change classification on the bound: the simplex is inside
the alpha-complex when alpha >= its squared_radius)
2010-08-17 07:25:59 +00:00
Sébastien Loriot 5b66d3f57f comment unused private declaration of Line_face_circulator 2010-08-16 09:33:45 +00:00
Sébastien Loriot 8f413716fb change classification on the bound: the simplex is inside
the alpha-complex when alpha >= its squared_radius.


this was the source of a bug in find_alpha_solid which cause a bug
in find_optimal_alpha

fix approved by Mariette.
2010-08-05 12:49:32 +00:00
Andreas Fabri 7762ed8e02 Fixed scope of size_type 2010-06-24 07:06:03 +00:00
Andreas Fabri a0e4e186c5 int -> size_type 2010-06-23 14:05:40 +00:00
Andreas Fabri a3e7878606 int -> size_type/std::size_t 2010-06-21 14:54:45 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Sébastien Loriot ec840a9cbf add missing Using detected by intel compiler 2010-04-26 08:20:17 +00:00
Andreas Fabri 3f4c7cbc9e Add a typedef to be in sync with the manual 2008-11-25 13:21:09 +00:00
Sylvain Pion fd2d8748e0 Qualify calls to min and max by CGAL::, otherwise
we get ambiguities with std::min/max.
2007-11-05 19:05:13 +00:00
Andreas Fabri 998215b125 fix for VC8 debug STL 2007-06-04 13:52:17 +00:00
Andreas Fabri fee5e7ed55 Remove Window_stream 2007-03-20 21:56:50 +00:00