Previous topic

civpy.survey.SpatialHash

Next topic

civpy.survey.SpatialHash.multi_get

This Page

civpy.survey.SpatialHash.get

SpatialHash.get(self, point, norm=True)[source]

Returns the point indices correesponding to the same hash as the input point.

Parameters:
point : list

A list of shape (D,).

norm : bool

If True, normalizes the points to their grid index. Otherwise, assumes that the input points are grid indices.