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

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.



View this message in context:
Sent from the Boost Geometry mailing list archive at

Geometry list run by mateusz at