nodes.m

Back to PointKdTree (Matlab)

matlab/+pastelgeometry/@PointKdTree/

% NODES
% Returns the number of nodes in a kd-tree.
%
% N = nodes()
%
% Return values
% -------------
%
% N is the number of nodes in the kd-tree.

% Description: Returns the number of nodes in a kd-tree.
% DocumentationOf: PointKdTree.m

function N = nodes(self)
    eval(import_pastel);

    N = pastelgeometrymatlab(...
        'pointkdtree_nodes', ...
        self.kdTree);
end