Subject: [ggl] Re: Help needed with Intersection operation
From: Christoph Keller (christoph)
Date: 2011-10-12 06:39:49
Thanks for that fix.
It works for me and I am pretty happy the Geometry module is in boost. I
did not have other errors and the one I had did not occur again.
On 09/06/2011 07:17 PM, Barend Gehrels wrote:
> Hi Christoph,
>> The difference between integer and ttmath is that if we look at the
>> original test case and substract B from A (lets call the result C)
>> and then intersect C with B, then no precision would have avoided
>> this kind of numerical problem. (The problem is that a point from B
>> is very near the border of C in the order of epsilon). With integer
>> we get some rounding error in each operation(I can live with that).
>> It is ok, if I get a very small triangle from the intersecton
>> operation, that can be thrown away.
>> This whole series of operations is a bit strange anyway.
>> Thanks for all your effort.
> You are welcome ;-)
> Just curious if you tested the fix I submitted, is your problem now
> solved with that, or did you select another way and did not test (I
> can imagine that as well).
> Regards, Barend
> ggl mailing list
Geometry list run by mateusz at loskot.net