class Chem::Spatial::PeriodicKDTree
- Chem::Spatial::PeriodicKDTree
- Chem::Spatial::KDTree
- Reference
- Object
Defined in:
chem/spatial/kdtree.crConstructors
Instance Method Summary
- #each_neighbor(pos : Vec3, *, within radius : Number, &block : Int32, Float64 -> ) : Nil
- #neighbors_with_distances(pos : Vec3, count : Int) : Array(Tuple(Int32, Float64))
- #neighbors_with_distances(pos : Vec3, *, within radius : Number) : Array(Tuple(Int32, Float64))
Instance methods inherited from class Chem::Spatial::KDTree
each_neighbor(pos : Vec3, *, within radius : Number, &block : Int32, Float64 -> ) : Nil
each_neighbor,
nearest(pos : Vec3) : Int32
nearest,
nearest_with_distance(pos : Vec3) : Tuple(Int32, Float64)
nearest_with_distance,
neighbors(pos : Vec3, count : Int) : Array(Int32)neighbors(pos : Vec3, *, within radius : Number) : Array(Int32) neighbors, neighbors_with_distances(pos : Vec3, count : Int) : Array(Tuple(Int32, Float64))
neighbors_with_distances(pos : Vec3, *, within radius : Number) : Array(Tuple(Int32, Float64)) neighbors_with_distances
Constructor methods inherited from class Chem::Spatial::KDTree
new(points : Array(Vec3), cell : Parallelepiped | Nil)new(points : Array(Vec3)) new