Commit Graph

302 Commits

Author SHA1 Message Date
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Sébastien Loriot 2948b47e66 add missing copyright files 2021-07-29 10:19:02 +02:00
Mael Rouxel-Labbé 4d2bf2f15e Add a test for ToS2-based VD2 2021-07-06 10:12:18 +02:00
Mael Rouxel-Labbé 326a05590f Restore some typedefs to please tests 2021-07-06 10:11:49 +02:00
Mael Rouxel-Labbé 01d6ce249c Minor doc fix 2021-07-06 10:11:39 +02:00
Mael Rouxel-Labbé d5a306b817 Add VD2's removal policy for ToS2 (+ caching) 2021-06-11 17:30:15 +02:00
Laurent Rineau 8dbcd0ec8b Merge pull request #5659 from MaelRL/ToS2-Adapt_ToS2_for_Voronoi_adapter-GF
Make `ToS2` compatible with `Voronoi_diagram_2`
2021-05-18 18:14:04 +02:00
Mael Rouxel-Labbé 942d461e4c Pass a copy of the GT to the VD2 adaptation traits (and not the DTOS)
That's because the previous formulation is awkward:
- VD2 that takes a copy (or a swap) of DT_0 yielding a DT_1;
- adaptation traits requiring a const& to a DT_0, which might then
  go out of scope.

In theory, we want to have the triangulation to get the nice "dt.point(v)",
but it's too heavy to copy the full triangulation just for the adaptations
traits, so just copy the GT and use old school v->point().
2021-05-05 18:24:54 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Mael Rouxel-Labbé e94127c23c Add adaptation traits for ToS2 2021-04-30 15:11:41 +02:00
Mael Rouxel-Labbé 3816336a02 Avoid compilation error in Identity_edge_rejector
Some triangulation classes use the same type for all_ and finite_ edges
2021-04-29 23:24:40 +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
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
Maxime Gimeno a85cf6ed52 Move the include in the ifdef 2021-01-26 09:45:18 +01:00
Andreas Fabri e0dd8bd74a
Update AdaptationTraits_2.h
Add namespace
2021-01-21 15:23:57 +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
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01: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
Jing Yang dc737f5ec1
Update draw_voronoi_diagram_2.cpp 2020-03-16 17:21:22 -07:00
Sébastien Loriot 1bf02b2d94 remove license statements 2019-11-13 15:32:23 +01:00
Guillaume Damiand f42c9ab89d Update licences 2019-11-13 14:44:45 +01:00
Guillaume Damiand d638c80b5a
Merge branch 'master' into gsoc2019-add_basic_viewer-jasmeet 2019-11-12 22:13:10 +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
Guillaume Damiand 2325a08b5d Remove warning 2019-09-16 14:18:19 +02:00
Jasmeet Singh a943d8e479 Specialize draw() function for Nef_3 viewer 2019-07-12 11:12:57 -07:00
Jasmeet Singh 1565773fda Specialization of draw() function for P2T2, can be called together with another viewer now. 2019-07-12 10:46:48 -07:00
Jasmeet Singh 899b6d9e09 Update draw() method call for Voronoi Diagram to be similar to other viewers.
Draw method for P2T2 and Nef_3 needs to be updated if this works.
2019-07-10 17:08:58 -07:00
Jasmeet Singh a542fbdb45 Merge remote-tracking branch 'cgal/master' into gsoc2019-add_basic_viewer-jasmeet and resolve conflicts 2019-07-10 11:48:38 -07:00
Jasmeet Singh d28a767b77 Merge branch 'gsoc2019-add_basic_viewer-jasmeet' of github.com:CGAL/cgal-public-dev into gsoc2019-add_basic_viewer-jasmeet 2019-06-25 11:47:36 -07:00
Jasmeet Singh 02254e998e Add dependency in Voronoi doc. Add draw_periodic_2_triangulation_2.h 2019-06-25 11:47:13 -07:00
Guillaume Damiand 6c5bbe002e Small modifs in doc of new viewers. 2019-06-25 09:48:47 +02:00
Jasmeet Singh 628b24e57f Update headers, trying to deal with Travis CI errors. 2019-06-24 18:14:13 -07:00
Jasmeet Singh e661cfb261 Update documentation. 2019-06-24 16:33:33 -07:00
Jasmeet Singh c412d3b0f7 Fix bugs in Voronoi Diagram Viewer. Format code. Fix bug in voronoi diagram documentation.
Faces have the same color after toggling vertices - fixed.
Rays and dual vertices have different colors from edges and voronoi vertices - fixed.
Toggle for Voronoi vertices created, now V would only toggle vornoi vertices, not all vertices - fixed
2019-06-24 15:21:16 -07:00
Jasmeet Singh 1401212d14 Remove old name doc file 2019-06-24 12:40:42 -07:00
Jasmeet Singh 1a3ba3d4e0 Change file name to match documentation 2019-06-24 10:28:31 -07:00
Jasmeet Singh 58dec73f74 Update dependencies for Voronoi Diagram package: Add GraphicsView. 2019-06-21 12:17:22 -07:00
Jasmeet Singh 1107041933 Remove header draw_voronoi from vd_2_point_location as a separate example is added. Change CMakLists.txt accordingly. 2019-06-21 11:12:01 -07:00
Jasmeet Singh a48cb941ba Draw Dual Vertices in the voronoi diagram. Update doc image for drawing voronoi diagram.
Toggle with D to view/unview dual vertices. Vertex view should be ON as dual vertices use
the buffer for colored vertices.
2019-06-20 12:09:38 -07:00
Jasmeet Singh ce1b306d00 Add m_buffer_for_mono_lines and m_buffer_for_colored_lines to view lines.
Trying to visualize bisectors. Formatting changes.
2019-06-19 19:49:09 -07:00
Jasmeet Singh 001fda493b Add documentation for voronoi diagram viewer. 2019-06-19 16:30:56 -07:00
Jasmeet Singh 43015b0059 Add special KeyPressEvent for rays. Format typedefs. Set cgal_test_suit = qEnvironmentVariableIsSet("CGAL_TEST_SUITE")
Adding these changes after learning from the viewers generated by GDamiand.
2019-06-19 14:24:40 -07:00