Commit Graph

1841 Commits

Author SHA1 Message Date
Andreas Fabri d1fb0d22d2 Move Bbox_d.h to NewKernel 2025-01-10 15:08:08 +00:00
Andreas Fabri f0c6891fe2 Remove dependency with a forward declaration 2025-01-10 13:17:18 +00:00
Andreas Fabri 2a1ece6969 Add BBox_d 2025-01-10 11:18:38 +00:00
Mael Rouxel-Labbé b8830caa24 Remove superfluous precision 2025-01-08 17:20:20 +01:00
Mael Rouxel-Labbé b7de40afce Update enum_cast<Uncertain> calls to new API 2025-01-08 17:17:55 +01:00
Mael Rouxel-Labbé 7b6886ed17 Misc cleaning 2024-12-20 16:16:26 +01:00
Mael Rouxel-Labbé 9c517a47a2 Fix bad return types 2024-12-20 16:14:40 +01:00
Mael Rouxel-Labbé 4d4549cad6 Get rid of result_type in Kernels + fix some bad return types (wip) 2024-12-20 16:13:35 +01:00
Mael Rouxel-Labbé 778ae1b9c8 Remove unused class 2024-12-20 15:25:03 +01:00
Andreas Fabri 99f514122b Add constructor from Bbox_2/3 2024-12-18 11:06:04 +00:00
Andreas Fabri bad04a6c68 Missed one this-> :< 2024-12-18 06:53:27 +00:00
Andreas Fabri 386b9cf957 Add Cartesian_const_iterator to Bbox 2024-12-17 12:13:54 +00:00
Andreas Fabri eb5887a59c Add Cartesian_const_iterator to Bbox 2024-12-17 12:04:09 +00:00
Andreas Fabri 6cd7b4548b Use variable 2024-12-17 07:49:46 +00:00
Mael Rouxel-Labbé de214f488c Add / Fix \sa links to functors for CGAL kernel objects 2024-12-16 17:44:06 +01:00
Mael Rouxel-Labbé bb2cd839a7 Add missing overloads 2024-12-16 17:43:42 +01:00
Sébastien Loriot b32558b87e Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-12-16 11:47:34 +01:00
Andreas Fabri bc0cd27872 Fix dilate 2024-12-13 15:54:06 +00:00
Andreas Fabri 3e8a958e61 Fix in Bbox.h 2024-12-13 13:28:12 +00:00
Andreas Fabri 920efaa286 Add functions to class Bbox as they are in Bbox_3 2024-12-12 18:08:08 +00:00
Mael Rouxel-Labbé 20115d3dcb Use std::clamp 2024-12-10 17:09:54 +01:00
Mael Rouxel-Labbé 2838ad24d9 Delay to_double call 2024-12-10 17:09:31 +01:00
Andreas Fabri ff079642b6 Add two curves to dD examples (we get an assertion) 2024-12-06 14:15:05 +00:00
Sébastien Loriot c050bb15a3 Merge remote-tracking branch 'cgal/master' 2024-11-15 11:41:07 +01:00
Mael Rouxel-Labbé b02776b504 Remove wrong result_type (WIP: does not compile anymore) 2024-11-06 11:26:50 +01:00
Mael Rouxel-Labbé 181ccd2275 More instances of result_type --> dcltype(auto) 2024-11-06 11:25:47 +01:00
Mael Rouxel-Labbé b32491ad59 Revert sidechange 2024-11-03 21:06:31 +01:00
Mael Rouxel-Labbé 69c9abafe0 Remove obsolete debug cout 2024-11-03 20:53:24 +01:00
Mael Rouxel-Labbé 425fe50276 Add missing tests for filtered Cartesian kernels 2024-11-03 20:53:06 +01:00
Mael Rouxel-Labbé dd2fca2780 Actually test the full EPECK family 2024-11-03 18:16:13 +01:00
Mael Rouxel-Labbé ee451ed469 Fix dangling reference in Construct_center_3(Circle_3)
This fixes the issue, but it could still be broken e.g. by a kernel
that is based on a CGAL kernel, but redefines the Sphere_3 and
with Sphere_3-functor that would not return a const& (or in that
case the custom kernel needs to define the appropriate functors
too...)

