Class: Algorithms::Containers::KDTree::Node
- Inherits:
-
Struct
- Object
- Struct
- Algorithms::Containers::KDTree::Node
- Defined in:
- lib/containers/kd_tree.rb
Instance Attribute Summary collapse
-
#coords ⇒ Object
Returns the value of attribute coords.
-
#id ⇒ Object
Returns the value of attribute id.
-
#left ⇒ Object
Returns the value of attribute left.
-
#right ⇒ Object
Returns the value of attribute right.
Instance Attribute Details
#coords ⇒ Object
Returns the value of attribute coords
28 29 30 |
# File 'lib/containers/kd_tree.rb', line 28 def coords @coords end |
#id ⇒ Object
Returns the value of attribute id
28 29 30 |
# File 'lib/containers/kd_tree.rb', line 28 def id @id end |
#left ⇒ Object
Returns the value of attribute left
28 29 30 |
# File 'lib/containers/kd_tree.rb', line 28 def left @left end |
#right ⇒ Object
Returns the value of attribute right
28 29 30 |
# File 'lib/containers/kd_tree.rb', line 28 def right @right end |