Commit Graph

199 Commits

Author SHA1 Message Date
Laurent Rineau 258d704a90 Merge pull request #6209 from sloriot/PMP-std_instead_of_boost
Use features available in std instead of boost
2022-02-24 19:57:17 +01:00
Efi Fogel 414103f286 Added missing copy constructor && assignmnet 2022-02-21 17:17:34 +02:00
Sébastien Loriot 4ffc949199 replace boost::unordered by std::unordered
but in T3, Mesh_3, TDS_3, P3[TM]3
2022-02-03 19:11:12 +01:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Mael Rouxel-Labbé 0d66e19361 IO documentation fixes
See @sloriot's review:

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Polgyon_soup_mesh_IO/2nd_round/Answer_to_review

(+ some commits before and after this one)
2020-07-24 17:06:00 +02:00
Efi Fogel 3863b969e5 Fixed intersection return type and cleaned up 2020-04-06 02:01:25 +03: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
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Sébastien Loriot 1d908c1c0b remove code for CGAL_INTERSECTION_VERSION 1 2019-03-29 13:28:32 +01:00
Sébastien Loriot 4464229a52 remove cpp11 workarounds in argt related packages 2019-03-29 10:41:50 +01:00
Laurent Rineau 300659577a Other fixes for GMPXX
Followup-up to the previous commit.
2019-02-05 13:32:27 +01:00
Efi Fogel dbc45fac53 Fixed face filtering in case one of the summands does not have an outer boundary 2018-11-27 16:32:07 +02:00
Sébastien Loriot cdbe19b480 Merge pull request #3369 from maxGimeno/AABB_tree-AABB_transformed_traits-GF
[Small Feature] Add collision detection in PMP
2018-10-30 15:49:38 +01:00
Maxime Gimeno a764322b7d Create a dummy traits and fix AABB_traits and AABBTraits implem/doc problems. 2018-10-09 10:24:31 +02:00
Sébastien Loriot 3dd0aa112d rename macro not following the convention 2018-10-08 10:28:55 +02:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Sébastien Loriot 4d00a8e070 Merge branch 'cgal/releases/CGAL-4.12-branch' 2018-05-15 22:32:45 +02:00
Andreas Fabri c65a07db7e Qualify local struct with class scope 2018-05-15 15:37:51 +02:00
Efi Fogel 06fb3dbc10 Fixed the code to handle polygons-with-holes with empty outer boundary. 2018-05-01 12:48:18 +03:00
Laurent Rineau 689f5d828d Merge branch 'releases/CGAL-4.11-branch' 2018-01-04 16:15:15 +01:00
Efi Fogel eedebc584a 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
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 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
Laurent Rineau 51f5697d3d Add missing #include 2016-09-30 15:23:14 +02:00
Andreas Fabri 0cfcafba86 Fix package Minkowski_sum_2: include headers 2016-09-30 15:22:28 +02:00
Efi Fogel eed57c67a9 Used the explicit type Gps_segment_traits_2 to resolve ambiguity 2016-06-02 17:59:35 +03:00
Efi Fogel bbc514714c Merge branch 'MS_2-decomposition_optimization-efif-old' into MS_2-decomposition_optimization-efif
Conflicts:
	Documentation/biblio/cgal_manual.bib
	Documentation/biblio/geom.bib
	Minkowski_sum_2/doc/Minkowski_sum_2/Minkowski_sum_2.txt
	Minkowski_sum_2/test/Minkowski_sum_2/test_minkowski_sum_with_holes.cpp
