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

Returns:

  • (Object)

    the current value of coords



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

def coords
  @coords
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



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

def id
  @id
end

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



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

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



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

def right
  @right
end