Boost logo

Boost :

Subject: Re: [boost] generative geometry algorithms library idea
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2008-09-23 14:37:34


Brandon Kohn wrote:
> Hi all,
>
> I've been doing some work for the past few weeks on a generative/generic 2D geometry library (leaving open the possibility for 3D in the future). The idea is for all the algorithms to be generative taking coordinate, point, segment, polyline/gon types as template parameters (or deducing where presented as nested typedefs) and specialized traits types for accessing type traits and methods ( things like access_traits<point_type>::get_x( point ) .). So far the library has allowed me to work with the same algorithms in native floating type and exact types like gmp's mpq_class. It's just a first rough draft of ideas, and I would really like some input from the community to see if I'm on the right track for something that boost would be interested in having. I'll post a copy of the lib in the va
> ult. It's header only (with a small testbed with trivial testing and a visual studio 2008 solution/project). I hope there should not be too many issues compiling these tests/headers under ot
> her platforms.
>
> I'll put it in the vault as generative_geometry_algorithms.zip
>
> link:
>
> http://www.boostpro.com/vault/index.php?action=downloadfile&filename=generative_geometry_algorithms.zip&directory=Math%20-%20Geometry&
>
> Thanks for any constructive input.
>

Apologies I haven't looked at your library yet but is it likely that the
algorithms will be usable with eigen2* data types? Eigen2 seems to be
the best open source small vector/matrix library right now for
performance. At least that I can find.

* http://eigen.tuxfamily.org/

Thanks,

-- 
Michael Marcin

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk