From: Mason Simon Date: 2010-10-17T14:00:12+09:00 Subject: Re: Best Ruby Geometry lib? Pito Salas wrote in post #859299: > I am looking for a basic geometry library with classes like Point, Line, > Rect, etc. And with operations like > > Rect.new(Point, Point, Point, Point) > > or > > Line#angle > > or > > Line#rotate > > or > > Line#intersect(line) > > and so on. Basic, abstract, dealing with points, lines, and other 2d > constructs. I know it's everyone's favorite oo example but is there a > well worked out, tested library so I don't have to write me another one? > > Thanks! > > Pitp Try http://github.com/DanielVartanov/ruby-geometry, or my fork of it, in which I just added a line class. It doesn't have Rect's yet, but you could easily add 'em -mason -- Posted via http://www.ruby-forum.com/.