Boost logo

Geometry :

Subject: Re: [geometry] Register CCW Polygon
From: Andrew Hundt (athundt_at_[hidden])
Date: 2013-10-23 13:36:55


On Mon, Oct 21, 2013 at 12:02 PM, Barend Gehrels <barend_at_[hidden]> wrote:
>
> Hunk wrote On 21-10-2013 14:05:
>
> It is possible to tell boost that my
>> polygon is CCW orientated so that i dont have to use correct?
>>
>
> You can do that, but not with the macro. The macro's
> (BOOST_GEOMETRY_REGISTER*) don't cover all possible situations. But you can
> still specialize the traits classes to support your Polygon.
>
> Regards, Barend

It would be nice if there was a small explanation and example of how to do
manual registration in the docs. It was a big source of confusion when I
was first getting up and running with the library.

Cheers!
Andrew Hundt



Geometry list run by mateusz at loskot.net