fix axis ordering
This commit is contained in:
parent
eb7f7b0ad4
commit
1cbea07d63
1 changed files with 4 additions and 4 deletions
|
|
@ -129,10 +129,10 @@ def poly_edges_intersect(
|
||||||
xf1 = a_next[:, 0, None]
|
xf1 = a_next[:, 0, None]
|
||||||
yf1 = a_next[:, 1, None]
|
yf1 = a_next[:, 1, None]
|
||||||
|
|
||||||
xi2 = poly_b[:, 0, None]
|
xi2 = poly_b[None, :, 0]
|
||||||
yi2 = poly_b[:, 1, None]
|
yi2 = poly_b[None, :, 1]
|
||||||
xf2 = b_next[:, 0, None]
|
xf2 = b_next[None, :, 0]
|
||||||
yf2 = b_next[:, 1, None]
|
yf2 = b_next[None, :, 1]
|
||||||
|
|
||||||
# Perform calculation
|
# Perform calculation
|
||||||
dxi = xi1 - xi2
|
dxi = xi1 - xi2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue