Class: Sevgi::Sundries::Grid::Axis::Major 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.

Major 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 major tick distances.

Returns:

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


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

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