Commit Graph

349 Commits

Author SHA1 Message Date
Sébastien Loriot ce126b87c6 remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead 2019-03-29 13:28:32 +01:00
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Sébastien Loriot 8ec090d1d1 remove condition for cpp11 in Nef 2019-03-29 10:41:50 +01:00
Andreas Fabri a77988e149 Fix Nef_3 2019-01-24 18:06:03 +01:00
Maxime Gimeno e2f2c63e76 Modifications after review 2019-01-23 11:25:00 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Andreas Fabri 09ae18b191 Fix Nef_3 2019-01-22 19:07:31 +01:00
Andreas Fabri 9fc58ff874 Fix SNC_sphere_map 2019-01-22 19:07:31 +01:00
Andreas Fabri d8f608fa51 fix Nef_3 2019-01-15 18:20:36 +01:00
Maxime Gimeno ce72dd895f First draft of the doc 2019-01-15 12:38:04 +01:00
Maxime Gimeno 7bd7caa53c Replace vectors of points and polygons by ranges and write a test file. 2019-01-15 10:04:38 +01:00
Sébastien Loriot 725e773bdd add nef to polygon soup 2018-12-20 09:31:52 +01:00
Andreas Fabri 97ac4d5f51 Exploit that construct is variadic 2018-04-17 14:15:07 +01:00
Andreas Fabri 7cbffac35b Deal with deprecated functions allocator<T>::construct/destroy 2018-04-17 13:35:04 +01:00
Andreas Fabri 3580a28a98 Move file from BGL to Nef_3 2018-03-22 16:54:54 +01:00
Laurent Rineau 182239d6b6
Merge branch 'master' into CGAL-remove_SCL_SECURE_NO_DEPRECATE-GF 2018-03-06 16:49:30 +01:00
Jane Tournois 30e2fe0844 fix condition on _MSC_VER 2018-03-02 10:39:57 +01:00
Laurent Rineau f16b771a09
Fix the syntax error 2018-03-01 14:04:38 +00:00
Jane Tournois 646dfedaf3 since msvc 2017, these typedefs are valid
and even needed when using /permissive-
2018-02-28 11:52:49 +01:00
Andreas Fabri eb526fc4f5 Replacements and suppress warnings in the test code 2018-02-20 13:10:38 +00:00
Andreas Fabri fa92aa49f7 Nef 2018-01-18 10:43:57 +00: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
Sébastien Loriot 97e8ea1794 remove extra space 2017-11-12 10:17:51 +01:00
Laurent Rineau 4d0d588c90 Merge pull request #1989 from maxGimeno/Plugins_use_SM-Convex_decomposition-GF
convex decomposition work with Surface_mesh_item
2017-07-03 12:08:48 +02:00
Laurent Rineau bececa63df Merge branch 'releases/CGAL-4.9-branch' into releases/CGAL-4.10-branch 2017-06-16 11:43:08 +02:00
Sébastien Loriot 1ca852bb87 fix Booleen operations with full/empty space 2017-06-07 09:36:09 +02:00
Maxime Gimeno 45edec15db Nef_plugin works with surface_mesh. 2017-05-29 12:12:31 +02:00
Sébastien Loriot 4cbb19ecf4 remove unused variable warnings 2017-01-30 07:22:48 +01: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
Sébastien Loriot 117ea03d92 add missing include directives 2016-10-31 14:51:32 +01:00
Laurent Rineau c826500c7d Merge pull request #1551 from mglisse/Number_types-gmpxx_coercion-glisse
Misc GMPXX fixes
2016-10-20 09:47:39 +02:00
Laurent Rineau b76e1e021a Merge pull request #1470 from sloriot/Nef_3-cst_from_FaceGraph
Add a Nef_3 constructor from a FaceGraph
2016-10-17 10:03:28 +02:00
Laurent Rineau 038a310a1a Merge pull request #1446 from sloriot/CGAL-remove_dont_submit
Getting rid of the remaining dont_submit files
2016-10-17 10:01:30 +02:00
Laurent Rineau 2e4354f2e6 Merge pull request #1421 from afabri/Nef_3-static-GF
Nef_3: Make variables atomic
2016-10-17 09:59:36 +02:00
Marc Glisse 5bee5f5922 Workarounds for expression templates. 2016-10-15 18:21:54 +02:00
Sébastien Loriot b572d76f16 move unused files to archive 2016-10-06 09:53:36 +02:00
Andreas Fabri 66fb38611d no need for CGAL/tss.h 2016-10-05 16:15:49 +02:00
Andreas Fabri bc8e29b025 Split the file CGAL/Nef_3/ID_support_handler in two files,
one with the generic function, one with the specialization used by Nef_3.
2016-09-30 15:23:15 +02:00
Laurent Rineau c22dcd0e2c Missing includes 2016-09-30 15:23:15 +02:00
Andreas Fabri b571c968ed Fix package Nef_3: include headers 2016-09-30 15:22:30 +02:00
Laurent Rineau 3ba403471c Use CGAL::cpp11::atomic only when possible 2016-09-22 15:38:02 +02:00
Sébastien Loriot f1f82785ac add a constructor from a FaceGraph
The first version code is from @afabri
2016-09-21 08:47:06 +02:00
Andreas Fabri 0695aa3fcd Protect a counter shared by all threads using atomic 2016-09-06 11:18:22 +02:00
Andreas Fabri 099b98da01 Make variables thread local 2016-08-31 12:56:46 +02:00
Sébastien Loriot 013c25c889 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch' 2016-06-08 14:11:28 +02:00
Sébastien Loriot 683e6dff94 handle isolated vertices in change_orientation 2016-06-07 10:04:43 +02:00
Laurent Rineau 00e6e03d5c Merge pull request #785 from afabri/CGAL-missing_includes-GF
Partial cleanup of issue #595   Part2
2016-03-24 17:02:27 +01:00
Sebastien Loriot 31e99620a6 Merge pull request #547 from gunshi/master
Plane_3-Plane_lt-map-patch
2016-02-22 08:45:15 +01:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Gunshi Gupta 4404c198ed Updating Plane_lt struct's operator() to recognise two proportional planes as the same plane by comparing ratios of corresponding a,b,c,d of Plane_3s 2016-02-10 20:13:31 +05:30
Andreas Fabri 4e342a0f05 forgot a } 2016-01-21 17:54:11 +01:00
Andreas Fabri 99b4e2f150 more CGAL_USE and some reindentations 2016-01-21 10:22:20 +01:00
Andreas Fabri c32b00acce partial cleanup of issue #595 2016-01-08 17:55:08 +01:00
Sebastien Loriot 2e493f297b Merge pull request #389 from afabri/CGAL-Qt3-GF
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Sébastien Loriot e2af73ca0a remove Nef_3 widget and remove example path 2015-10-22 09:37:05 +02:00
Laurent Rineau 330a0e75a2 Merge pull request #385 from cjamin/CGAL_headers_only-gdamiand_cjamin
CGAL headers only, step 0
2015-10-13 16:37:38 +02:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Sébastien Loriot 68c01e9cae add constructor from point, point range and segment 2015-09-08 10:56:18 +02:00
Sébastien Loriot 84d82c3a8e fix unused variable warnings 2015-07-16 10:15:33 +02:00
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
Sébastien Loriot 073fdd0fd7 if the incremental builder failed, simply rollback instead of continuing 2015-02-26 08:51:00 +01:00
Guillaume Damiand ef550fd3bb Ok for first version. 2014-11-14 17:22:06 +01:00
Andreas Fabri 2aa0f98526 Arithmetic_kernel -> Exact_integer/rational 2014-07-16 16:45:14 +02:00
Sébastien Loriot 0230e979e2 Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
Conflicts:
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
	Documentation/doc/Installation.txt
	Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Sébastien Loriot d3f82210bf remove VC warning: change class to struct 2013-05-23 11:08:49 +02:00
