Boost logo

Geometry :

Subject: [ggl] Re: Help needed with Intersection operation
From: Barend Gehrels (barend)
Date: 2011-09-06 13:55:20


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


Geometry list run by mateusz at loskot.net