Added BigRational class.

8/15/2012 12:21 AM

Very occasionally there have been some floating point precision issues with the polygon boolean operations. Triangulation has been more stable, though problems possibly can occur there too. So to provide a robust option, WW.Math (and thus also CadLib) now includes a BigRational class, and exact arithmetic versions of the polygon boolean operations and 2D triangulation. See namespace WW.Math.Exact and WW.Math.Exact.Geometry.

Speed could be a lot better, but unfortunately C# misses some low level features. Also some in the future some faster algorithms will be used.

- Wout