Method: Geometry::Obround#height

Defined in:
lib/geometry/obround.rb

#heightObject



107
108
109
110
# File 'lib/geometry/obround.rb', line 107

def height
    min, max = @points.minmax {|a,b| a.y <=> b.y}
    max.y - min.y
end