Class: Sevgi::Sundries::Grid::Axis::Query
- Inherits:
-
Object
- Object
- Sevgi::Sundries::Grid::Axis::Query
- Defined in:
- lib/sevgi/sundries/grid.rb
Instance Method Summary collapse
-
#initialize(this, other) ⇒ Query
constructor
A new instance of Query.
- #lines ⇒ Object
- #points ⇒ Object
- #xys ⇒ Object
Constructor Details
#initialize(this, other) ⇒ Query
Returns a new instance of Query.
44 |
# File 'lib/sevgi/sundries/grid.rb', line 44 def initialize(this, other) = (@this, @other = this, other) |
Instance Method Details
#lines ⇒ Object
50 |
# File 'lib/sevgi/sundries/grid.rb', line 50 def lines = @lines ||= lines! |
#points ⇒ Object
48 |
# File 'lib/sevgi/sundries/grid.rb', line 48 def points = @points ||= lines.map { it.points(true) } |
#xys ⇒ Object
46 |
# File 'lib/sevgi/sundries/grid.rb', line 46 def xys = @xys ||= lines.map { it.points(true).map(&:deconstruct) } |