void destroy_points(ANNkd_tree& kdtree) { ANNpointArray dataPts = kdtree.thePoints(); annDeallocPts(dataPts); }