Commit Graph

330 Commits

Author SHA1 Message Date
Laurent Rineau b3d9e97abe Merge pull request #3889 from sloriot/CGAL-remove_link_to_old_demos
Remove link to old demos
2019-05-06 15:02:01 +02:00
Maxime Gimeno d7b85085fd Somehow silent the warning that was actually due to an optionnal in the circulatior type. 2019-05-03 11:01:52 +02:00
Andreas Fabri 7dabb4c47b Move variable in the ifdef/endif scope 2019-04-30 10:12:58 +02:00
Andreas Fabri 1c72c40b65 Try to fix warning 2019-04-30 08:39:01 +02:00
Sébastien Loriot c92996cd5a remove link to old Qt3 demos 2019-04-29 17:27:04 +02:00
Andreas Fabri c2fcd257c7 cleanup 2019-04-24 11:28:18 +02:00
Andreas Fabri 146dfce5fe Fix the definition of Partition_traits_2::Polygon_2 2019-04-24 10:34:25 +02:00
Andreas Fabri 8c6b512ca2 polish doc 2019-04-23 16:50:29 +02:00
Andreas Fabri c49382502b cleanup 2019-04-23 16:10:01 +02:00
Andreas Fabri 98c915f9c2 Add a PointPropertyMap to Partition_traits with as default Identity_property_map 2019-04-23 15:53:02 +02:00
Andreas Fabri 804184ba78 Do not copy the traits object 2019-04-18 11:33:10 +02:00
Andreas Fabri f6e3221d98 Easy fixes after Mael's review 2019-04-17 22:33:04 +02:00
Andreas Fabri a22bc68939 Fix warning 2019-04-17 09:19:07 +02:00
Andreas Fabri 70c115b1e9 Fix bug which was revealed through minkowski testsuite 2019-04-16 13:52:11 +02:00
Sébastien Loriot bd5ef7d9ea fix init order 2019-04-12 14:52:38 +02:00
Sébastien Loriot 30879a7145 Polygon_2 cannot be init with a initialization list 2019-04-12 14:51:57 +02:00
Andreas Fabri 7778b1057d remove \pre 2019-04-12 14:17:02 +02:00
Sebastien Loriot 57a2c4e809 Apply suggestions from code review
Co-Authored-By: afabri <andreas.fabri@geometryfactory.com>
2019-04-12 12:45:11 +02:00
Andreas Fabri fe9fce35f6 Remove typename 2019-04-12 10:31:29 +02:00
Andreas Fabri e5217dc67c polish doc 2019-04-11 12:05:38 +02:00
Andreas Fabri a9bb23ce64 cleanup 2019-04-11 11:53:33 +02:00
Andreas Fabri 76b3b92a43 Add example and implememntation history to the user manual 2019-04-11 11:26:11 +02:00
Andreas Fabri 66437517c9 cleanup 2019-04-11 10:54:00 +02:00
Andreas Fabri dd6691b2ce remove template parameter 2019-04-11 09:21:37 +02:00
Andreas Fabri a494bf3678 remove old example 2019-04-10 22:16:15 +02:00
Andreas Fabri d60ebe5d87 No need for constructions 2019-04-10 17:33:26 +02:00
Andreas Fabri 2bbfe86fe2 Remove unused code 2019-04-10 14:14:47 +02:00
Andreas Fabri e632bebdba Fixes so that the testsuite compiles again 2019-04-10 13:18:25 +02:00
Andreas Fabri 2458965c15 Default initialize 2019-04-10 12:18:57 +02:00
Andreas Fabri c7d55b72cf Get rid of construct_segment/construct_ray/intersect/assign in Vertex_visibility_graph 2019-04-09 17:38:40 +02:00
Andreas Fabri ff305562ff cleanup 2019-04-09 14:27:18 +02:00
Andreas Fabri dd292450a7 typos 2019-04-09 14:23:34 +02:00
Andreas Fabri b444bb2246 typos 2019-04-09 14:18:08 +02:00
Andreas Fabri 3fa3fc1ab0 typos 2019-04-09 14:18:08 +02:00
Andreas Fabri f42e8952f5
Merge branch 'master' into Partition_2-Traits_with_state-GF 2019-04-09 13:57:57 +02:00
Andreas Fabri 2ed0f2d94b Fixes and add documentation 2019-04-09 13:49:11 +02:00
Andreas Fabri 3d0674ed4f Add an example that used the traits adapter 2019-04-09 13:10:59 +02:00
Andreas Fabri ca161c5639 Partition_2: Make it work for a traits with state 2019-04-09 10:54:03 +02:00
Andreas Fabri 4ebeaf017d WIP - we first have to make it work for a traits class with state 2019-04-08 17:41:09 +02:00
Andreas Fabri baa2cf4e40 cleanup 2019-04-03 08:22:40 +02:00
Andreas Fabri 7127fa32ad It now works for all partitions.
Somebody should check if the change in
Partition_2/include/CGAL/Partition_2/Rotation_tree_2.h
is ok.
2019-04-02 15:55:45 +02:00
Andreas Fabri 4eeb1fa37f WIP towards making all partition methods work 2019-04-02 15:31:59 +02:00
Sébastien Loriot ecd818a3a7 remove cpp11 condition 2019-03-29 10:41:50 +01:00
Laurent Rineau 8693f95dac Merge pull request #3619 from albert-github/feature/bug_headers
Update of headers
2019-02-22 16:39:09 +01:00
Sébastien Loriot 59bc453b42 first batch of replacement for level 1 in classified ref man
command used:
grep -l  "##" */doc/*/PackageDescription.txt | xargs  sed -i  -E 's/\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\s*$/\\cgalCRPSection{\1}/'
2019-02-14 10:32:39 +01:00
Laurent Rineau 49732a118c Merge remote-tracking branch 'cgal/master' into Ipelets-Fix_warning-GF 2019-02-13 16:27:54 +01:00
Laurent Rineau d97726ffe4 Fix a warning [-Wmaybe-uninitialized]
```
In file included from /mnt/testsuite/include/CGAL/Cartesian/Weighted_point_2.h:29,
                 from /mnt/testsuite/include/CGAL/Cartesian/Cartesian_base.h:34,
                 from /mnt/testsuite/include/CGAL/Cartesian.h:29,
                 from /home/cgal_tester/build/src/cmake/platforms/Fedora-rawhide-Release/test/Partition_2/approx_convex_partition_2_test_C.cpp:31:
/mnt/testsuite/include/CGAL/Handle_for.h: In function ‘bool CGAL::partition_appx_cvx_cuts_nonconvex_angle(Edge_circulator, Circulator, const Triangulation&, const Traits&) [with Edge_circulator = CGAL::Triangulation_ds_edge_circulator_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Triangulation_indirect_traits_2<CGAL::Safe_circulator_from_iterator<__gnu_cxx::__normal_iterator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >*, std::vector<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >, std::allocator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > > > > >, int, int, int>, CGAL::Partition_traits_2<CGAL::Cartesian<double> > >, CGAL::Triangulation_ds_vertex_base_2<void> >, CGAL::Constrained_triangulation_face_base_2<CGAL::Triangulation_indirect_traits_2<CGAL::Safe_circulator_from_iterator<__gnu_cxx::__normal_iterator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >*, std::vector<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >, std::allocator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > > > > >, int, int, int>, CGAL::Partition_traits_2<CGAL::Cartesian<double> > >, CGAL::Triangulation_face_base_2<CGAL::Triangulation_indirect_traits_2<CGAL::Safe_circulator_from_iterator<__gnu_cxx::__normal_iterator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >*, std::vector<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >, std::allocator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > > > > >, int, int, int>, CGAL::Partition_traits_2<CGAL::Cartesian<double> > >, CGAL::Triangulation_ds_face_base_2<void> > > > >; Circulator = CGAL::Safe_circulator_from_iterator<__gnu_cxx::__normal_iterator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >*, std::vector<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >, std::allocator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > > > > >, int, int, int>; Triangulation = CGAL::Constrained_triangulation_2<CGAL::Triangulation_indirect_traits_2<CGAL::Safe_circulator_from_iterator<__gnu_cxx::__normal_iterator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >*, std::vector<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > >, std::allocator<CGAL::Partition_vertex<CGAL::Partition_traits_2<CGAL::Cartesian<double> > > > > >, int, int, int>, CGAL::Partition_traits_2<CGAL::Cartesian<double> > >, CGAL::Default, CGAL::Default>; Traits = CGAL::Partition_traits_2<CGAL::Cartesian<double> >]’:
/mnt/testsuite/include/CGAL/Handle_for.h:313:12: warning: ‘*((void*)& next_ccw_pt_ref +40)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  313 |     return *(h.Ptr());
In file included from /mnt/testsuite/include/CGAL/partition_2.h:30,
                 from /home/cgal_tester/build/src/cmake/platforms/Fedora-rawhide-Release/test/Partition_2/approx_convex_partition_2_test_C.cpp:33:
/mnt/testsuite/include/CGAL/Partition_2/partition_approx_convex_2.h:91:34: note: ‘*((void*)& next_ccw_pt_ref +40)’ was declared here
   91 |    typename Triangulation::Point next_ccw_pt_ref, prev_ccw_pt_ref;
      |                                  ^~~~~~~~~~~~~~~
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.14-Ic-122/Partition_2/TestReport_gimeno_Fedora-rawhide-Release.gz
2019-02-13 16:03:20 +01:00
Laurent Rineau 896d5a7bd9 Quiet a warning [-Wmaybe-uninitialized]
```
[ 50%] Building CXX object CMakeFiles/test_exact_offset.dir/test_exact_offset.cpp.o
/usr/local/bin/c++  -DCGAL_TEST_SUITE=1 -DCGAL_USE_CORE=1 -DCGAL_USE_GMP -DCGAL_USE_MPFR -isystem /usr/include/x86_64-linux-gnu -I/home/cgal_tester/build/src/cmake/platforms/Ubuntu-latest-GCC6-Release/test/Minkowski_sum_2 -I/home/cgal_tester/build/src/cmake/platforms/Ubuntu-latest-GCC6-Release/include -I/mnt/testsuite/include  -DDONT_USE_BOOST_PROGRAM_OPTIONS -Wall -Wextra -O3 -DCGAL_NDEBUG -frounding-math   -Wall -frounding-math -o CMakeFiles/test_exact_offset.dir/test_exact_offset.cpp.o -c /home/cgal_tester/build/src/cmake/platforms/Ubuntu-latest-GCC6-Release/test/Minkowski_sum_2/test_exact_offset.cpp
In file included from /mnt/testsuite/include/CGAL/Cartesian/Weighted_point_2.h:29,
                 from /mnt/testsuite/include/CGAL/Cartesian/Cartesian_base.h:34,
                 from /mnt/testsuite/include/CGAL/Cartesian.h:29,
                 from /home/cgal_tester/build/src/cmake/platforms/Ubuntu-latest-GCC6-Release/test/Minkowski_sum_2/test_exact_offset.cpp:16:
/mnt/testsuite/include/CGAL/Handle_for.h: In function 'OutputIterator CGAL::partition_approx_convex_2(InputIterator, InputIterator, OutputIterator, const Traits&) [with InputIterator = __gnu_cxx::__normal_iterator<CGAL::Point_2<CGAL::Cartesian<CORE::BigRat> >*, std::vector<CGAL::Point_2<CGAL::Cartesian<CORE::BigRat> >, std::allocator<CGAL::Point_2<CGAL::Cartesian<CORE::BigRat> > > > >; Traits = CGAL::Partition_traits_2<Rat_kernel>; OutputIterator = std::back_insert_iterator<std::__cxx11::list<CGAL::Polygon_2<Rat_kernel, std::__cxx11::list<CGAL::Point_2<CGAL::Cartesian<CORE::BigRat> >, std::allocator<CGAL::Point_2<CGAL::Cartesian<CORE::BigRat> > > > >, std::allocator<CGAL::Polygon_2<Rat_kernel, std::__cxx11::list<CGAL::Point_2<CGAL::Cartesian<CORE::BigRat> >, std::allocator<CGAL::Point_2<CGAL::Cartesian<CORE::BigRat> > > > > > > >]':
/mnt/testsuite/include/CGAL/Handle_for.h:313:12: warning: '*((void*)& target +40)' may be used uninitialized in this function [-Wmaybe-uninitialized]
  313 |     return *(h.Ptr());
In file included from /mnt/testsuite/include/CGAL/partition_2.h:30,
                 from /mnt/testsuite/include/CGAL/Minkowski_sum_2/Decomposition_strategy_adapter.h:31,
                 from /mnt/testsuite/include/CGAL/Polygon_convex_decomposition_2.h:27,
                 from /home/cgal_tester/build/src/cmake/platforms/Ubuntu-latest-GCC6-Release/test/Minkowski_sum_2/test_exact_offset.cpp:22:
/mnt/testsuite/include/CGAL/Partition_2/partition_approx_convex_2.h:173:23: note: '*((void*)& target +40)' was declared here
  173 |    Circulator source, target, before_s, after_s;
      |                       ^~~~~~
```

It seems sufficient to declare the variables at a smaller
scope. Strange...
2019-02-11 14:50:50 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Laurent Rineau 6ffd76a87e Merge pull request #2792 from afabri/Intersections_3-Add_missing_do_intersect-GF
Intersections_3:  Add missing do_intersect() overloads
2019-01-18 16:37:54 +01:00
Andreas Fabri 561d689142 Fix Partition_2 2019-01-18 16:07:32 +01:00
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Sébastien Loriot 0685423ae8 update from cgal/master 2018-11-02 11:32:31 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Sébastien Loriot 2f9408f867 rename link name to match package name 2018-10-08 10:28:55 +02:00
Sébastien Loriot ea240cfac5 use \PkgXXX instead of \PkgXXXSummary 2018-10-08 10:28:44 +02:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Andreas Fabri b33ab791e1 Disable a warning. Fix an allocator call 2018-05-15 15:37:51 +02:00
Andreas Fabri 955b6a89e6 fix includes 2018-05-04 09:00:11 +02:00
Andreas Fabri 97b5c37b6e Fix includes 2018-05-04 09:00:11 +02:00
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno 8bde832931 Fix METIS headers in BGL 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno ae36b452bc Add dependencies of all packages 2018-02-02 12:08:05 +01:00
Laurent Rineau f2391a30a5 Merge pull request #2562 from afabri/Filtered_kernel-Do_intersect_2-GF
Add Static Filters for the Exact Construction Kernel
2017-12-19 16:29:53 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Laurent Rineau f175ed6702 Fix a runtime error
The adaptation of that part of the code was plain wrong.
2017-10-31 10:25:36 +01:00
Laurent Rineau 2b7bd7c4b8 Fix compilation errors 2017-10-30 17:24:51 +01:00
Andreas Fabri a2fc6e1830 Make Partition_2 work with g++ 2017-10-30 12:55:21 +01:00
Andreas Fabri 1d332f5de3 Downcast to Point_2 in order that functions match 2017-10-30 12:28:57 +01:00
Mael Rouxel-Labbé 54be2d8206 Add Construct_point_2 to Triangulation_indirect_traits_2
Needed to satisfy the TriangulationTraits_2 concept
2017-06-28 10:15:30 +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
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Philipp Möller 0a04a3a48f Use CGAL_DOC_VERSION 2016-02-11 15:37:54 +01:00
Andreas Fabri 6d25c01c5c push warning in Partition_2 2016-01-28 16:17:51 +01:00
Philipp Möller 71b4e9c515 Use CGAL_FULL_VERSION in all Doxyfile.in 2015-12-17 16:33:28 +01:00
Philipp Möller 81a8f982dc Handle the easy INPUT cases
If INPUT is just PKG/doc/PKG, handle it automatically.
2015-12-10 17:00:26 +01:00
Andreas Fabri 6e214c5f4a remove Qt3 demos and empty dontsubmit files 2015-09-30 12:51:40 +02:00
Sébastien Loriot 8aa67dcfa4 add missing const in doc 2014-05-06 16:03:51 +02:00
Sébastien Loriot 9114db9085 restore figure source files removed in 0fa2cacb
| commit 0fa2cacb60
  | Author: Sébastien Loriot <sebastien.loriot@cgal.org>
  | Date:   Tue Dec 3 17:27:02 2013 +0100
  |
  |     remove doc_tex documentation (including developer manual) and old manual tools
2014-02-10 14:54:23 +01:00
Sébastien Loriot 69eff06691 add a default constructor to Primitive_vertex to make it work with Lazy
also add a test showing the issue
2014-01-13 19:12:20 +01:00
Sébastien Loriot 0fa2cacb60 remove doc_tex documentation (including developer manual) and old manual tools 2013-12-03 17:27:02 +01:00
Laurent Rineau 38e5dc102d Remove execution permissions 2013-11-13 14:05:43 +01:00
Sébastien Loriot 979306eb93 add a link to common demo dlls and update demo macro to avoid repeating Demo 2013-10-22 12:16:48 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Sébastien Loriot e8975dbac7 function documentation fixes
remove the repetition of the name of the function in its brief description
 add parenthesis for function matching "function\s+`[a-z0-9_]`"
2013-09-03 14:25:50 +02:00
Laurent Rineau bc03aaf30b Put doc/ in the global dont_submit file 2013-08-20 10:57:03 +02:00
Sébastien Loriot d282ade623 use \cgalCite instead of \cite
using perl -i -pe 's/\\cite\s*{?([a-zA-Z0-9:-]+)}?/\\cgalCite{$1}/g'
2013-08-05 18:25:26 +02:00
Sébastien Loriot b2ef3b8673 Merge branch 'doc-remove_gif-local'
Successfully test in CGAL-4.3-Ic-102

This commit fixes a few issues in the doxygen documentation and in particular
the figure for the generation of latex doc.

Approved by the interim release manager

xplain why this merge is necessary,
2013-07-26 17:50:07 +02:00
Sébastien Loriot 31dbc5b1d3 add link to Point_2
fix bug #15485
2013-07-25 17:32:33 +02:00
Sébastien Loriot 2dfe8a3d73 workaround for a doxygen bug: remove space after /!* to avoid a verbatim env
this happens if you have an empty line or the text directly after /!*
to find them in the generated documentation, grep for "pre class=\"fragment\""
(a few of them are legitimate however)
2013-07-25 14:58:53 +02:00
Sébastien Loriot 74a1ac055e remove pdf files from doxygen doc include path 2013-07-25 11:15:18 +02:00
Sébastien Loriot 519b301130 remove gif files from doxygen doc include path 2013-07-25 11:14:16 +02:00