Previous topic

civpy.survey.SpatialHash.query_point

Next topic

civpy.survey.SurveyPoint

This Page

civpy.survey.SpatialHash.query_range

SpatialHash.query_range(self, a, b, ro, ri=0)[source]

Returns an array of point indices for all points along the specified range within the inner and outer offsets.

Parameters:
a : list

The starting point for the range. The point should be of shape (D,).

b : list

The ending point for the range. The point should be of shape (D,).

ro : float

The outer offset beyond which points will be excluded.

ri : float

The inner offset before which points will be excluded.