Commit Graph

189 Commits

Author SHA1 Message Date
Laurent Rineau 72c0a0deba Merge pull request #5973 from sloriot/CGAL-restore_rounding_mode-master
master version of #5971 (Make sure the rounding mode is restored when doing exact computations)
2021-09-20 17:07:07 +02:00
Sébastien Loriot 74c029cc68 Merge remote-tracking branch 'sloriot/CGAL-restore_rounding_mode-5.3' 2021-09-09 11:44:36 +02:00
Sébastien Loriot 6bae0e3939 Merge remote-tracking branch 'sloriot/CGAL-restore_rounding_mode' 2021-09-09 11:09:16 +02:00
Sébastien Loriot c8624ee0b3 check that the rounding mode when doing exact computation is to-nearest 2021-09-09 11:01:03 +02:00
Sébastien Loriot 106645ec2e make sure the rounding mode is to nearest when doing exact computations
Thoses changes should have been done when the code was modified for
CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG
2021-09-09 09:55:16 +02:00
Mael Rouxel-Labbé 8a92d51601 Merge branch 'Distance_3-Add_Tri_Tri-GF-old' into Distance_3-Add_Tri_Tri-GF 2021-09-02 17:26:44 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Sebastien Loriot 40f507a1f1
Merge pull request #5800 from MaelRL/SS-Doc_fixes-GF
Harmonization of some IO stream documentation
2021-07-19 07:56:48 +02:00
Sebastien Loriot 11bc0e4e7e
Merge pull request #5702 from GilesBathgate/Nef_3-disable_nef_trace-GilesBathgate
Replace CGAL_NEF_DEBUG with CGAL_USE_TRACE
2021-06-25 09:29:03 +02:00
Mael Rouxel-Labbé 78ff9185b3 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
Mael Rouxel-Labbé 084a1efe2d Merge remote-tracking branch 'cgal/master' into Distance_3-Add_Tri_Tri-GF 2021-06-23 22:30:03 +02:00
Giles Bathgate f3f6bebe60 Replace CGAL_NEF_DEBUG with CGAL_USE_TRACE 2021-05-12 07:37:49 +01:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Mael Rouxel-Labbé 7e62c02176 Re-organize into Distance_2/X_Y.h to align with Distance_3 2021-04-12 15:31:55 +02:00
Giles Bathgate ce7d06d5f4 Disable NEF trace unless the user specifically wants it 2021-02-07 11:55:29 +00:00
Laurent Rineau e1870c1522 Merge pull request #5371 from maxGimeno/Fix_Nesf_2_parser-maxGimeno
Fix OOB issues in Nef_*
2021-02-05 16:10:29 +01:00
Maxime Gimeno d78842712c Fix conversion warnigns 2021-01-26 10:22:18 +01:00
Maxime Gimeno ffa019712b First face may be -1, don't fail on it, just don't use it 2021-01-25 12:59:48 +01:00
Andreas Fabri 361598fe8f Cherry-picked 581ba10 (Thank you Giles) 2021-01-20 15:39:50 +00:00
Maxime Gimeno 2e592e0027 Fix typo and use setstate 2021-01-20 08:38:33 +01:00
Maxime Gimeno 9e291e6bbf replace cerr by CGAL_warning_msg 2021-01-19 14:04:54 +01:00
Andreas Fabri 3dade2a027 Remove the flush which is not needed for cerr and put parenthesis 2021-01-19 12:35:05 +00:00
Maxime Gimeno 618b409b0f Fix Nef_2 and Nef_S2 IO 2021-01-18 15:40:40 +01:00
Giles Bathgate 1906dca54d Remove unused code 2020-11-18 07:35:15 +00:00
Giles Bathgate a5b2137ce5 Use existing code for assertion instead of code duplication. 2020-11-18 07:12:17 +00:00
Sébastien Loriot 090b82e762 Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch' 2020-10-02 15:08:56 +02:00
Laurent Rineau a886ecbd71 Fix a warning in an inelegant code
- `std::cerr` is already unbufferized, and `std::flush` does nothing
  on it,
- and anyway, `std::endl` calls `std::flush`.
2020-09-29 09:14:11 +02:00
Laurent Rineau 9d16a42257 Fix ambiguous comparisons error with C++20 2020-06-15 17:07:35 +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 52164b1fba First pass on removing license notice in header for LGPL files 2019-10-19 15:40:30 +02: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
Maxime Gimeno 64253458aa Fix warnings 2019-07-12 10:49:10 +02:00
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Andreas Fabri 5532b84b4f nullptr_t -> std::nullptr_t 2019-06-05 07:28:56 +02:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Sébastien Loriot 7a5ffd043e avoid unused variable warnings 2019-04-24 15:16:52 +02:00
Laurent Rineau fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
Fix warnings (Add/remove copy constructors, and other warnings)

Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Sébastien Loriot e4cbae525c Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD 2019-01-31 11:25:26 +01:00
Sébastien Loriot 99d842401a Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD 2019-01-31 11:24:50 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Sébastien Loriot e34ddaef38 reset the halfedge pointer of the faces before setting them
that way in the bounded case, the infinite face has no halfedge
associated, only holes. Before the patch it could be that
an erased one was associated
2019-01-22 19:06:58 +01:00
Andreas Fabri 91a1603ead fix Nef_2 2019-01-18 09:44:58 +01:00
Andreas Fabri 6596ba981c Polygon, Surface_mesher, Nef,.. 2019-01-17 19:35:02 +01:00
Andreas Fabri 8dc8ca51e7 Fix Nef_2 2019-01-10 17:38:04 +01:00
Sébastien Loriot 0685423ae8 update from cgal/master 2018-11-02 11:32:31 +01:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Andreas Fabri 97b5c37b6e Fix includes 2018-05-04 09:00:11 +02:00