class

Chem::Spatial::PeriodicKDTree

Inherits Chem::Spatial::KDTree / Reference / Object

Constructors

new(points : Array(Vec3), cell : Parallelepiped)
Source

Instance methods

each_neighbor(pos : Vec3, *, within radius : Number, &block : Int32, Float64 -> ) : Nil
Source
neighbors_with_distances(pos : Vec3, count : Int) : Array(Tuple(Int32, Float64))
Source
neighbors_with_distances(pos : Vec3, *, within radius : Number) : Array(Tuple(Int32, Float64))
Source