Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-03-31 08:25:07


Tom,

> There is an interesting class on the boost vault
> called geometry2d. What is the status of this class.

The classes in the header are basically what I would characterize as
"everybody's geometry", in the sense that they codify a widespread,
commonly shared understanding of how these basic geometry primitives
should look like (some details notwithstanding).

Within that framework, they are relatively well-thought and tested,
and are generally usable.

I do not intend to push them towards the review, though (even when
I hypothetically have time for something like that), because IMO it's
a waste to implement a whole host of geometrical algorithms/operations
for some specific geometry classes, no matter how generic these are.
The algorithms are still the same whether you are dealing with your
own classes, structs coming from platform APIs, or 3-d party libraries
-- or, for that matter, mixing these together. What is needed is not
a yet another set of geometric data structures, but rather a truly
generic, second-generation geometric *algorithms* library that
will work on pretty much everything that fits in conceptually
(rather than technically).

SFINAE makes it possible, and we have something proprietary along
these lines here at work. I'd by happy to elaborate more on specific
questions if you are interested to know more.

Having said that, if you find geometry2d classes good enough for your
needs, feel free to use/evolve/take them over.

Hope this answers your question,

--
Aleksey Gurtovoy
MetaCommunications Engineering

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