dimension.m

Back to PointKdTree (Matlab)

matlab/+pastelgeometry/@PointKdTree/

% DIMENSION
% Returns the dimension of a kd-tree.
%
% D = dimension()
%
% Return values
% -------------
%
% D is the dimension of the tree.

% Description: Returns the dimension of a kd-tree.
% DocumentationOf: PointKdTree.m

function D = dimension(self)
    eval(import_pastel);

    D = pastelgeometrymatlab(...
        'pointkdtree_dimension', ...
        self.kdTree);
end