
Geometry : 
Subject: [geometry] [intersection]: ratio where one segment is degenerate
From: Barend Gehrels (barend_at_[hidden])
Date: 20140430 11:40:17
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 nondegenerate 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 list run by mateusz at loskot.net