I want to maintain a list of two-dimensional points and store, at list
level, the min and max values for x and y.
The minx/maxx/miny/maxy should be updated as each point is pushed onto
The following works, but it’s probably not leveraging Ruby:
def add_point( p )
if !@minx || @minx > p.x
Thanks in advance.