|
Geometry : |
Subject: Re: [geometry] Negative distance?
From: Volker Schöch (vschoech_at_[hidden])
Date: 2012-03-15 05:14:32
Hi Barend,
> OK, in that case it is not fixed and will still be there in 1.49. So your report is most welcome...
Here we go:
A = MULTIPOLYGON(((-262144 3434,-262106 3499,-262181 3499)))
B = POINT(4218 1280)
--> boost::geometry::distance(A, B) < 0
I tested with boost 1.48.0, my polygon type is oriented counter-clockwise and not closed, my point type is based on int. I apologize for not having updated to 1.49.0 yet.
Regards
Volker
-- Volker Schöch | vschoech_at_[hidden] Senior Software Engineer think-cell Software GmbH | Chausseestr. 8/E | 10115 Berlin | Germany http://www.think-cell.com | phone +49 30 666473-10 | US phone +1 800 891 8091 Amtsgericht Berlin-Charlottenburg, HRB 85229 | European Union VAT Id DE813474306 Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl
Geometry list run by mateusz at loskot.net