Subject: CGAL users discussion list
List archive
- From: Jin Tack Lim <>
- To:
- Subject: Re: [cgal-discuss] How to make a point query using "K_neighbor_search" Library
- Date: Tue, 1 Jul 2014 18:23:09 -0400
I resolved this issue.
typedef CGAL::K_neighbor_search<TreeTraits, Distance> Neighbor_search;
I removed “Distance” above which is iso box type.
typedef CGAL::Manhattan_distance_iso_box_point<TreeTraits> Distance;
Now, it works well with point queries.
I guess default is for point queries.
Thanks
Hi,
I looked at a example of point query using "Orthogonal_k_neighbor_search"
here.
http://doc.cgal.org/latest/Spatial_searching/index.html
Example 3.1
However, I wonder how I can do it using "K_neighbor_search".
The example only shows a rectangle query case.
http://doc.cgal.org/latest/Spatial_searching/index.html
Example 3.3
When I give a point(Point_d) as a second parameter just like Orthogonal
example, it gives an error.
"error: no matching function for call to ..."
Thanks.
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/How-to-make-a-point-query-using-K-neighbor-search-Library-tp4659502.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] How to make a point query using "K_neighbor_search" Library, soccertack, 07/01/2014
- Re: [cgal-discuss] How to make a point query using "K_neighbor_search" Library, Jin Tack Lim, 07/02/2014
Archive powered by MHonArc 2.6.18.