Class: Sevgi::Geometry::Grid::Y

Inherits:
Axis show all
Defined in:
lib/sevgi/geometry/sundries/grid.rb

Instance Attribute Summary

Attributes inherited from Axis

#halve, #major, #minor

Attributes inherited from Ruler

#brut, #sub

Attributes inherited from Interval

#n, #u

Instance Method Summary collapse

Methods inherited from Ruler

#expand, #margin, #ms, #sd, #sn, #su, #waste

Methods inherited from Interval

#[], [], #count, #d, #ds, #h, #hs, #nds, #nhs

Constructor Details

#initialize(this, other) ⇒ Y

Returns a new instance of Y.



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

def initialize(this, other) = super(other, this)

Instance Method Details

#segmentObject



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

def segment                 = @segment || Segment.vertical(d)