Boost logo

Geometry :

Subject: [geometry] Clipping problem with double precision
From: Hunk (heiko.hoennige_at_[hidden])
Date: 2013-12-13 06:20:02


Hello,

I use the union clipping operator for two areas which have the same edge.

My problem now is that i get inexact values of my double edge

area one edge
 start-8.5121540965816571145 , 6.1086181949719744466
end1.8000000000000042633 , 7.7000000000000010658
area two edge
 start1.8000000000000000444 , 7.7000000000000001776
 end-8.5121540965816571145 , 6.1086181949719744466

it is possible to tell bosst::geometry or the clipping operator an epsilon
when clipping is still fine ? Or is it better when i round every point
before clipping?

Thank you for your help

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

Geometry list run by mateusz at loskot.net