Commit Graph
424 Commits
Author SHA1 Message Date
Andreas Fabri dd0d629635 Use Get_approx instead of approx() 2021-04-15 08:28:40 +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 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
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
Giles BathgateandSebastien Loriot 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