Package schrodinger :: Package structutils :: Module measure :: Class _DistanceCell
[hide private]
[frames] | no frames]

Class _DistanceCell

Instance Methods [hide private]
 
__init__(self, xyz, dist)
Class for fast queries of coordinates that are within distance <dist> of specified coordinate.
 
query(self, point)
Given a coordinate point, return all point indexes (0-indexed) that are within the threshold distance from it.
Method Details [hide private]

__init__(self, xyz, dist)
(Constructor)

 

Class for fast queries of coordinates that are within distance <dist> of specified coordinate. This class must first be initialized from an array of all available coordinates, and a distance threshold. The query() method can then be used to get a list of points that are within the threshold distance from the specified point.