Commit Graph

653 Commits

Author SHA1 Message Date
Sébastien Loriot c4a11970c4 AABB_traits_3 is model of Search_traits 2024-03-04 16:00:47 +01:00
Sébastien Loriot ee187c5008 use Search_traits_adapter instead of Decorated_point 2024-03-04 15:47:10 +01:00
Sebastien Loriot ae0f114238
Update AABB_tree/include/CGAL/AABB_traits_3.h
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2024-03-04 15:27:13 +01:00
Sébastien Loriot 2eff0eb0e0 add missing files 2024-03-04 13:50:51 +01:00
Sébastien Loriot 4a482dd32b compatibility headers 2024-03-04 13:09:08 +01:00
Sébastien Loriot 006d46b1d4 start updating the AABB-tree to work in both 2D and 3D 2024-03-04 12:54:59 +01:00
Andreas Fabri d12baf74c2 Try to avoid a non-initialized warning by initializing with std::nullopt 2024-02-09 09:12:38 +00:00
Sébastien Loriot 2277013d84 replace boost::mpl::and_ 2023-11-10 16:19:26 +01:00
Sébastien Loriot 8700394122 boost::mpl::if_ -> std::conditional 2023-09-24 22:57:20 +02:00
albert-github 93001308f4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementPointLocation_2.h
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementVerticalRayShoot_2.h
2023-08-18 11:10:42 +02:00
Sébastien Loriot eada3ee8ca Merge branch 'master' into 'sloriot/CGAL-using_c++17_stl' 2023-08-14 14:19:25 +02:00
albert-github 32054661c7 issue #7395 Improvement of layout of model relations
Replacing the `cgalModelsBare` construct with a `begin` / `end` construct so no less understandable constructs with `\,` and `\n` are necessary.
2023-07-21 19:21:09 +02:00
albert-github a0320dd7b4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Polyhedron/doc/Polyhedron/Concepts/PolyhedronItems_3.h
2023-07-13 10:33:18 +02:00
Laurent Rineau 4a2c7a668d Merge pull request #7571 from albert-github/feature/issue_7454
issue #7454 Consistency of BigO notations
2023-07-12 15:29:56 +02:00
albert-github 5673ccfc71 Spelling corrections
Spelling correction `a edge` to `an edge`
2023-07-06 18:04:38 +02:00
albert-github ee2a55279d issue #7395 Improvement of layout of model relations
- Completed the cgalHasModel part
- corrected spelling of `Has Model` and `Is Model Of` to `Has model` and `Is model of`
2023-07-06 17:35:34 +02:00
albert-github c0db92d0e9 issue #7395 Improvement of layout of model relations
Consistent implementation for the `AABB_tree` in respect to `Has Model` and `Is Model Of`
2023-07-05 12:13:40 +02:00
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
albert-github b3af96caa1 issue #7454 Consistency of BigO notations
Create `cgalBigO` marco and used it.
(`The macro `cgalBigOLarge` is for special situations where we need bigger round brackets)
2023-07-04 16:23:14 +02:00
Sébastien Loriot dfc386d65b Merge branch 'master' into HEAD 2023-06-22 14:05:45 +02:00
Sébastien Loriot 0ee31a5d4f remove extra parenthesis 2023-06-19 19:17:49 +02:00
Sébastien Loriot 9a0bdb5d96 boost::variant ---> std::variant 2023-06-15 10:57:10 +02:00
Sébastien Loriot 604dcdc435 boost::optional => std::optional 2023-06-15 10:57:09 +02:00
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +02:00
Sébastien Loriot ea62c316ae boost::lambda -> c++11 lambda 2023-04-23 22:37:07 +02:00
Sébastien Loriot b039040f73 boost::is_convertible -> std::is_convertible 2023-04-23 22:37:07 +02:00
Sébastien Loriot 9242a810c4 Merge remote-tracking branch 'cgal/master' into Region_growing-revision-soesau 2023-02-07 11:31:55 +01:00
Sébastien Loriot ee246c87c5 fix function name and add missing constructor 2023-01-25 17:08:27 +01:00
Sébastien Loriot cd76994056 rename property map and deprecated old name 2023-01-18 13:45:37 +01:00
albert-github 014c06fd19 spelling corrections
Some spelling corrections (Directories starting with `A`)
2022-11-14 15:32:47 +01:00
Sébastien Loriot 861588abe1 Merge 'sloriot/CGAL-std_type_traits' into master 2022-08-03 20:19:51 +02:00
Sébastien Loriot b411e262f8 add missing const 2022-06-30 09:22:44 +02:00
Sébastien Loriot 678b9d8148 add some constexpr for constant functions 2022-06-28 16:49:05 +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 b96f6d5ce9 move is_iterator to type_traits 2022-06-10 09:43:59 +02:00
Sébastien Loriot ac8b6d4731 boost::is_same --> std::is_same 2022-06-10 08:18:20 +02:00
Sébastien Loriot 4f5f8341cc use std::enable_if_t 2022-06-10 07:37:53 +02:00
Andreas Fabri f23deb3b1d Remove parameter as it is not used internally 2022-06-01 12:48:17 +01:00
Andreas Fabri 89ef292122 Document node 2022-06-01 11:20:23 +01:00
Andreas Fabri 07e5bc9ec2 Document parameters 2022-05-31 15:34:56 +01:00
Sebastien Loriot 1e9984633d
Merge pull request #6591 from afabri/Poisson-doxygen-GF
Fix doxygen warnings
2022-05-26 18:10:39 +02:00
Mael Rouxel-Labbé 3b52e466a8 AABB_tree doc improvements 2022-05-24 10:02:15 +02:00
Andreas Fabri 389ef8ea32 Fix Shape Approximantion (and almost AABB) 2022-05-17 10:51:32 +01:00
Mael Rouxel-Labbé 1375a0aa9e Use internal vectors in vector property maps (external causes dangling refs) 2022-03-24 16:10:36 +01:00
Mael Rouxel-Labbé df8b4b0405 Avoid superfluous distance computations 2022-01-10 14:52:13 +01:00
Mael Rouxel-Labbé 1981fdd4f0 Factorize implementation of traversal functors for multiple datum trees 2022-01-10 14:51:47 +01:00
Mael Rouxel-Labbé 3498f76ca2 Remove unused variables / typedefs 2021-12-23 12:51:55 +01:00
Mael Rouxel-Labbé 0f965fd42b Add a triangle AABB tree which can use multiple primitives to cover data 2021-11-10 14:22:46 +01:00
Mael Rouxel-Labbé 8166579e55 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_master-GF 2021-10-11 19:58:07 +02:00
Mael Rouxel-Labbé 590ddf8015 Various fixes for pmaps:
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
  a reference (to avoid `typename PM::reference r = get(m, k)`,
  which will take a ref to a temporary if the `reference`
  typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
  **mutable** property map: the `put()` is `map[k] = v`, which
  is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
  not a reference in `get(map, key)`. You can have a readable property map
  returning a reference through its `get(map, key)`, but if there is
  no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
  or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
  of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
  * `value_type& operator[](key&)`
  * `ref get(map, const key&)`
  * `put(map, const key&, const value_type&)`
  and non-mutable lvalue pmap:
  * `const value_type& operator[](const key&)`
  * `ref get(map, const key&)`
  but not everything fits properly...
2021-10-08 15:38:47 +02:00
Mael Rouxel-Labbé 1660611e76 Use local typenames directly 2021-10-08 13:23:38 +02:00
Mael Rouxel-Labbé df560987a6 Whitespace & cleaning changes 2021-10-08 12:13:43 +02:00
Mael Rouxel-Labbé 2dda84c9b3 Minor code cleaning 2021-09-28 15:34:25 +02:00
Mael Rouxel-Labbé b9741aa6bb Fix AABBGeomTraits's intersection pred/cons requirements (+ misc cleaning) 2021-09-28 15:32:06 +02:00
Sebastien Loriot e5279db7fb
Merge pull request #5777 from MaelRL/AABB-Dont_call_global_do_intersect-GF
Misc fixes for Intersections_3 + related
2021-09-02 15:44:53 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Laurent Rineau 5759a800e3
Merge pull request #5705 from maxGimeno/CGAL-Clean_up_boost_versions-maxGimeno 2021-07-28 10:14:38 +02:00
Mael Rouxel-Labbé 5880dc7195 Replace global function CGAL::do_intersect() call 2021-06-14 11:28:18 +02:00
Maxime Gimeno 393ae7dae6 Clean-up boost_version reqs 2021-05-12 15:03:53 +02:00
Dmitry Anisimov 4ce1370043 tested group traversal, its sequential version is slower due to more candidate triangles 2021-04-28 11:37:49 +02:00
Sébastien Loriot 87174f3007 remove useless check (go further is updated with primitives not bbox) 2021-04-28 08:37:08 +02:00
Sébastien Loriot 1a9a821193 add a way to get a direct access to primitive in a box when below a given nb of primitives 2021-04-27 19:24:07 +02:00
Dmitry Anisimov a2f460c9d6 Merge branch 'master' into gsoc2019-PMPHDist-martinskrodzki 2021-04-27 18:37:32 +02:00
Dmitry Anisimov 5e99e80134 refined and debugged aabb tree with priority traversal 2021-04-26 17:07:19 +02:00
Dmitry Anisimov 69c48308cc added test for realizing triangles, updated how the bounds are stored, removed useless types 2021-04-26 13:04:59 +02:00
Dmitry Anisimov 9a9c3ed887 a few comments in addition to the discussion with Sebastien and Martin 2021-04-22 12:19:58 +02:00
Dmitry Anisimov dfd2e15066 Merge remote-tracking branch 'maxGimeno/PMP-compare_faces_from_meshes-maxGimeno' into gsoc2019-PMPHDist-martinskrodzki 2021-04-07 13:54:02 +02:00
Laurent Rineau 1b54449dc5 Merge pull request #4878 from danston/Kernels-decltypes-danston
Improve decltype/result_of/invoke_result
2021-04-06 15:13:21 +02:00
Laurent Rineau 58ddf16295 Merge pull request #5507 from afabri/PMP-vtune_isotropic_remeshing-GF
PMP:  Accelerate isotropic remeshing
2021-04-06 15:13:11 +02:00
Dmitry Anisimov 00c185b028
Merge branch 'master' into Kernels-decltypes-danston 2021-03-12 12:06:20 +01:00
Sébastien Loriot 2b5cb2da9f copy tags 2021-03-10 14:23:58 +01:00
Sébastien Loriot 3614dee0fb don't reinvent the wheel 2021-03-10 14:01:55 +01:00
Sébastien Loriot ac708f6625 use nested class for dispatch 2021-03-10 13:59:00 +01:00
Andreas Fabri b5239161c4 Check that the kernel has static filters 2021-03-10 10:51:24 +00:00
Andreas Fabri 643810f310 WIP for not hard coding conservative. Todo: Use of Has_filtered 2021-03-09 13:15:49 +00:00
Andreas Fabri b1c2dd8db6 WIP: early exit in the static filter 2021-03-07 18:25:18 +00:00
Laurent Rineau 3ab3b10d47 Merge pull request #5247 from MaelRL/SDG-Fix_doc-GF
Doc improvements for TDS-related classes
2021-03-03 17:38:18 +01:00
Sébastien Loriot 313f682b8c use custom functor for bbox and split primitives
aabb tree build runtime is similar to using EPICK
2021-03-02 16:16:07 +01:00
Mael Rouxel-Labbé 5efa544734 Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-02-22 17:19:40 +01:00
Sébastien Loriot 20661527bd Merge branch 'martinskrodzki/gsoc2019-PMPHDist-martinskrodzki' into master 2021-02-19 10:58:11 +01:00
Dmitry Anisimov 81d9556707 Merge remote-tracking branch 'upstream/master' into Kernels-decltypes-danston 2021-02-10 10:06:45 +01:00
Mael Rouxel-Labbé 1f45360d7a Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-01-26 09:05:24 +01:00
Dmitry Anisimov e2ea93dbc5 fixed wrong reference type in aabb tree 2021-01-19 13:06:16 +01:00
Sébastien Loriot 1e249afdb3 remove some boost::bind 2021-01-06 12:59:11 +01:00
Laurent Rineau e7167e744e Merge pull request #5229 from MaelRL/AABB-no_underscore_in_doc-GF
AABB: Fix extra underscore in the documentation of the VPM template parameter
2020-12-15 09:07:49 +01:00
Laurent Rineau a0e1b15da3 Merge branch '5.1.x-branch' into 5.2.x-branch 2020-12-15 09:07:21 +01:00
Dmitry Anisimov 3127190bcf marc's review 2020-12-08 12:48:04 +01:00
Mael Rouxel-Labbé f0e94d5efa Fix typo 2020-12-05 10:08:13 +01:00
Mael Rouxel-Labbé 746e00f81e Fix extra underscore in the documentation of the VPM template parameter
This is a residual of the usage of CGAL::Default in the class templates.

Fix it by also documenting constructors in a #ifdef DOXYGEN_RUNNING block,
like the types.
2020-11-30 18:16:39 +01:00
Sébastien Loriot 9b60888cb2 fix doc warnings 2020-10-20 13:23:15 +02:00
Laurent Rineau 9e96a45e55
Merge branch 'master' into AABBTreeC++11 2020-10-16 19:01:59 +02:00
Sébastien Loriot 0b732f9f16 rename m_p_nodes to m_nodes 2020-09-22 15:49:03 +02:00
Sébastien Loriot 7938060fd0 Merge 'cgal/master' 2020-09-22 15:47:26 +02:00
Maxime Gimeno 5f8e49a963 WIP 2020-08-19 15:50:22 +02:00
Dmitry Anisimov 209513dc56 fixed docs + a few code improvements 2020-07-31 15:58:38 +02:00
Dmitry Anisimov ad813b4cb0 further removed result_of and result 2020-07-30 16:19:02 +02:00
Laurent Rineau 022b1a71d0 Merge branch 'releases/CGAL-5.0-branch' 2020-07-21 15:27:49 +02:00
Laurent Rineau 2e8a59d570 Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch 2020-07-21 15:25:54 +02:00
Sébastien Loriot 7e525657dd hide undocumented inheritance 2020-07-20 07:39:54 +02:00
Laurent Rineau ff82af691e Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch 2020-07-08 12:57:05 +02:00