Subject: Re: [geometry] [algorithms] new algorithm proposed: num_segments
From: Menelaos Karavelas (menelaos.karavelas_at_[hidden])
Date: 2014-08-06 08:07:05
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.
On 06/08/2014 03:02 Î¼Î¼, Adam Wulkiewicz wrote:
> Menelaos Karavelas wrote:
>> Hi all.
>> I have recently implemented the analogue of num_points with respect
>> to segments, and call it num_segments. It returns the number of
>> segments in a geometry.
>> See the corresponding pull request:
>> It also contains the documentation for this new algorithm.
> I'm curious. Do you have some specific use case for this algorithm or
> is this only for consistency with num_points?
> Geometry mailing list
Geometry list run by mateusz at loskot.net