Affine math library

Hey,

I am looking for a math library for doing affine maths like
interscting some primitives (point, line, halfspace, convex polyedron
etc)

I want to rasterize a triangle over a rectangular grid and it does not
have to be fast in the first place. So I thought of just hitting these
primitives.

Anybody knows of such a library ?

-------- Original-Nachricht --------

Datum: Tue, 28 Oct 2008 19:30:48 +0900
Von: Oliver B. [email protected]
An: [email protected]
Betreff: Affine math library

Anybody knows of such a library ?

Dear Oliver,

I don’t now of anything in Ruby, but there’s a quite complete (600000
lines of C/C++ code)
CGAL library.

http://www.cgal.org/

Maybe you’ll write some Ruby bindings for it ?

Best regards,

Axel