Commit Graph

67 Commits

Author SHA1 Message Date
Andreas Fabri ac9b5b2fbd Add Aff_transformation_3::is_translation() which checks the rep 2021-04-13 19:38:28 +01:00
Laurent Rineau d6e9bdd0c1 Merge pull request #5269 from GilesBathgate/move-assignment-operators
Move assignment operators
2021-03-24 15:05:39 +01:00
Laurent Rineau 45800d2ab6 Merge pull request #5498 from GilesBathgate/cleanup-index-adder
Cleanup index adder in polygon_mesh_to_nef_3
2021-03-24 15:05:22 +01:00
Giles Bathgate d23fca2a47 Use new_index in several other places 2021-02-27 12:32:26 +00:00
Giles Bathgate 113298056d Explicitly call simplify after marking bounded volumes 2021-02-17 20:00:34 +00:00
Giles Bathgate f5563a73d0 Add a move assignment operator to Nef_Polyhedron.h 2020-12-13 13:50:19 +00: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
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 fa92aa49f7 Nef 2018-01-18 10:43:57 +00: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 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
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
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
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
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
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
Sébastien Loriot 68c01e9cae add constructor from point, point range and segment 2015-09-08 10:56:18 +02:00
Sébastien Loriot 073fdd0fd7 if the incremental builder failed, simply rollback instead of continuing 2015-02-26 08:51:00 +01: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
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
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Andreas Fabri 28dad1ac6f Switch to Projection_traits classes 2011-01-19 11:11:26 +00:00
Daniel Russel ba741338c6 fix const correctness on convert to polyhedron 2010-09-20 17:38:06 +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 03f34438d2 Added using statements 2010-08-23 14:06:26 +00:00
Andreas Fabri ba831fc76e Added using statements 2010-08-23 13:56:33 +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
Andreas Fabri 033b381585 Add 'using' for ansi compliance 2010-05-17 10:30:22 +00:00
Peter Hachenberger 79229a5472 small bug fix in convert_inner_shell_to_nef3 2010-05-04 16:41:56 +00:00
Laurent Rineau b972b38b6d - Remove the capital P in "convert_to_Polyhedron". Add a wrapper function for
back-compatibility.
- Fill svn:ignore properties.
2009-06-30 09:40:14 +00:00
Peter Hachenberger e785c364bf make enum Intersection_mode publicly available 2009-04-21 01:04:28 +00:00
Peter Hachenberger 5c32d1ec24 get rid of uninitialized variable warning 2008-10-27 14:45:52 +00:00
Sylvain Pion 6aba449434 Replace Nef's custom Object_handle by CGAL::Object.
There were some differences :
- CGAL::Object has no template constructor, so using make_object() was required.
- CGAL::Object had no comparison with NULL to check emptyness.  I added
  such comparison operators to CGAL::Object as *deprecated*.
2008-09-09 16:03:25 +00:00
Peter Hachenberger e19ecac4e8 updated is_simple for more general conversion to Polyhedron_3 2008-08-01 09:23:39 +00:00
Peter Hachenberger abcb52eb01 corrected error in Default_item mechanism 2008-07-24 14:09:40 +00:00
Peter Hachenberger b61c2b1f61 moved Nary_union and Nary_intersection to CGAL scope. 2008-07-15 15:23:47 +00:00
Peter Hachenberger 775b8f868f - intersection with halfspace uses enum to distinguish intersections
with plane, open or closed halfspace.
- added constructor for polylines.
2008-07-12 16:45:05 +00:00