Re: [Boost-bugs] [Boost C++ Libraries] #6063: resize does not offset rectangles (etc.) correctly when using corner_fill_arc

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6063: resize does not offset rectangles (etc.) correctly when using corner_fill_arc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-27 16:40:26


#6063: resize does not offset rectangles (etc.) correctly when using
corner_fill_arc
--------------------------------+-------------------------------------------
  Reporter: dbfaken@… | Owner: ljsimons
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: polygon
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+-------------------------------------------

Comment (by dbfaken@…):

 Attaching a patch which implements the final suggestion:
 1. scale the circle generated by make_arc() so that the *minimum* (instead
 of maximum) bloating distance is given by 'resizing'. (or, for resizing
 < 0, the maximum shrinking distance)
 2. intersect the results of the minkowski sum with the 'normal offset' of
 the initial shape (or its inverse, for resizing < 0).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6063#comment:1>
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:07 UTC