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

Defined in:

containers/kd_tree.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : T, coords : Array(T), left : Nil | Crystalline::Containers::KDTree::Node(T) = nil, right : Nil | Crystalline::Containers::KDTree::Node(T) = nil) #

[View source]

Instance Method Detail

def coords #

[View source]
def coords=(coords : Array(T)) #

[View source]
def id #

[View source]
def id=(id : T) #

[View source]
def left : Node(T) | Nil #

[View source]
def left=(left : Node(T) | Nil) #

[View source]
def right : Node(T) | Nil #

[View source]
def right=(right : Node(T) | Nil) #

[View source]