Commit Graph

360 Commits

Author SHA1 Message Date
Laurent Rineau d3cbf432ec Merge pull request #7201 from GilesBathgate/General-remove_boost_lexical_string_cast-GilesBathgate
Replace use of boost::lexical_cast<std::string> with std::to_string
2023-02-02 10:58:17 +01:00
Laurent Rineau be124f5111 Merge pull request #7208 from MaelRL/Intersections_3-Set_but_unused-GF
Fix set-but-not-used warning
2023-02-02 10:58:13 +01:00
Mael Rouxel-Labbé c17c14ff7a Fix set-but-not-used warning 2023-01-24 10:55:29 +01:00
Giles Bathgate 22b069720a Replace use of lexical_cast<std::string> with std::to_string
use std::prev in Plane_3_Triangle_3_intersection.h do to lack of
implicit header include.
2023-01-15 17:23:04 +00:00
Mael 0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113 2022-12-06 22:21:06 +01:00
Laurent Rineau e8ec440859 Merge branch 'master' into Kernel-Compare_distance_3_RT_FT__always_Filtered_predicate_RT_FT-GF
# Conflicts:
#	STL_Extension/doc/STL_Extension/CGAL/Concurrent_compact_container.h
2022-12-05 14:51:31 +01:00
Mael da0b13699c
Merge branch 'master' into Kernel-Compare_distance_3_RT_FT__always_Filtered_predicate_RT_FT-GF 2022-12-02 23:19:29 +01:00
Mael Rouxel-Labbé b5c21e1f5d Http -> https + update some dead links 2022-11-23 18:54:37 +01:00
Mael Rouxel-Labbé 517f4db59d Hide some ifs behind assertion_code macros 2022-11-22 12:35:54 +01:00
Mael Rouxel-Labbé 8ba0b41f51 Drive-by cleaning 2022-11-22 12:35:10 +01:00
Mael Rouxel-Labbé 3a4e230ac7 Do_intersect_23 should return K::Boolean
Returning bool also created an issue because compilers could not figure out
how to convert from Needs_FT<Uncertain<bool> > to bool
2022-11-22 12:22:42 +01:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Laurent Rineau 743de32052 Merge pull request #6779 from sloriot/Intersections_3-better_tetra_tri
Simpler implementation of Tet vs. Tri intersection
2022-09-13 12:33:08 +02:00
Laurent Rineau 0141404f4d Merge pull request #6809 from lrineau/Filtered_kernel-fix__do_intersect__Bbox_3__Triangle_3__static_filters-GF
Fix static filter of Do_intersect_3(Bbox_3,Triangle_3)
2022-09-13 12:33:03 +02:00
Laurent Rineau e93011ae2a Merge pull request #6779 from sloriot/Intersections_3-better_tetra_tri
Simpler implementation of Tet vs. Tri intersection
2022-09-13 12:31:37 +02:00
Sebastien Loriot d896940470
Cosmetic changes
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-09-07 16:08:58 +02:00
Laurent Rineau c61e3a978b Fix typo size/side 2022-08-24 16:18:26 +02:00
Sébastien Loriot bf6e2a2929 remove unused typedefs 2022-08-02 07:34:55 +02:00
Sébastien Loriot 77a50cfd7c compute it once 2022-08-02 07:34:55 +02:00
Sébastien Loriot 5d32639dc0 fix comment 2022-08-02 07:34:55 +02:00
Sébastien Loriot 2193551f42 precompute plane vertex indices 2022-08-02 07:34:54 +02:00
Sébastien Loriot 5c10048d3e add a bitset to track planes containing polygon points
used to avoid computing points and use input tetrahedron vertex
+workaound for kernels with inexact constructions
2022-08-02 07:34:54 +02:00
Sébastien Loriot bf89c548fd simplify Tetra/triangle intersection computation
Testsuite fails for Kernel with non-exact contructions
2022-08-02 07:34:54 +02:00
Sébastien Loriot c9c6b30cf0 Merge sloriot/CGAL-std_type_traits into master 2022-06-23 16:35:37 +02:00
Sébastien Loriot ac8b6d4731 boost::is_same --> std::is_same 2022-06-10 08:18:20 +02:00
Brian Spilsbury 45c5ef7534 Qualify do_intersect to avoid ambiguous dispatch 2022-06-04 13:17:02 +09:00
Mael Rouxel-Labbé d355a56d66 Merge remote-tracking branch 'cgal/master' into AABB_tree-Multiple_prim_per_datum-GF 2022-03-24 12:44:28 +01:00
Laurent Rineau ba0053461f Merge pull request #6344 from sloriot/CGAL-static_constexpr
Add missing static keyword
2022-02-24 09:49:38 +01:00
Laurent Rineau eb86d35ab0 Merge pull request #6344 from sloriot/CGAL-static_constexpr
Add missing static keyword
2022-02-24 09:44:47 +01:00
Sébastien Loriot 6f6bd08e2e add missing static keyword 2022-02-22 12:42:41 +01:00
Andreas Fabri 35eee1b117 Both types must be coerced 2022-02-03 15:47:17 +00:00
Andreas Fabri a7ff075f37 Use Coercion_traits::Cast 2022-02-03 13:21:11 +00:00
Andreas Fabri 29fc20fc04 Fix by constructing a CFT from the double before doing operator-() ; Comment the testcase in Number_types 2022-01-20 13:04:12 +00:00
Sébastien Loriot 1491983b93 add missing include directives 2022-01-18 11:36:56 +01:00
Sébastien Loriot 1e9cad98a8 better fix 2021-09-14 09:32:40 +02:00
Sébastien Loriot b67589e16b workaround sign issue 2021-09-14 08:41:34 +02:00
Mael Rouxel-Labbé 7049d667e5 Avoid copying arrays 2021-09-10 18:12:30 +02:00
Mael Rouxel-Labbé afa4279a54 Merge branch 'Filtered_kernel-Do_intersect_3-GF-old' into Filtered_kernel-Do_intersect_3-GF 2021-09-10 17:50:28 +02:00
Mael Rouxel-Labbé e829dc73d3 Merge branch 'Filtered_kernel-Do_intersect_3-GF-old' into Filtered_kernel-Do_intersect_3-GF 2021-09-10 17:46:08 +02:00
Mael Rouxel-Labbé 9f32bd1a79 Update header includes 2021-09-02 17:36:44 +02:00
Andreas Fabri a95858fc55 Revert "Work around CGAL_AND as explained in the manual"
This reverts commit 7d2321cecd.
2021-08-31 08:56:56 +01:00
Andreas Fabri 7d2321cecd Work around CGAL_AND as explained in the manual 2021-08-25 16:05:03 +01:00
Mael Rouxel-Labbé 5b94d2db56 Actually erase duplicate internal points 2021-08-25 14:52:22 +02:00
Mael Rouxel-Labbé 6dfe06a286 Fix conversion warnings 2021-08-23 11:49:45 +02:00
Andreas Fabri 3d04ab1e9e Explicitely use CGAL::sign This only fixes some compilation errors, but not the runtime errors of AABB_tree for VC++ 2021-08-13 10:27:36 +01:00
Mael Rouxel-Labbé 2f253b1f63 Remove useless sort 2021-08-06 10:13:00 +02:00
Mael Rouxel-Labbé db4c3fbc76 Fix misc issues within intersection tests themselves 2021-08-06 10:12:37 +02:00
Mael Rouxel-Labbé 5662b4cd41 Fix assuming some member functions actually return const& 2021-08-03 14:34:05 +02:00
Mael Rouxel-Labbé 9c6456f949 Fix some precision issues for Bbox_3 / kernel object do_intersect tests
The previous code relied on the kernel's FT having at least as much precision
as double, which isn't always the case.

Plenty of code still do this in Intersections_23...
2021-07-29 14:23:40 +02:00
Mael Rouxel-Labbé e118e28e72 Rewrite CGAL::intersection(Tetrahedron_3, Triangle_3) 2021-07-05 22:02:11 +02:00