Class: KdTree::Node
- Inherits:
-
Struct
- Object
- Struct
- KdTree::Node
- Defined in:
- lib/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
2 3 4 |
# File 'lib/kd_tree.rb', line 2 def coords @coords end |
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/kd_tree.rb', line 2 def id @id end |
#left ⇒ Object
Returns the value of attribute left
2 3 4 |
# File 'lib/kd_tree.rb', line 2 def left @left end |
#right ⇒ Object
Returns the value of attribute right
2 3 4 |
# File 'lib/kd_tree.rb', line 2 def right @right end |