Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6173: Self-intersected segments in result polygon of boost::geometry::intersection().
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-25 12:48:07
#6173: Self-intersected segments in result polygon of
boost::geometry::intersection().
-------------------------------------+--------------------------------------
Reporter: m.arutyunyan@⦠| Owner: barendgehrels
Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords: self-intersected segments, intersection
-------------------------------------+--------------------------------------
Comment (by m.arutyunyan@â¦):
Hello,
There is a simplier example to reproduce this issue, just use next
polygons
src1:
{{{
-4.80000000000000970, -0.95000000000000000, 0
-4.89000000000000040, -1.00000000000000000, 0
-4.90000000000000810, -0.99000000000000865, 0
-4.91000000000000380, -0.90000000000000036, 0
}}}
src2:
{{{
-4.80000000000000970, -0.95000000000000000, 0
-4.89000000000000130, -1.00000000000000000, 0
-4.90000000000000810, -0.99000000000000865, 0
-4.91000000000000470, -0.90000000000000036, 0
}}}
And there we have result of boost::geometry::intersection() with self-
intersections
{{{
-4.89000000000000060, -0.99999999999999967, 0
-4.90000549618320580, -0.98999450381681120, 0
-4.90000000000000830, -0.99000000000000865, 0
-4.91000000000000370, -0.90000000000000080, 0
-4.79956862745099060, -0.95019607843137210, 0
-4.80000000000000960, -0.94999999999999996, 0
}}}
Regards,
Maksim
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6173#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