But so much breaks into this configuration, that it's out of scope
for this fix.
2024-11-03 18:09:45 +01:00
Sebastien Loriot 1690619625
CGAL: Modernize CMakeLists.txt (#8528)
## Summary of Changes

- Changed `PUBLIC` to `PRIVATE`  in the `target_link_libraries()`
- ~~Link against `Boost::<COMPONENT>`~~ as we do more than just linking
and must use the `CGAL::_.._support`
- Use `target_compile_definitions()` and `add_compile_definitions()`

More to be done.

## Release Management

* Affected package(s): all
* Issue(s) solved (if any): fix one item of  #4815
* License and copyright ownership: unchanged
2024-10-31 10:32:25 +01:00
Sébastien Loriot fb605cdd39 remove -D that is not compatible with "older" cmake versions 2024-10-22 08:19:49 +02:00
Laurent Rineau d759e72d8d third batch of modifications 2024-10-17 00:17:59 +02:00
Sven Oesau a06002ab2b Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-10-14 14:42:46 +02:00
Andreas Fabri a7ff1c0c79 Add one permution. In fact it should be any mix of types in any order 2024-10-09 16:16:04 +01:00
Andreas Fabri 9e75ab340d Use add_compile_definitions 2024-10-09 11:58:52 +01:00
albert-github f7320ae1c1 Spelling corrections
Spelling corrections
2024-09-13 17:53:05 +02:00
Andreas Fabri ab06574eef Merge remote-tracking branch 'cgal/master' into Kernel_23-Bbox_d-ign 2024-09-09 12:03:12 +01:00
Sebastien Loriot 47c417a785
Deal with duplicate lines (#8396)
## Summary of Changes

Deal with Issue #8348 

## Release Management

* Affected package(s):  Triangulation_2 and Periodic_triangulation_2
* Issue(s) solved (if any): fix #8348 
* License and copyright ownership:  unchanged
2024-08-19 11:17:50 +02:00
Andreas Fabri 61ae325e68 Fix template parameter 2024-08-15 14:03:27 +01:00
Andreas Fabri 9ade3d221e WIP: after my conversation with myself on github 2024-08-14 17:04:14 +01:00
Andreas Fabri 0cc387e9b1 Typo in doc 2024-08-14 14:48:00 +01:00
Andreas Fabri a432d96ba7 Fix header 2024-08-14 11:15:33 +01:00
Andreas Fabri b83bcc4b06 Merge branch 'master' into Kernel_23-Bbox_d-ign 2024-08-14 10:51:00 +01:00
Andreas Fabri 0c9cb3d99b CGAL_assertion ( uses also 'e') 2024-08-13 17:18:45 +01:00
Andreas Fabri 570433d890 Protect min/max for VC++ 2024-08-13 09:50:51 +01:00
Andreas Fabri 12468ccf4a Address #8401 2024-08-09 11:32:26 +01:00
Andreas Fabri 8ef1f720e4 Add missing parameter; (std::min) 2024-07-16 19:39:10 +01:00
Mael 1a7e526da3
Remove extra comma 2024-07-08 16:31:33 +02:00
Mael Rouxel-Labbé d2475215bb Use the kernel functor for vector constructions 2024-07-04 18:51:58 +02:00
Mael Rouxel-Labbé de4359ad6a Add Compare_angle_3 tests 2024-07-04 18:45:50 +02:00
Mael Rouxel-Labbé 16ea300ab6 Add Compare_angle_3 overload and missing global functions 2024-07-04 18:34:09 +02:00
Andreas Fabri 4bc277017c Constructor from a range of pairs of numbers 2024-06-20 15:46:20 +01:00
Andreas Fabri 48d734c487 typo in Epick_d doc 2024-06-20 14:50:02 +01:00
Andreas Fabri cf6996bfe7 typo in Epick_d doc 2024-06-20 14:49:28 +01:00
Andreas Fabri 6638dec27b Fix +=; Add first tests 2024-06-20 13:17:27 +01:00
Mael Rouxel-Labbé 67aba3fefe Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-06-20 10:18:49 +02:00
Laurent Rineau 32893b91c0 Merge pull request #8263 from lrineau/CGAL-update_minimal_cmake-GF
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-12 10:06:12 +02:00
Laurent Rineau 5b003a7808 Merge pull request #8246 from albert-github/feature/bug_spell_20240531
Spelling corrections
2024-06-10 18:47:22 +02:00
Laurent Rineau ee948a2041 Merge branch '5.6.x-branch' 2024-06-10 18:47:09 +02:00
Laurent Rineau b5d531116b Merge pull request #8245 from sloriot/Kernel_23-missing_template
Add missing template parameter in the doc
2024-06-10 18:28:33 +02:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
Andreas Fabri ec56c6608d Kernel: Add a BBox class with dimension as parameter 2024-06-05 09:44:37 +01:00
albert-github 36c8b7589d Spelling corrections
Last batch (for now) of spelling corrections in doxygen and normal comments
2024-05-31 19:05:34 +02:00
Sébastien Loriot 3f931d55ff add missing template parameter 2024-05-31 15:08:42 +02:00
Laurent Rineau b8022cbe9f Revert "experiment adding tuple-like support for Segment_3"
This reverts commit ac47f30cd8.
2024-05-22 13:06:39 +02:00
Laurent Rineau 70464ea107 Merge remote-tracking branch 'afabri/STL_extension-Fix_Prevent_deref-GF' into pr/lrineau/8170 2024-05-21 18:55:11 +02:00
Laurent Rineau e9fb0190c3 Merge pull request #7373 from sloriot/Kernel-Perfect_forwarding
Add some perfect forwarding in the Kernel
2024-05-15 16:12:23 +02:00
Laurent Rineau 022b19d3ca Merge pull request #8057 from sloriot/AABB_tree-2d_and_3d
Updating the AABB-tree to work in both 2D and 3D
2024-05-15 16:12:19 +02:00
Laurent Rineau ab37b326d0 Merge pull request #8175 from afabri/Kernel_23-fix_issue_8140-GF
Kernel_23: Fix Issue 8140
2024-05-15 16:12:03 +02:00
Andreas Fabri efdf503e2c Kernel_23: Fix Issue 8140 2024-04-29 16:38:51 +01:00
Laurent Rineau ac47f30cd8 experiment adding tuple-like support for Segment_3 2024-04-26 14:44:37 +02:00
Laurent Rineau cfb8722861 add comments on Compare_angle_3 2024-04-26 14:37:21 +02:00
Laurent Rineau 4adf7e786b fix Compare_angle_3 with six points 2024-04-26 14:37:21 +02:00
Laurent Rineau 15d4d788e6 add Compare_angle_3 with 6 points 2024-04-26 14:37:04 +02:00
Laurent Rineau e313fdc697 Add Compare_xy_2 to TriangulationTraits_2
This enables customization of projection traits for CDT_2s and
facilitates unification with the predicates utilized in
3D triangulations.
2024-04-26 12:13:35 +02:00
Laurent Rineau f305159a26 Merge remote-tracking branch 'cgal/master' into pr/sloriot/7373 2024-04-23 14:37:29 +02:00
Sven Oesau ffba6279c9 Merge remote-tracking branch 'cgal/master' into AABB_tree-2d_and_3d 2024-04-19 08:47:54 +02:00
Andreas Fabri 3effd785c4 Add transform to Polygon_with_holes and Multipolygon_with_holes 2024-04-16 09:05:50 +01:00
Andreas Fabri aad631a533 fixes after review 2024-04-11 10:40:46 +01:00
Laurent Rineau d5ae0c9b94 add a test, and the new class template NT_wrapper 2024-03-28 15:44:47 +01:00
Sébastien Loriot 5254404517 Merge remote-tracking branch 'cgal/master' into HEAD 2024-03-27 22:25:41 +01:00
Laurent Rineau 1926ffd619 Merge remote-tracking branch 'cgal/master' into Kernel-Perfect_forwarding 2024-03-27 17:00:45 +01:00
Laurent Rineau d6c39e52bd fixes
Use:
  - perfect forwarding in objects of the kernel (`Point_2`, `Point_3`,
    `Vector_2`, `Vector_3`), and also in `PointC2`, and `PointC3`
    (that forward to the equivalent vector)
  - constructors with rvalue references in `VectorC2` and `VectorC3`.
2024-03-27 15:56:03 +01:00
Sven Oesau 86fe47c7f7 re-add Construct_projected_point_2 for 2d closest point query 2024-03-21 12:03:57 +01:00
Sébastien Loriot c6ee406603 undo projection traits changes 2024-03-21 09:41:25 +01:00
Andreas Fabri a650d59632 whitespace 2024-03-15 16:23:12 +01:00
Andreas Fabri 40464539ad bug fix 2024-03-15 16:11:34 +01:00
Andreas Fabri f231a3d812 Enrich Projection_traits so that it can be used with AABB_traits_2 2024-03-15 16:06:46 +01:00
Sven Oesau 37e36b8532 fixed tests for point_2 on segment_2 and on triangle_2 2024-03-08 16:43:21 +01:00
Sven Oesau 3f9c5222e2 WIP: adding Construct_projected_point_2 for point onto segment and point onto triangle 2024-03-06 18:23:39 +01:00
Jane Tournois f786b86432 Merge remote-tracking branch 'cgal/master' into PMP-add_bbox_to_face_graph-jtournois 2024-03-06 16:04:58 +00:00
Jane Tournois 75160fc24b reduce number of operations in bbox scaling 2024-03-06 11:52:26 +01:00
Sven Oesau 911ac1a34d added Construct_projected_point_2(Segment_2, Point_2) 2024-03-05 15:54:27 +01:00
Jane Tournois 2d288803b9 doc precondition 2024-03-05 11:25:01 +01:00
Jane Tournois 6407f852e6 add scale(factor) to bbox_2 and uniformize implementation with bbox_3 2024-03-05 09:47:16 +01:00
Jane Tournois 3ceaaccfa1 document Bbox_3::scale(factor) 2024-03-04 16:09:40 +01:00
Jane Tournois 272beb678a move scaling to CGAL::Bbox_3 2024-03-04 16:08:10 +01:00
Laurent Rineau 820465a556 Merge pull request #8023 from sloriot/PMP-soup_autoref_insert_in_edge
Autorefinement: insert points in edge to avoid filter failures
2024-02-28 10:57:25 +01:00