Boost logo

Geometry :

Subject: Re: [geometry] Buffer algorithm
From: Barend Gehrels (barend_at_[hidden])
Date: 2013-10-22 15:57:32


Hi Joan,

joan ABADIE wrote On 22-10-2013 16:38:
> It gave me some tips on how to compute a buffer withbuffer_inserterbut I can't figure out how to define 2 templates : JoinStrategy and EndStrategy.

They were template-template-parameters, declared in the main program

Anyway, herewith a complete sample program, will be added to the SVN as
doc-example.

Be aware that both Join and End strategy will change soon (they will not
have the point_type parameter anymore).

Note also that buffer is not yet tested with CCW or Open polygons,
better test with CW/Closed.

Regards, Barend





Geometry list run by mateusz at loskot.net