Commit Graph

205 Commits

Author SHA1 Message Date
Sébastien Loriot 07421357a7 fix phrasing 2021-11-02 11:52:53 +01:00
Sébastien Loriot 08b1457649 add CGAL::CGAL_Basic_viewer target 2021-11-01 11:07:55 +01:00
Dimitris Papavasiliou 7f04082cfc Add polygon set drawing functionality. 2021-09-10 21:52:46 +03:00
Mael Rouxel-Labbé 78ff9185b3 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +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é 5efa544734 Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-02-22 17:19:40 +01:00
Laurent Rineau c5ba414c72 Merge pull request #5336 from maxGimeno/GraphicsView-Use_opengl_4_1_context-maxGImeno
Graphics_view: Upgrade glsl version in basic_viewer_shaders
2021-02-05 16:12:42 +01:00
Laurent Rineau b134ed8246 Merge pull request #5336 from maxGimeno/GraphicsView-Use_opengl_4_1_context-maxGImeno
Graphics_view: Upgrade glsl version in basic_viewer_shaders
2021-02-05 16:07:32 +01:00
Maxime Gimeno a85cf6ed52 Move the include in the ifdef 2021-01-26 09:45:18 +01:00
Mael Rouxel-Labbé 1f45360d7a Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-01-26 09:05:24 +01:00
Maxime Gimeno 04753381e5 Rename file and add ::Qt 2021-01-12 13:22:34 +01:00
Maxime Gimeno 95192d6d4b factorize context initialization 2021-01-12 13:08:58 +01:00
Maxime Gimeno 2a212bb2a8 Upgrade non-compatibility sahders in Basic_viewer to glsl 150 and add a context creation before the creation of the QApp in draw_xxx examples 2021-01-07 13:06:40 +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
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01: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
Mael Rouxel-Labbé 145f204517 Misc minor fixes 2020-10-09 18:36:53 +02:00
Andreas Fabri 875f8236e2 Add assert statements concerning the orientation of the input 2020-08-26 11:10:29 +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
Mael Rouxel-Labbé 00ca0211e1 IO documentation fixes 2020-08-04 15:47:56 +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 b9a079b530 remove cpp11/cpp0x 2019-11-04 11:34:53 +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
Sebastien Loriot 667e4022f7
Merge pull request #4060 from sloriot/CGAL-doc_match_brackets
match @{ and @}
2019-07-18 16:26:43 +02:00
Laurent Rineau dc02598a5c Merge pull request #4016 from gdamiand/CGAL-more_viewers-gdamiand
CGAL: more viewers
2019-07-10 14:22:50 +02:00
Sebastien Loriot 43d6cbec06
Fix wrong simplification
Co-Authored-By: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-07-08 10:09:42 +02:00
Sébastien Loriot 983645a51a match @{ and @} 2019-07-05 21:49:46 +02:00
Sébastien Loriot 14a59deda6 lazy doc fix 2019-06-28 10:03:16 +02:00
Guillaume Damiand 11da3c11a1 Remove an unused parameter in draw functions for polygons. 2019-06-25 09:23:41 +02:00
Guillaume Damiand 012d44398f Remove 2 warnings. 2019-06-24 09:24:37 +02:00
Guillaume Damiand 67307dcead Merge master to remove conflicts; plus rephrase draw documentation following Sebastien comments. 2019-06-19 15:48:10 +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
Laurent Rineau 90d6afdeb6 Merge pull request #3848 from afabri/Partition_2-Traits_with_state-GF
Partition_2:  Make it work for a traits class with state
2019-05-06 15:45:56 +02:00
Andreas Fabri 88606e4110 Fix documentation 2019-04-26 11:18:26 +02:00
Michael Hemmer f758ab354c Fix in CGAL package Polygon
GitOrigin-RevId: a24f22bd01
2019-04-24 15:30:34 +02:00
Andreas Fabri 804184ba78 Do not copy the traits object 2019-04-18 11:33:10 +02:00
Maxime GIMENO 41033a80be
Merge branch 'master' into Graphics_view-Fix_demo_IO-GF 2019-04-12 16:10:36 +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
Sébastien Loriot ecd818a3a7 remove cpp11 condition 2019-03-29 10:41:50 +01:00
Mael Rouxel-Labbé b4a0ee0144 Fixed read-write mix up in Polygon_2 doc 2019-03-15 20:57:03 +01:00
Mael Rouxel-Labbé 0143042577 Unlink some link that shouldn't have been a link 2019-03-15 20:53:41 +01:00
Maxime Gimeno 0b31e6e5d8 Merge remote-tracking branch 'cgal/master' into Graphics_view-Fix_demo_IO-GF 2019-03-07 14:01:02 +01:00
Laurent Rineau 2671d056cf Merge pull request #3685 from afabri/CGAL-cleanup-GF
CGAL:  Clean up examples and tests
2019-02-28 20:48:48 +01:00
Andreas Fabri 803066774d Only push point into container if reading was successful 2019-02-19 14:20:39 +01:00
Sébastien Loriot a5576cd3fb replace markdown subsections by \cgalHeading 2019-02-14 10:53:48 +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
Andreas Fabri 27cfecca60 Use #ifndef DOXYGEN_RUNNING 2019-01-16 14:18:20 +01:00
Maxime Gimeno 350b51f5b9 fix typo 2019-01-11 11:49:54 +01:00
Maxime Gimeno f38de3df4b Fix doc 2019-01-11 11:06:43 +01:00
Andreas Fabri cc9e304c60 Fix Polygon 2019-01-10 18:54:31 +01:00
Maxime Gimeno 3b1b6e2401 Merge remote-tracking branch 'cgal/master' into Graphics_view-Fix_demo_IO-GF 2019-01-09 12:35:04 +01:00
Maxime Gimeno cbf3e04fa6 Doc fix. 2018-10-30 14:15:01 +01:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Guillaume Damiand 57800610c6 Start viewer for arrangement 2018-09-12 18:22:34 +02:00
Guillaume Damiand a36b79a778 Viewer for polygon with hole; plus doc. 2018-09-07 19:20:13 +02:00
Guillaume Damiand eb6354425f Add basic viewer for polygon. 2018-09-07 14:23:14 +02: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
Maxime Gimeno 6f54e0fd11 Add a reader function for WKT in a new package. 2018-05-15 10:04:22 +02:00
Sébastien Loriot 742a615527 fix doc warnings triggered essentially by the improvement of doxygen 2018-04-25 23:36:21 +02:00
Andreas Fabri df747793a6 Add a very short section on polygons with holes 2018-04-12 15:13:23 +01: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
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Laurent Rineau 8531694fe5 Merge pull request #2762 from sloriot/Polygon-doc_missing_functions
Some functions did not appear in the doc
2018-01-29 18:08:41 +01:00
Andreas Fabri dc2f37a4ae disable/enable warnings 2018-01-24 08:59:20 +00:00
Sébastien Loriot cce1826792 remove incomplete command 2018-01-23 14:23:27 +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 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
Laurent Rineau 583ed73fd5 Merge pull request #2296 from sloriot/Polygon_2-fix_RA_for_NRAC
Make random accessor working even if the base container is not random…
2017-07-28 18:45:30 +02:00
Sébastien Loriot 2f3aaa63b9 make random accessor working even if the base container is not random access 2017-07-25 08:26:33 +02:00
Laurent Rineau 376c2dd002 Merge pull request #1852 from maxGimeno/Doxygen_compare-GF
Compare two documentation outputs
2017-06-13 10:18:28 +02:00
Andreas Fabri a7e8772234 Update Polygon_2.h
fix typo
2017-06-07 12:42:31 +02:00
Sébastien Loriot c735e9107e add a precondition 2017-04-27 15:53:49 +02: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
Sébastien Loriot befe820313 move Polygon_with_holes_2 in the Polygon package
with the agreement from TAU
2016-10-03 15:32:31 +02:00