Boost logo

Geometry :

Subject: [ggl] convex_hull and Geometry Concept
From: Barend Gehrels (barend)
Date: 2011-08-20 14:47:01


Hi Michael,

On 19-8-2011 4:15, Michael Caisse wrote:
>
> The documentation
> <http://www.boost.org/doc/libs/1_47_0/libs/geometry/doc/html/geometry/reference/algorithms/convex_hull.html>
> for the convex_hull algorithm identifies that the geometry must
> fulfill "a Geometry Concept".
>
> It appears that convex_hull doesn't like Box Concept (which I assume
> is a Geometry Concept). Granted, the convex_hull of a box type isn't
> very interesting; however, generic programming requires a lot of
> uninteresting things (o;
>
> I might be missing something with the term "Geometry Concept". The
> follow little program demonstrates the problem.

Yes, you are right. It will be added. Thanks for the message.
For a "point" we probably get an even more uninteresting and invalid hull...

Regards, Barend


Geometry list run by mateusz at loskot.net