[geometry] Removed (need for) arrangment and moved disjoint.

Disjoint is now based on ratios too. All is now based on ratios, greatly
simplifying the original code with many lines and conditions.
This commit is contained in:
Barend Gehrels
2013-12-20 19:06:05 +01:00
parent e0d9036aef
commit b00311f502
2 changed files with 14 additions and 21 deletions

View File

@@ -290,8 +290,9 @@ void test_all()
'e', true, 0, 0,
2, 0, 6, 0);
// a1---------->a2
// b2<----------b1
// Disjoint (in vertical direction, picture still horizontal)
// a2<---a1
// b2<---b1
test_segment_intersection<P>("case_recursive_boxes_1",
10, 7, 10, 6,
10, 10, 10, 9,