% KDTREE_BUILD destruct a kd-tree
%
% SYNTAX
% kdtree_delete(tree)
%
% INPUT PARAMETERS
%   tree: a pointer to the tree being deleted
%
% DESCRIPTION
% Frees completely the memory allocated for the tree
% 
% See also:
% KDTREE_DELETE_DEMO, KDTREE_BUILD, KDTREE_NEAREST_NEIGHBOR, 
% KDTREE_RANGE_QUERY, KDTREE_K_NEAREST_NEIGHBORS
%

% Copyright (c) 2008 Andrea Tagliasacchi
% All Rights Reserved
% email: ata2@cs.sfu.ca 
% $Revision: 1.0$  Created on: 2008/10/15
