|
Geometry : |
Subject: Re: [geometry] [algorithms] new algorithm proposed: num_segments
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2014-08-06 08:02:47
Hi,
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:
> https://github.com/boostorg/geometry/pull/126
> 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?
Regards,
Adam
Geometry list run by mateusz at loskot.net