Previous topic

civpy.survey.SpatialHash.get

Next topic

civpy.survey.SpatialHash.plot

This Page

civpy.survey.SpatialHash.multi_get

SpatialHash.multi_get(self, points, norm=True)[source]

Returns the point indices corresponding to the input array of points.

Parameters:
points : list

A list of points of shape (N, D).

norm : bool

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