class

Crystalline::Containers::KDTree::Node(T)

Inherits Reference / Object

Constructors

new(id : T, coords : Array(T), left : Nil | Crystalline::Containers::KDTree::Node(T) = nil, right : Nil | Crystalline::Containers::KDTree::Node(T) = nil)
Source

Instance methods

coords
Source
coords=(coords : Array(T))
Source
id=(id : T)
Source
left
Source
left=(left : Node(T) | Nil)
Source
right
Source
right=(right : Node(T) | Nil)
Source