Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Is there an existing function to get the bboxof

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Is there an existing function to get the bboxof


Chronological Thread 
  • From: Ashwin Nanjappa <>
  • To:
  • Subject: Re: [cgal-discuss] Is there an existing function to get the bboxof
  • Date: Fri, 13 Jun 2008 20:37:55 +0800

Sylvain Pion wrote:
> Ashwin Nanjappa a écrit :
>> Max wrote:
>>> Just one more question - suppose I have a bunch of bbox_3,
>>> what is the convenient way to get the 'union' of them.
>> There doesn't seem to be a function that does this. But, using the values
>> of x/y/z-min(), x/y/z-max(), you can easily create a function that does
>> this for your bbox_3 list.
>
> Maybe std::accumulate ?

That would be an elegant way to implement it! Thanks for the suggestion, I
wasn't aware of this STL function.

Regards,
~ash




Archive powered by MHonArc 2.6.16.

Top of Page