/ . / CrystalContacts / bins.py / Bins
Bin objects in a grid for fast lookup of objects close to a given object.
Methods
|
|
|
close_objects
|
close_objects (
self,
coords,
range,
)
|
|
close_bins
|
close_bins (
self,
bc,
br,
)
|
|
add_object
|
add_object (
self,
coords,
object,
)
|
|
are_coordinates_close
|
are_coordinates_close (
self,
c,
coords,
dist,
)
|
|
__init__
|
__init__ ( self, bin_size )
|
|
|