Class: Containers::KDTree::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/containers/kd_tree.rb

Instance Attribute Summary collapse

Instance Attribute Details

#coordsObject

Returns the value of attribute coords



27
28
29
# File 'lib/containers/kd_tree.rb', line 27

def coords
  @coords
end

#idObject

Returns the value of attribute id



27
28
29
# File 'lib/containers/kd_tree.rb', line 27

def id
  @id
end

#leftObject

Returns the value of attribute left



27
28
29
# File 'lib/containers/kd_tree.rb', line 27

def left
  @left
end

#rightObject

Returns the value of attribute right



27
28
29
# File 'lib/containers/kd_tree.rb', line 27

def right
  @right
end