Marc Glisse
d1b461350b
Incomplete renaming in last changes...
2016-11-25 15:29:47 +01:00
Marc Glisse
36af1c17f4
Let remove() take a functor as argument.
2016-10-27 23:17:42 +02:00
Marc Glisse
df573404d0
Merge branch 'Spatial_searching-misc-glisse-old' into Spatial_searching-misc-glisse
2016-10-26 11:12:04 +02:00
Marc Glisse
3038832982
Handle insert-after-remove in Kd_tree.
...
Untested.
2016-10-26 11:02:41 +02:00
Laurent Rineau
51f5697d3d
Add missing #include
2016-09-30 15:23:14 +02:00
Marc Glisse
a1c231737b
Rewrite to handle points on the boundary that may be on either side.
2016-08-25 19:39:58 +02:00
Sébastien Loriot
6326ea2372
Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
2016-06-16 16:19:04 +02:00
Sébastien Loriot
7677241b7f
replace static_cast and add missing const
2016-06-14 15:06:37 +02:00
Sébastien Loriot
31d2638b47
force usage of the base class function
2016-06-14 08:42:30 +02:00
Sébastien Loriot
013c25c889
Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
2016-06-08 14:11:28 +02:00
Sébastien Loriot
6ec27d359e
fix furthest orthogonal incremental neighbor
...
previously the current distance was always larger than the initial
one. As a result no branch of the tree could be filtered out and
all the nodes were visited.
2016-06-06 14:41:33 +02:00
Sébastien Loriot
849c097cfd
A possible fix for further neighbor search
...
if we want to keep using tigh bbox we need more double per node
2016-06-03 16:40:13 +02:00
Marc Glisse
6815316c9f
Let it compile...
2016-04-10 15:23:24 +02:00
Marc Glisse
d9d1c79f28
Point removal in kd-tree.
2016-04-07 16:05:21 +02:00
Frédérik Paradis
418c11ec7e
Adding typedef for Sphere_d in Search_traits_d to respect the contract of RangeSearchTraits
2016-04-02 10:51:19 -04:00
Marc Glisse
c527ab2c5c
Don't uselessly repeat the template parameters inside the class.
2016-03-25 21:49:19 +01:00
Marc Glisse
667ca8f417
Compact Kd_tree_rectangle a bit in the dynamic case.
2016-03-25 21:17:37 +01:00
Marc Glisse
f5e9aa8941
Use upper() and lower() in Kd_tree_rectangle.
2016-03-25 15:41:14 +01:00
Marc Glisse
7438d46087
Remove low_value/high_value that don't apply to the non-extended Kd_tree_internal_node.
2016-03-25 15:27:34 +01:00
Marc Glisse
54135a8ca5
Reorder fields in Kd_tree_rectangle for compactness.
2016-03-25 15:18:41 +01:00
Marc Glisse
475154e6af
Stop once we've found a point in search_any_point
...
I am not familiar with this code, please double-check that the change makes sense.
2016-03-24 23:17:40 +01:00
Simon Giraudot
751d959c05
Fix boost unused typedef warning: replace BOOST_STATIC_ASSERT by CGAL_static_assertion
2016-02-02 14:32:46 +01:00
Sebastien Loriot
32a3972c33
Merge pull request #592 from afabri/CGAL-dont_submit_cleanup-GF
...
Towards getting rid of dont_submit files
2016-01-08 14:14:08 +01:00
Andreas Fabri
e7d3bd96f2
Remove Kd_tree_d_new.h
2015-12-31 16:47:20 +01:00
Andreas Fabri
6b2c4dd7c6
Merge branch 'CGLAL-thread_local_storage-GF-old' into CGLAL-thread_local_storage-GF
2015-11-09 14:26:42 +01:00
Sebastien Loriot
40da918aaf
Merge pull request #368 from afabri/Spatial_searching-find_any_point-GF
...
Add function Kd_tree::find_any_point(Query)
2015-10-10 14:24:22 +02:00
Sebastien Loriot
fc66538d74
Merge pull request #380 from janetournois/Spatial_searching-fix_fuzzy_sphere_constructor-jtournois
...
Spatial_searching : fix Fuzzy_sphere constructors
2015-10-07 15:49:54 +02:00
Jane Tournois
69468219e4
update include of enable_if to location compatible with older versions of boost
2015-10-02 11:02:09 +02:00
Jane Tournois
9491fac7a4
update include
2015-10-01 15:58:54 +02:00
Jane Tournois
58e44a5f1f
avoid redundancy of constructors (compilation error) when types are the same
2015-10-01 12:15:45 +02:00
Andreas Fabri
1a4faa8575
Merge branch 'CGLAL-thread_local_storage-GF-old' into CGLAL-thread_local_storage-GF
2015-10-01 10:03:04 +02:00
Andreas Fabri
34099dfe3a
replace pair<Point,bool> wiyh optional<Point>
2015-09-26 10:42:27 +02:00
Sébastien Loriot
06704ceaee
fix a typo
2015-09-24 13:55:57 +02:00
Sébastien Loriot
a5dfe6743b
make (Orthogonal_)incremental_nearest_neighbor a valid range
2015-09-24 08:21:05 +02:00
Andreas Fabri
482ea27103
Add Kd_tree.search_any_point(Point_d,FuzzyQueryItem)
2015-09-23 11:17:58 +02:00
Andreas Fabri
c3ad989c9f
Use wrapper for the very basic mutex locking
2015-09-04 09:46:51 +02:00
Andreas Fabri
728b4a2f5f
Replace incremental search with a range query and a k-neighbor search
2015-06-23 14:59:50 +02:00
Andreas Fabri
803415f2f1
make sure that the begin/end coordinate iterator are for the same point
2015-02-26 18:08:25 +01:00
Andreas Fabri
2694a6faf5
Do not #include Memory_size.h as it includes windows.h with nasty #defines
...
It was introduced for Kd_tree::statistics(0 by Markus
2015-01-16 08:48:13 +01:00
Laurent Rineau
018919bc3b
Remove an unused header file
2015-01-15 15:26:38 +01:00
Andreas Fabri
c2edcbc1ba
Kd_tree::search now returns the correct iterator
2015-01-14 14:58:35 +01:00
Andreas Fabri
cbaece6134
qualify get<0>(..)
2015-01-10 06:22:51 +01:00
Andreas Fabri
5adf8e388c
Workaround for boost::container::deque; 1 bug fix
2015-01-09 10:23:32 +01:00
Sébastien Loriot
d3fb97b74b
factorise the checking for the nested type Dimension
2015-01-09 10:19:48 +01:00
Andreas Fabri
2dcecc137e
remove extra ';' after a macro
2015-01-08 09:51:33 +01:00
Andreas Fabri
be5bff77e3
use boost::uint
2015-01-08 09:12:22 +01:00
Laurent Rineau
bec963af35
Add a license header
2015-01-07 18:27:04 +01:00
Andreas Fabri
eb6146e0dc
no need for passing the vector dists through the recursive function
2015-01-07 17:44:58 +01:00
Andreas Fabri
066df11cef
remove unused parameter
2015-01-07 14:01:18 +01:00
Andreas Fabri
b4c997dd7c
remove unused parameter
2015-01-07 13:14:14 +01:00