Class: Sevgi::Geometry::Grid::Axis::Query
- Inherits:
-
Object
- Object
- Sevgi::Geometry::Grid::Axis::Query
- Defined in:
- lib/sevgi/geometry/sundries/grid.rb
Instance Method Summary collapse
-
#initialize(this, other) ⇒ Query
constructor
A new instance of Query.
- #pairs ⇒ Object
- #points ⇒ Object
- #segments ⇒ Object
Constructor Details
#initialize(this, other) ⇒ Query
Returns a new instance of Query.
38 |
# File 'lib/sevgi/geometry/sundries/grid.rb', line 38 def initialize(this, other) = (@this, @other = this, other) |
Instance Method Details
#pairs ⇒ Object
40 |
# File 'lib/sevgi/geometry/sundries/grid.rb', line 40 def pairs = @pairs ||= segments.map(&:pairs!) |
#points ⇒ Object
42 |
# File 'lib/sevgi/geometry/sundries/grid.rb', line 42 def points = @points ||= segments.map(&:points!) |
#segments ⇒ Object
44 |
# File 'lib/sevgi/geometry/sundries/grid.rb', line 44 def segments = @segments ||= segments! |