Commit Graph

80 Commits

Author SHA1 Message Date
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 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 628b24e57f Update headers, trying to deal with Travis CI errors. 2019-06-24 18:14:13 -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 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 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
Jasmeet Singh 955a982a5f Add an example for Voronoi diagram basic viewer.
For rays: draw a really big segment without modifying bounding box.
Hence, the initial screen of the viewer is correctly adjusted.
For faces: drawing only bounded faces for now. The function getSecondPoint(Halfedge)
can help to draw unbounded faces. Keypress R to view/unview rays.
2019-06-19 13:43:07 -07:00
Jasmeet Singh ff5e9a3820 Add compute_face() functionality and get_second_point() to find intersection of ray with bounding box
Show wireframe. Not building successfully as qOpenGLFunctions do not support glPolygonMode(). Comitting to save progress.
2019-06-18 17:51:22 -07:00
Jasmeet Singh 2874ce940c Merge remote-tracking branch 'jasmeet9323/cgal/master' into gsoc2019-add_basic_viewer-jasmeet
Sync my branch with remote to avoid conflicts during PR.
2019-06-18 12:56:28 -07:00
Jasmeet Singh 4f9df720ea Toggle ray display with keypress R. Start adding face viewer 2019-06-17 20:45:04 -07:00
Jasmeet Singh 1d4b6242f4 Show rays upto a bounding box 2019-06-17 20:02:08 -07:00
jasmeet9323 1a04afdae4 Experimenting with bounding box-ray intersection 2019-06-17 14:20:30 -07:00
Jasmeet Singh 1c852ed586 Add several points to display a ray.
The viewer stopped displaying anything.
2019-06-14 21:59:03 -07:00
Jasmeet Singh abe9f2f7e4 Checking directions of rays. 2019-06-14 19:18:55 -07:00
Jasmeet Singh a06f4f9aa2 Add method add_line(point, vector) in Basic_viewer_qt to view rays. 2019-06-12 23:38:38 -07:00
Jasmeet Singh 608ba3eee8 Start to implement infinite line in basic viewer. 2019-06-12 23:05:10 -07:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +02:00
Jasmeet Singh d2eaef16d0 Add halfedges in viewer which are segments. 2019-06-03 19:05:24 -07:00
Jasmeet Singh 97d44ba776 Add viewer for Voronoi Diagram 2. Only points viewed for now.
CGAL::draw() implemented for Voronoi_diagram_2. Currently viewing only points.
Added draw() to example vd_2_point_location. Will add separate example in future.
2019-06-03 17:53:48 -07:00
Andreas Fabri ade4903000 Fix Voronoi 2019-01-22 19:07:32 +01:00
Simon Giraudot 6269309d86 Use CGAL include for boost counting/transform iterators everywhere 2018-01-23 11:09:52 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Mael Rouxel-Labbé d45a77add8 Fixed wrong point type in regular adaption traits 2017-06-28 10:15:30 +02:00
Andreas Fabri dfb37af958 test dependencies in Mesh_2 2017-04-06 13:16:35 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Andreas Fabri f30b46cb76 fix Voronoi_diagram_2 2016-11-16 10:17:31 +01:00
Andreas Fabri 59cedfc7dd Fix Mesh_3 2016-11-03 13:08:31 +01:00
Andreas Fabri 82a02fae01 Replace Iterator_project with transform_iterator 2016-09-06 14:59:08 +02:00
Andreas Fabri 3feb65ee72 Replace std::cerr by an assertion 2016-09-01 15:42:04 +02:00
Andreas Fabri d37815ef98 Use CGAL_USE in Voronoi_diagram_2 too 2016-01-20 12:21:27 +01:00
Laurent Rineau 983480e222 Trivial bug-fix: fix a warning about unused parameter 2014-01-06 14:27:09 +01:00
Andreas Fabri fe1b908b1d remove unused variable 2013-09-18 11:19:45 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Andreas Fabri 8810523770 remove an unused parameter 2013-02-26 17:15:26 +01:00
Andreas Fabri ee5b4683d0 deal with Triangulation_3, Polyhedron,Voronoi, Minkowski_sum_3 2013-01-31 09:47:54 +01:00
Sébastien Loriot acb43cdbf2 renaming outer_ccb to ccb as documented.
outer_ccb is however kept in the code for backward compatibility
2012-12-20 12:58:28 +01:00
Sébastien Loriot 6ece04338b this should not be a reference (at least a const ref),
pass handle by value.
2012-09-05 10:51:01 +00:00
Sébastien Loriot e904968dff remove warning 2012-08-30 06:53:31 +00:00
Sébastien Loriot d523a09537 remove warnings 2012-08-30 06:50:37 +00:00