Boost logo

Geometry :

Subject: Re: [geometry] [intersection]: ratio where one segment is degenerate
From: Menelaos Karavelas (menelaos.karavelas_at_[hidden])
Date: 2014-04-30 15:07:49


Hi Barend.

Just wanted to assert that the fix works for the test cases I am testing.

Best,

- m.

On 30/04/2014 06:40 μμ, Barend Gehrels wrote:
> Hi,
>
> See subject - as earlier mentioned in private mails, the ratio was 0/1
> even when one of the segments is degenerate but the other is not. If
> so, the IP is locatable on the non-degenerate segment and should have
> a ratio.
>
> That should be fixed now. A unit test is added. It should still be
> tested for collinear cases where the degenerate segment is NOT located
> on the segment.
>
> https://github.com/boostorg/geometry/commit/9f1b9ff7baf9200c7dc0bd0ab27c80dcb0f98af2
>
>
> Regards, Barend
>
> _______________________________________________
> Geometry mailing list
> Geometry_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/geometry


Geometry list run by mateusz at loskot.net