class Crystalline::Containers::KDTree::Node(T)
- Crystalline::Containers::KDTree::Node(T)
- Reference
- Object
Defined in:
containers/kd_tree.crConstructors
Instance Method Summary
- #coords
- #coords=(coords : Array(T))
- #id
- #id=(id : T)
- #left : Node(T) | Nil
- #left=(left : Node(T) | Nil)
- #right : Node(T) | Nil
- #right=(right : Node(T) | Nil)
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)
#