2016-02-24 18:25:07 +02:00
Andreas Fabri c3ad989c9f Use wrapper for the very basic mutex locking 2015-09-04 09:46:51 +02:00
Efi Fogel 4e7379e957 1st revision 2015-07-01 12:00:46 +03:00
Efi Fogel e006eaa6c6 Added minkowski_sum_by_decomposition_2() 2015-06-29 16:47:53 +03:00
Efi Fogel 91a79a7ff8 Fixed comment 2015-06-29 13:29:18 +03:00
Efi Fogel 58eef9eacd Renamed minkowski_sum_{full_convolution,reduced_convolution} => minkowski_sum_by_{full_convolution,reduced_convolution} 2015-06-29 11:27:45 +03:00
Efi Fogel b56453e897 Fixed typo 2015-06-22 18:47:46 +03:00
Efi Fogel b1019a64ad Enhanced the test to use 2 decomposition strategies 2015-06-22 17:05:31 +03:00
Efi Fogel 4218896b1e For now, allocate 2 decomposition strategies if not present 2015-06-22 17:04:41 +03:00
Efi Fogel c5d334d345 Added second parameter to Minkowski sum function by decomposition 2015-06-22 12:42:50 +03:00
Laurent Rineau 284116af48 Patch to remove a warning
The warning, reported by g++-4.8 with `-O3 -DCGAL_NDEBUG`, was:

    In file included from [...]/CGAL-4.7-Ic-35/include/CGAL/predicates/kernel_ftC2.h:32:0,
                     from [...]/CGAL-4.7-Ic-35/include/CGAL/Cartesian/Line_2.h:30,
                     from [...]/CGAL-4.7-Ic-35/include/CGAL/Cartesian/Cartesian_base.h:35,
                     from [...]/CGAL-4.7-Ic-35/include/CGAL/Simple_cartesian.h:28,
                     from [...]/CGAL-4.7-Ic-35/include/CGAL/Exact_predicates_inexact_constructions_kernel.h:28,
                     from [...]/CGAL-4.7-Ic-35/cmake/platforms/i686_Linux-2.6_g++-4.1.2_CentOS-5.1-O3/test/Polygon_Demo/Polygon_2.cpp:4:
    [...]/CGAL-4.7-Ic-35/include/CGAL/constructions/kernel_ftC2.h:40:3: warning: 'min_q' may be used uninitialized in this function [-Wmaybe-uninitialized]
       x = (px+qx) / 2;
       ^
    In file included from [...]/CGAL-4.7-Ic-35/include/CGAL/minkowski_sum_2.h:25:0,
                     from [...]/CGAL-4.7-Ic-35/cmake/platforms/i686_Linux-2.6_g++-4.1.2_CentOS-5.1-O3/test/Polygon_Demo/Polygon_2.cpp:13:
    [...]/CGAL-4.7-Ic-35/include/CGAL/Minkowski_sum_2/Minkowski_sum_by_reduced_convolution_2.h:463:13: note: 'min_q' was declared here
         Point_2 min_q;
                 ^

See https://cgal.geometryfactory.com/CGAL/Members/testsuite/CGAL-4.7-Ic-35/Polygon_Demo/TestReport_lrineau_i686_Linux-2.6_g++-4.1.2_CentOS-5.1-O3.gz
2015-05-27 12:08:02 +02:00
Sebastian Morr d0f492a3fd Fix incorrect function evocation 2015-05-18 12:04:49 +02:00
Sebastian Morr a69dd3f6c7 Rename more Polygon to Polygon_2 and remove an unused variable 2015-05-14 09:22:06 +02:00
Sebastian Morr c52234a531 Never use Polygon_2::vertex(i), in case that the Container is std::list 2015-05-13 16:34:35 +02:00
Sebastian Morr 0c5d3bdbdd Avoid warnings about the size_t to int cast 2015-05-12 23:37:04 +02:00
Efi Fogel 423ce309f4 Added missing Container template parameter 2015-05-12 21:48:40 +03:00
Efi Fogel 46d8e206f0 Added copyright statetemnt 2015-05-09 10:30:58 +03:00
Efi Fogel 39f1e22dad Type and typename fixes 2015-05-06 00:40:52 +03:00
Efi Fogel 1b0c1de7b3 Cleaned up 2015-05-03 15:11:10 +03:00