Boost logo

Geometry :

Subject: Re: [geometry] [algorithms] new algorithm proposed: num_segments
From: Barend Gehrels (barend_at_[hidden])
Date: 2014-08-06 15:47:33

Hi Adam,

Adam Wulkiewicz wrote On 6-8-2014 21:25:
> Hi,
> Menelaos Karavelas wrote:
>> Yes there is. It is going to be used in bg::distance along with
>> another feature I want to implement: an iterator for the segments of
>> a geometry. I can provide more details if you want.
> I'm always interested in the details, however I can imagine why it may
> be needed :)
> Barend are you ok with merging?

Sure, I'm OK

About the segment iterator, note that it is not that easy - we tried it
earlier but (at that time) it was hard to get the same performance as
normally iterating through points.

Regards, Barend

Geometry list run by mateusz at