Model.compute_kdtree

Model.compute_kdtree()

Compute the KD tree of the elements for fast nearest neighbour queries.

The KD tree is built using the reference points of the elements of the model.

Returns:
KDTree