Class: Sevgi::Sundries::Grid::Axis::Halve Private

Inherits:
Query
  • Object
show all
Defined in:
lib/sevgi/sundries/grid.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Midpoint grid line query.

Instance Method Summary collapse

Methods inherited from Query

#initialize, #lines, #points, #xys

Constructor Details

This class inherits a constructor from Sevgi::Sundries::Grid::Axis::Query

Instance Method Details

#lines!Array<Sevgi::Geometry::Line>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns lines at midpoint tick distances.

Returns:

  • (Array<Sevgi::Geometry::Line>)


119
# File 'lib/sevgi/sundries/grid.rb', line 119

def lines! = other.hs.map { this.line_at(it) }