Sébastien Loriot 51103a281f fix SNC_IO_parser to work with Lazy_exact_nt 2013-05-21 08:36:05 +02:00
Sébastien Loriot afe855652b bug-fix: update the SNC_io_parser to keep on working with Epeck 2013-05-20 14:51:11 +02:00
Andreas Fabri b5e5e14aba Use Decompose instead of numerator()/denominator() 2013-03-26 11:31:56 +01:00
Andreas Fabri b29fdaeddf don't use GMP if it is not installed 2013-03-25 09:37:16 +01:00
Laurent Rineau a04891ff93 WARNFIX: fix some warnings triggered by -Wconversion on g++ 2012-08-09 16:06:54 +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
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Philipp Möller d3ee04897c merged next 2012-05-09 13:50:00 +00:00
Sébastien Loriot f685a77b0e merge from next 2012-04-17 18:19:33 +00:00
Sébastien Loriot 24070082f6 *deprecate the use of geninfo
*naive replacement of void* and geninfo by boost::any.
*old code can be used if CGAL_I_DO_WANT_TO_USE_GENINFO is defined
*info was printed, I simply ignored that for boost::any 
 (it probably made sense why the old implementation of geninfo that was using placement new to write
  inside the void*)
*some sizeof(void*) was used in SNC_structure.h for printing the size of something.
 I guessed this was related to the void* used as info. I left that code untouched.
