BuildingInformationModel.point_nnbrs

BuildingInformationModel.point_nnbrs(point, k=1)

Find the nearest neighbours to a point.

Parameters:
point

The root point.

k

The number of nearest neighbours that should be returned.

Returns:
list[tuple[Element, float]]

A list of nearest neighbours, with each neighbour defined as an element and the distance of that element to the root element.