Commit Graph

366 Commits

Author SHA1 Message Date
Sebastien Loriot b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
Update maximum cmake versions
2021-04-17 10:58:14 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Maxime Gimeno 17602e589e Merge remote-tracking branch 'cgal/master' into CGAL-clang_tidy__nullptr_on_Mesh_2-GF 2021-04-07 09:17:51 +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
Maxime Gimeno d5811d0a41 clang-tidy on tests 2021-02-18 15:15:12 +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
Maxime Gimeno e172dfbcb6 Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-11-12 09:04:01 +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
Maxime Gimeno 8e23d5c482 Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-11-10 09:00:41 +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
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +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 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +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
Laurent Rineau a99269d91d Merge pull request #3410 from maxGimeno/Kernel_23-Add_suport_for_reflextions-GF
Aff_transformation_2: Add suport for reflections
2019-07-01 11:16:36 +02:00
Sébastien Loriot 14a59deda6 lazy doc fix 2019-06-28 10:03:16 +02:00
Laurent Rineau 4b1d2c6b05
Fix my fix 2019-06-27 10:04:58 +02:00
Laurent Rineau 29babbe4ad Fix the documentation issue 2019-06-26 13:04:32 +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
Laurent Rineau 5538543faf Update dependencies 2019-06-21 11:27:02 +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
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Guillaume Damiand af32499a14 Add doc for draw function, for point set 3 and polygon 2. 2019-06-19 13:11:04 +02:00
Guillaume Damiand 8a3cb666fd Correct links to CGAL::draw functions. 2019-06-19 13:10:08 +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
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +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
Andreas Fabri 7fa9781894 Remove derivation as workaround for a typedef 2019-02-14 12:12:01 +01:00
Sébastien Loriot a5576cd3fb replace markdown subsections by \cgalHeading 2019-02-14 10:53:48 +01:00
Sébastien Loriot 59bc453b42 first batch of replacement for level 1 in classified ref man
command used:
grep -l  "##" */doc/*/PackageDescription.txt | xargs  sed -i  -E 's/\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\s*$/\\cgalCRPSection{\1}/'
2019-02-14 10:32: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
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
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Maxime Gimeno cbf3e04fa6 Doc fix. 2018-10-30 14:15:01 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02:00
Sébastien Loriot ea240cfac5 use \PkgXXX instead of \PkgXXXSummary 2018-10-08 10:28:44 +02: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é fa6b5af9de Added a test 2018-07-13 11:41:29 +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 86a3050fa5 Add an example in the doc of Polygon 2018-05-15 10:04: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
Andreas Fabri 9a1efc3e06 Fix headings 2018-04-12 11:13:35 +01:00
Laurent Rineau cd6fe20bd4 Merge branch 'releases/CGAL-4.11-branch' 2018-03-26 11:03:37 +02:00
Mael Rouxel-Labbé 2854734bf5 Moved is_simple_2()'s empty test to SimplicityTest's degenerate tests 2018-03-20 10:56:57 +01:00
Mael Rouxel-Labbé bc7e0ba493 Fixed data paths 2018-03-16 13:00:01 +01: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