Commit Graph

979 Commits

Author SHA1 Message Date
Laurent Rineau 3992ab34f3 Merge pull request #5712 from GilesBathgate/Nef_3-bounded_side_projection-GilesBathgate
Remove redundant code in side_of_plane_3
2021-05-19 17:23:19 +02:00
Laurent Rineau 82bec8a1d6 Merge pull request #5692 from maxGimeno/CGAL_cpp11_atomic_and_threads-maxGimeno
CGAL:: Use std atomic and threads

# Conflicts:
#	Arrangement_on_surface_2/include/CGAL/Arr_counting_traits_2.h
2021-05-19 17:11:37 +02:00
Laurent Rineau 4a2f016f6a Merge pull request #5617 from afabri/Nef_3-translation-GF
Nef_3: Add Aff_transformation_3::is_translation()
2021-05-18 18:14:17 +02:00
Laurent Rineau 2c4a5db3ce Merge pull request #5631 from GilesBathgate/STL_ext-fix_uncaught_exceptions_cleanup-GilesBathgate
Fix uncaught exceptions cleanup
2021-05-18 18:14:14 +02:00
Maxime Gimeno 3795c5236a Changes after review 2021-05-18 10:16:24 +02:00
Giles Bathgate 476f2da967 Remove unused SNC_decorator 2021-05-16 20:00:08 +01:00
Giles Bathgate 5ffbd68921 Remove the OnSideMapRC when not needed 2021-05-15 15:59:06 +01:00
Giles Bathgate a91c0ed052 Replace implementation with traits 2021-05-14 18:17:01 +01:00
Giles Bathgate f3f6bebe60 Replace CGAL_NEF_DEBUG with CGAL_USE_TRACE 2021-05-12 07:37:49 +01:00
Giles Bathgate 9da2a72dbf Remove code duplication of get_visible_facet 2021-05-11 08:55:01 +01:00
Giles Bathgate 01f812e48e Remove other unused get_visible_facet methods 2021-05-11 08:20:12 +01:00
Giles Bathgate 3097e8e39a Remove adjacent_sface from SNC_const_decorator 2021-05-11 08:05:07 +01:00
Giles Bathgate 3ae3783491 Introduce base class members with using 2021-05-10 20:42:08 +01:00
Giles Bathgate 77054d4f2a Remove duplicate code in SNC_const_decorator/SNC_decorator 2021-05-10 18:26:29 +01:00
Giles Bathgate 4a29e91725 Remove commented out code from SNC_const_decorator 2021-05-09 22:24:49 +01:00
Giles Bathgate 91400c3fc1 Remove dead code in SNC_decorator 2021-05-09 10:48:02 +01:00
Maxime Gimeno 3e03d50b8a replace usages of CGAL::cpp11::atomic and thread by std:: calls 2021-05-07 11:10:30 +02:00
Maxime Gimeno e9b7595fff Deprecate CGAL headers for threads, atomic and result_of, and move their content to config.h as fallback 2021-05-07 11:09:24 +02:00
Giles Bathgate 43115e4345 Use has_on_after_intersection in SNC_constructor 2021-05-05 21:57:47 +01: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
Giles Bathgate 5ecd85248a Fix capitalisation of macro name. 2021-04-28 21:03:45 +01:00
Giles Bathgate 0ef8127c71 The CGAL_NOEXCEPT macro is no longer needed 2021-04-28 21:03:00 +01:00
Giles Bathgate 890211ef87 Fix uninitialized member in K3_tree.h 2021-04-28 20:51:09 +01:00
Laurent Rineau 6ecaa770bb Merge pull request #5595 from afabri/Nef_3-Use_CC_for_Kd_tree-GF
Nef_3: Improve K3_tree
2021-04-28 15:24:13 +02:00
Andreas Fabri c238e9dab5 Merge remote-tracking branch 'cgal/master' into Nef_3-translation-GF 2021-04-27 15:23:56 +01:00
Andreas Fabri e6a55d8462 Fix #5613 as discussed in PR #5635 2021-04-23 11:55:16 +01:00
Andreas Fabri b79b43c793 Two more const 2021-04-23 08:38:09 +01:00
Andreas Fabri 7485e3887b Improve documentation and the example that performs affine transformations 2021-04-22 13:43:07 +01:00
Andreas Fabri 10e7b1a320 Address warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 2021-04-22 08:58:33 +01:00
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
Andreas Fabri dd0d629635 Use Get_approx instead of approx() 2021-04-15 08:28:40 +01:00
Andreas Fabri ac9b5b2fbd Add Aff_transformation_3::is_translation() which checks the rep 2021-04-13 19:38:28 +01:00
Andreas Fabri 9c07709cf6 Do not first generate a Lazy_exact_nt to then obtain the interval, but use the approximate point (in case of Epeck) 2021-04-13 15:47:54 +01:00
Andreas Fabri 6a2c040285 If the segments have a common endpoint they do not intersect internally 2021-04-12 11:52:07 +01:00
Andreas Fabri 46a905ad75 Use nullptr 2021-04-12 09:21:58 +01:00
Andreas Fabri b5e76c4203 Use nullptr 2021-04-12 09:13:48 +01:00
Andreas Fabri 0246431abd Replace Compact_container with boost::container::deque 2021-04-12 09:08:36 +01:00
Andreas Fabri c2a71f23d7 Nef_3: Improve K3_tree 2021-04-08 16:08:51 +01:00
Andreas Fabri 50389862bf Remove unused local variable (why did no compiler warn?) 2021-04-07 12:01:02 +01:00
Andreas Fabri 6192307d78 This mainly avoids a filter failure 2021-04-06 14:46:45 +01:00
Laurent Rineau 80e0ffc750 Merge pull request #5144 from GilesBathgate/id-support-handler-hash-performance
Proposed fix for unnecessary allocations in ID_support_handler. Issue #5143
2021-04-06 15:13:18 +02:00
Laurent Rineau 31b817c419 Merge pull request #5233 from GilesBathgate/fix-uncaught-exceptions
Fix uncaught exceptions
2021-04-06 15:13:16 +02:00
Laurent Rineau de704d8bb9 Merge pull request #5522 from afabri/Nef_3-accelerate_do_intersect_internally-GF
Nef_3: Do not test has_on for a point where we know that it will be true
2021-04-06 15:13:07 +02:00
Andreas Fabri 5213cd3bfe replace include 2021-04-01 18:11:42 +01:00
Andreas Fabri b4e98df117 cleanup 2021-03-25 11:54:29 +01:00
Andreas Fabri e1a9cfc6ba Also break the outer loop 2021-03-24 16:10:06 +01:00
Giles Bathgate d5032ec5ea
Merge branch 'master' into id-support-handler-hash-performance 2021-03-24 14:15:50 +00:00
Laurent Rineau d6e9bdd0c1 Merge pull request #5269 from GilesBathgate/move-assignment-operators
Move assignment operators
2021-03-24 15:05:39 +01:00
Laurent Rineau 45800d2ab6 Merge pull request #5498 from GilesBathgate/cleanup-index-adder
Cleanup index adder in polygon_mesh_to_nef_3
2021-03-24 15:05:22 +01:00
Andreas Fabri e98198178f Add the functor Non_zero_dimension_3 to the Kernel 2021-03-23 15:45:54 +01:00
Maxime Gimeno 735567531b RENAME 2021-03-19 12:00:08 +01:00
Giles Bathgate 6a27761f4f Add homogeneous/cartesian specialisations 2021-03-13 17:31:38 +00:00
Andreas Fabri 54b55e0a48 Stupid me, after even have explained how interval arithmetic sometimes does not work 2021-03-13 16:55:32 +00:00
Andreas Fabri bd1b96e73b Do not compute a scalar product to determine best projection direction 2021-03-11 16:27:37 +00:00
Andreas Fabri d04b26b0e4 Avoid a geometric test 2021-03-11 13:32:46 +00:00
Laurent Rineau efc45cb686 Merge pull request #5455 from GilesBathgate/performance-plane-assertions
Bypass coplanarity assertion for triangular facets.
2021-03-03 17:29:43 +01:00
Laurent Rineau f29eb6d90b Merge pull request #5470 from GilesBathgate/performance-remove-double-simplify
Explicitly call simplify after marking bounded volumes
2021-03-03 17:29:32 +01:00
Giles Bathgate 5afc28348e Rename method in both templates for Face_graph_index_adder 2021-03-03 08:23:39 +00:00
Giles Bathgate 30e536bdf0 Remove default paramter from set_index in SNC_indexed_items 2021-03-01 08:06:48 +00:00
Giles Bathgate 3de90de34b Correct variable name in Face_graph_index_adder 2021-03-01 07:37:46 +00:00
Giles Bathgate d23fca2a47 Use new_index in several other places 2021-02-27 12:32:26 +00:00
Giles Bathgate a143b60040 Rename hash to SHalfedge list since its not really a hash 2021-02-27 12:31:13 +00:00
Giles Bathgate fed29a6b85 Use SHalfedge handle instead of repeated vector lookup 2021-02-27 11:58:01 +00:00
Andreas Fabri 57033b4b03 int -> std::size_t 2021-02-26 16:58:22 +00:00
Andreas Fabri 2c816b9291 Use property_traits 2021-02-24 18:02:42 +00:00
Andreas Fabri 254ce42109 Remove Face_info but keep a second vector for num_edges 2021-02-24 17:40:23 +00:00
Laurent Rineau 1958c95797 Merge pull request #5412 from GilesBathgate/performance-calculate-normals
Calculate normals for facets more efficiently
2021-02-18 21:02:36 +01:00
Giles Bathgate 113298056d Explicitly call simplify after marking bounded volumes 2021-02-17 20:00:34 +00:00
Giles Bathgate ff9ebb5847 Avoid duplicate lookups of pv in polygon_mesh_to_nef_3 2021-02-13 11:15:40 +00:00
Giles Bathgate c0c664a7e4 Fix pedantic warning in polygon_mesh_to_nef_3 2021-02-13 11:15:39 +00:00
Giles Bathgate 5ba988c6fa Bypass coplanarity assertion for triangular facets 2021-02-13 11:15:39 +00:00
Giles Bathgate 393b49f96d Use boost::hash_combine and std::unordered_map for ID support handler 2021-02-11 18:29:44 +00:00
Andreas Fabri 5345986827 Fix typo in Homogeneous case (which I hadn't tested) 2021-02-10 11:13:14 +00:00
Andreas Fabri 6335c1068c Advance copies of the iterator 2021-02-10 10:53:37 +00:00
Giles Bathgate 0f751faa24 Implement hash of halffacet_pair for ID support handler 2021-02-09 22:14:10 +00:00
Giles Bathgate ce7d06d5f4 Disable NEF trace unless the user specifically wants it 2021-02-07 11:55:29 +00:00
Laurent Rineau 3bd7181ff3 Merge pull request #5244 from afabri/Triangulation_2-Intersect_use_variant-GF
Nef_3, Triangulation_2:  Change the result type of the Intersect_2 functor
2021-02-05 16:12:58 +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 e1870c1522 Merge pull request #5371 from maxGimeno/Fix_Nesf_2_parser-maxGimeno
Fix OOB issues in Nef_*
2021-02-05 16:10:29 +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
Laurent Rineau a5cd24dd2a Merge pull request #5371 from maxGimeno/Fix_Nesf_2_parser-maxGimeno
Fix OOB issues in Nef_*
2021-02-05 16:07:25 +01:00
Laurent Rineau 5380ffd257 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:05:55 +01:00
Giles Bathgate e87432f257
Use std:next for is_triangle_3 in normal vector newell
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2021-02-02 08:14:32 +00:00
Giles Bathgate 87b2c5e287 Improvements to normal vector newell after review 2021-01-30 11:36:41 +00:00
Giles Bathgate 83d7a89f22 Calculate normals for facets more efficiently 2021-01-29 17:32:05 +00:00
Maxime Gimeno 23cc6b0f4a Fix read_sface 2021-01-27 10:20:17 +01:00
Maxime Gimeno d78842712c Fix conversion warnigns 2021-01-26 10:22:18 +01:00
Maxime Gimeno a85cf6ed52 Move the include in the ifdef 2021-01-26 09:45:18 +01:00
Laurent Rineau 09f4237245 Merge pull request #5268 from GilesBathgate/fix-dead-code-snc-simplify
Fix structurally dead code in SNC_simplify.h
2021-01-22 09:35:59 +01:00
Laurent Rineau 1d805c82b1 Merge pull request #5289 from GilesBathgate/fix-big-param-by-value-snc-parser
Fix passing big parameters by value in SNC_io_parser.h
2021-01-22 09:35:54 +01:00
Andreas Fabri 5ea5e93f45 Fix warning 2021-01-20 15:17:41 +00:00
Maxime Gimeno 2e592e0027 Fix typo and use setstate 2021-01-20 08:38:33 +01:00
Maxime Gimeno 9e291e6bbf replace cerr by CGAL_warning_msg 2021-01-19 14:04:54 +01:00
Maxime Gimeno 5a1ab45058 Fix Nef_3 2021-01-19 12:24:08 +01:00
Andreas Fabri 168631b069 fix . to -> 2021-01-19 09:28:57 +00:00
Andreas Fabri 8765c63e9c bug fix 2021-01-15 07:55:27 +00: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