Re: [Boost-bugs] [Boost C++ Libraries] #10412: Offsetting polygons with buffer strategies fails for some distances

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10412: Offsetting polygons with buffer strategies fails for some distances
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-30 10:09:16


#10412: Offsetting polygons with buffer strategies fails for some distances
-------------------------------------------------+-------------------------
  Reporter: Olivier Tournaire | Owner:
  <olivier.tournaire@…> | barendgehrels
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+-------------------------

Comment (by barendgehrels):

 I cannot reproduce this. I tried:
 - branch master (= 1.56) with VC 2010 and clang
 - branch develop with gcc
 - branch feature/buffer with gcc
 All give the same correct result

 The expected and detected area is 3109.6616

 One thing, you specify:

 {{{
     boost::geometry::strategy::buffer::join_miter
 join_strategy(offset_distance);

 }}}

 but this is probably not your intention, the miter limit should be in
 terms of a factor of the distance, for example 5, or 10. See also

 http://www.boost.org/doc/libs/1_56_0/libs/geometry/doc/html/geometry/reference/strategies/strategy_buffer_join_miter.html


 But I tried with and without this limit, both give non-intersecting
 output.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10412#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC