Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] How do u clear a Kd_Tree?

Subject: CGAL users discussion list

List archive

[cgal-discuss] How do u clear a Kd_Tree?


Chronological Thread 
  • From: calvin_cw <>
  • To:
  • Subject: [cgal-discuss] How do u clear a Kd_Tree?
  • Date: Fri, 9 Jul 2010 03:00:14 -0700 (PDT)


I have a search tree set up as follows...

typedef CGAL::Orthogonal_k_neighbor_search<Traits, DistanceFunction>
K_neighbor_search;
typedef K_neighbor_search::Tree Tree;


Initially I set up the Tree with 10k points.

When I wish to update the Tree with another set of 10k points, I realised
I'm stuck, because there is no "clear()" function.

I looked up the CGAL manual, there is a "clear()" function, but when I
looked up the kd_Tree source code, there is no "clear()" functionality..

Can someone help me on this? Thanks!
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-do-u-clear-a-Kd-Tree-tp2283189p2283189.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page