Method: Geometry::Edge#height

Defined in:
lib/geometry/edge.rb

#heightObject

Return the Geometry::Edge‘s length along the Y axis



57
58
59
# File 'lib/geometry/edge.rb', line 57

def height
    (@first.y - @last.y).abs
end