*testsuite is OK on my machine except Nef_3/example/Nef_3/polygon_construction which also
 does not work with next on my machine
2012-04-17 18:18:09 +00:00
Sébastien Loriot 03ac39132a remove unused var warning 2012-04-17 17:37:53 +00:00
Philipp Möller 8f1ce2412c Removed all places where the CGAL_CFG_NO_TMPL_IN_TMPL work-around was
used. Those were mostly in Polyhedron and HalfedgeDS but some places
in Arrangement_2 used it, too. Neither of the parts of Arrangement_2
have been documented.
2012-04-13 13:13:30 +00:00
Efi Fogel 73aed62c96 pacify some compiler (commented out unused variables) 2012-01-30 14:30:27 +00:00
Efi Fogel 7b7671fc56 pacify some compiler (commented out unsuded variable) 2012-01-29 10:53:20 +00:00
Laurent Rineau 902a51c9f2 Fix missing copyright and/or license notice 2012-01-19 16:51:59 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau 07be7f49a5 Include <CGAL/glu.h> where needed 2011-11-09 22:45:52 +00:00
Laurent Rineau 369498d1e5 Cancel revision 64607. There had been a problem with the branch.
| ------------------------------------------------------------------------
  | r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
  | 
  | Merged feature-branch Aos_2-new_functors-tau into next
  | ------------------------------------------------------------------------
2011-07-06 11:11:58 +00:00
Sébastien Loriot a8b69a49cd bug in simplify in case a sloop is created when an edge is simplified.
For details see comments added
2011-05-27 11:26:40 +00:00
Sébastien Loriot 767bc40b1d remove warnings 2011-03-03 18:20:41 +00:00
Sébastien Loriot 0ebdccfa4e update URL and Id tag 2011-03-02 14:59:51 +00:00
Andreas Fabri 28dad1ac6f Switch to Projection_traits classes 2011-01-19 11:11:26 +00:00
Andreas Fabri cba1240d90 Add parenthesis to quiet down clang and have more readable code 2010-12-06 15:19:56 +00:00
Sébastien Loriot b265c6c919 long -> std:size_t to avoid a warning 2010-11-22 07:48:42 +00:00
Sébastien Loriot 9adcfa7e1a add functor taking care of construction of planes and vectors
in case the plane stored by the polyhedron is either a plane or
a vector (Polyhedron_traits_with_normals_3)
2010-10-19 07:22:22 +00:00
Daniel Russel ba741338c6 fix const correctness on convert to polyhedron 2010-09-20 17:38:06 +00:00
Daniel Russel cb2c38cd01 include def for origin 2010-09-20 17:37:24 +00:00
Laurent Rineau 2270620c69 Fix Nef_3 on recent g++. 2010-09-13 16:40:54 +00:00
Andreas Fabri f22ee7261f Change typedefs in the hope that gcc digestests them better 2010-09-05 14:50:51 +00:00
Andreas Fabri 4aa977e7e6 Conditional removal of using as VC++ has a problem with it 2010-08-23 15:17:29 +00:00
Andreas Fabri 104db1c602 Remove duplicate using statement 2010-08-23 15:09:25 +00:00
Andreas Fabri b1103b23e2 Add const 2010-08-23 15:00:26 +00:00
Andreas Fabri 6419ee6993 Added using statements 2010-08-23 14:19:10 +00:00
Andreas Fabri 03f34438d2 Added using statements 2010-08-23 14:06:26 +00:00