Boost logo

Geometry :

Subject: [geometry] Precision problem with union
From: Vasiliy Bender (vasiliy.bender_at_[hidden])
Date: 2012-05-08 05:49:09


Hi all,

I am getting incorrect results using bg::union_ with double precision.

The union of two slightly intersecting (~sharing an edge) rectangles r1 and
r2 covers the only one of both.

The problem is very similar to the one described in the following unanswered
topic:

http://boost-geometry.203548.n3.nabble.com/Severe-precision-problems-with-unions-td3423635.html
http://boost-geometry.203548.n3.nabble.com/Severe-precision-problems-with-unions-td3423635.html

I am using x86_64, GCC 4.5.1 and boost::geometry 1.49. Switching to trunk
(boost::geometry and boost::math) does not solve the problem.

Regards,

Vasiliy

--
View this message in context: http://boost-geometry.203548.n3.nabble.com/Precision-problem-with-union-tp3970885.html
Sent from the Boost Geometry mailing list archive at Nabble.com.


Geometry list run by mateusz at loskot.net