Commit Graph

79 Commits

Author SHA1 Message Date
albert-github dd02af92a2 issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
Spelling corrections, `en-GB` -> `en-US`
2024-10-05 11:28:29 +02:00
Andreas Fabri ed70775ee9 Polygon_repair:: Use move semantics; Add Polygon_2::reserve() 2024-04-15 11:28:13 +01:00
Mael Rouxel-Labbé 5b89b81f8b Deactivate the "is_simple_2" precondition for strictly simple poly orientation
Recent changes to set_use_assertions have made it so that you need to also
define a macro to be able to use it, which makes it very unpractical.
2023-02-09 23:12:40 +01:00
Andreas Fabri bdd2fb8e4b Polygon package 2022-09-27 08:14:30 +01:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Sébastien Loriot 39367c2313 Merge remote-tracking branch 'cgal/5.2.x-branch' 2021-04-17 11:14:29 +02:00
Sébastien Loriot cbd95907cd Merge remote-tracking branch 'cgal/5.1.x-branch' into HEAD 2021-04-17 11:11:28 +02:00
Mael Rouxel-Labbé 6b4ba808f8 Implement Vertex_index::operator== explicitely 2021-03-31 15:58:09 +02:00
Mael Rouxel-Labbé bea5995756 Handle "right" folds
The following configurations of collinear points:
  x-2 x x-1      AND        x+2 x x+1
cannot be handled with the typical left swap because the interval
has range n-1. Instead, just manually swap like it is done
when the fold is on the left (which can and is immediately detected
at the beginning of the insertion event)
2021-03-29 14:27:16 +02:00
Laurent Rineau 21755b1123 Merge pull request #5245 from GilesBathgate/create-assertions-fix
Allow -DNDEBUG and CGAL_nnn_assertions at the same time
2021-03-24 15:05:41 +01:00
Mael Rouxel-Labbé 6b87fe393d Fix various grammar issues 2020-12-05 11:11:33 +01:00
Giles Bathgate 5a36ff89b5 Drop NDEBUG it is already visible through CGAL_NO_ASSERTIONS 2020-12-04 19:42:21 +00:00
Laurent Rineau d94f015acd Merge pull request #4905 from sloriot/SS_improvements
Straight Skeleton: Reduce memory footprint and fix inconsistency of square root
2020-11-10 15:00:14 +01:00
Sébastien Loriot a5c5a618d2 add a way to disable at runtime polygon assertions
some algorithms works with strictly simple polygons
but implementation such a check function is hard
2020-11-06 12:02:23 +01:00
Simon Giraudot f7e2c03a38 Use pair of reference to avoid copies 2020-08-13 15:37:10 +02:00
Simon Giraudot ad007389c4 Introduce vertex pair iterator 2020-08-13 14:44:45 +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 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 b13bdadfa8 Fix conflicts 2019-06-17 15:33:33 +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
Michael Hemmer f758ab354c Fix in CGAL package Polygon
GitOrigin-RevId: a24f22bd01
2019-04-24 15:30:34 +02:00
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
Andreas Fabri 803066774d Only push point into container if reading was successful 2019-02-19 14:20:39 +01:00
Maxime Gimeno 7884358134 Initialize 'point' to silenc ea warning. 2019-02-07 10:23:20 +01:00
Andreas Fabri 6596ba981c Polygon, Surface_mesher, Nef,.. 2019-01-17 19:35:02 +01:00
Mael Rouxel-Labbé 47e97bb5ab Added some stronger (yet natural) preconditions to filter_collinear_points()
The range of points must describe a Polygon that is not completely flat,
thus:
- at least three points
- points are not all collinear (up to the tolerance)
2018-07-13 11:36:48 +02:00
Mael Rouxel-Labbé 867ee52bc5 Fixed erroneous early return in filter_collinear_points 2018-07-13 11:36:23 +02:00
Laurent Rineau cd6fe20bd4 Merge branch 'releases/CGAL-4.11-branch' 2018-03-26 11:03:37 +02:00
Mael Rouxel-Labbé fb1b8d6797
Fixed missing include 2018-03-16 10:49:11 +01:00
Mael Rouxel-Labbé f9b68b670d Replaced boost prior with CGAL::cpp11::prev 2018-03-13 10:10:11 +01:00
Mael Rouxel-Labbé 2c68965397 Return the output iterator 2018-03-13 10:10:02 +01:00
Mael Rouxel-Labbé ea0b061b24 Fixed missing include 2018-03-13 10:00:48 +01:00
Mael Rouxel-Labbé b26422705d Cleaning 2018-03-12 15:06:52 +01:00
Mael Rouxel-Labbé c05f9b056c Added a function to filter almost collinear points in a Polygon_2
undocumented
2018-03-12 14:45:24 +01:00
Mael Rouxel-Labbé 4d67ff3d8b Avoid a segfault when is_simple() is called with an empty polygon/range 2018-03-12 11:13:35 +01:00
Andreas Fabri e5118d1401 Declare several operator() used for comparisons const 2018-02-23 15:34:15 +00:00
Andreas Fabri dc2f37a4ae disable/enable warnings 2018-01-24 08:59:20 +00: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 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +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
Maxime Gimeno 60d0a39d42 fixes 2017-01-24 14:46:36 +01:00
Maxime Gimeno 82860688d1 Fix the doc to avoid diffs between 1.8.4 and 1.8.13 outputs 2017-01-24 09:39:23 +01:00
Guillaume Damiand ebc4300334 Header only for random.cpp.
For the header only version, the global variable default_random no more exist => we need to replace all occurences of default_random by a call to the global function get_default_random().
As usual, no modification for the non header only version.
2014-11-14 14:20:26 +01:00
Sébastien Loriot 5635183db7 add global functions bbox_2 and bbox_3 in the Kernel
remove the function from the 2D function from the Polygon package
2013-05-31 19:44:21 +02:00
Laurent Rineau b6ffa7c425 Merge branch 'CGAL-fix_warnings-GF'
That branch was successfully tested in CGAL-4.2-Ic-205.
2013-03-27 12:23:31 +01:00
Andreas Fabri 0cbc8b0e40 remove unused parameters 2013-03-23 08:45:06 +01:00