class Chem::Spatial::KDTree
- Chem::Spatial::KDTree
- Reference
- Object
Direct Known Subclasses
Defined in:
chem/spatial/kdtree.crConstructors
Instance Method Summary
- #each_neighbor(pos : Vec3, *, within radius : Number, &block : Int32, Float64 -> ) : Nil
- #nearest(pos : Vec3) : Int32
- #nearest_with_distance(pos : Vec3) : Tuple(Int32, Float64)
- #neighbors(pos : Vec3, count : Int) : Array(Int32)
- #neighbors(pos : Vec3, *, within radius : Number) : Array(Int32)
- #neighbors_with_distances(pos : Vec3, count : Int) : Array(Tuple(Int32, Float64))
- #neighbors_with_distances(pos : Vec3, *, within radius : Number) : Array(Tuple(Int32, Float64))