mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 11:05:29 +00:00
LUCENE-8632: Fix EdgeTree.internalComponentRelateTriangle to pass correct line segment vertices
This commit is contained in:
parent
437090c302
commit
14b67012d0
@ -142,6 +142,8 @@ public abstract class EdgeTree {
|
||||
return Relation.CELL_OUTSIDE_QUERY;
|
||||
} else if (bx == cx && by == cy) {
|
||||
return componentRelateTriangle(bx, by, ax, ay, cx, cy);
|
||||
} else if (ax == bx && ay == by) {
|
||||
return componentRelateTriangle(bx, by, cx, cy, ax, ay);
|
||||
}
|
||||
return componentRelateTriangle(ax, ay, bx, by, cx, cy);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user