Commit 2b212fce authored by Bognár, Á.'s avatar Bognár, Á.
Browse files

Update daypym.py

parent 1e66b894
......@@ -133,9 +133,9 @@ def point_in_poly(point, poly):
qip2_r = Vector2D(10000, 1) # quasi-infinite point 2 to the right
qip1_l = Vector2D(-10000, 0) # quasi-infinite point 1 to the left
qip2_l = Vector2D(-10000, 1) # quasi-infinite point 2 to the left
qip1_u = Vector2D(0, 10000) # quasi-infinite point 1 to the right
qip2_u = Vector2D(1, 10000) # quasi-infinite point 2 to the right
qip1_d = Vector2D(0, -10000) # quasi-infinite point 1 upwards
qip1_u = Vector2D(0, 10000) # quasi-infinite point 1 upwards
qip2_u = Vector2D(1, 10000) # quasi-infinite point 2 upwards
qip1_d = Vector2D(0, -10000) # quasi-infinite point 1 downwards
qip2_d = Vector2D(1, -10000) # quasi-infinite point 2 downwards
test_poly_r = Polygon2D([point, qip1_r, qip2_r])#.order_points('upperleftcorner') # maybe we wouldn't need this anyway
test_poly_l = Polygon2D([point, qip1_l, qip2_l])#.order_points('upperleftcorner') # maybe we wouldn't need this anyway
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment