We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a355d commit 7b713b6Copy full SHA for 7b713b6
tests/compas/geometry/predicates/test_predicates_2.py
@@ -32,10 +32,10 @@ def test_is_polygon_in_polygon_xy():
32
polygon_inside = Polygon([(5, 5, 0), (10, 5, 0), (10, 10 ,0), (5, 10, 0)])
33
assert is_polygon_in_polygon_xy(polygon_contour, polygon_inside) is True
34
35
- polygon_outside = Polygon([(15, 5, 0), (20, 5, 0), (20, 10 ,0), (15, 10, 0)])
+ polygon_outside = Polygon([(15, 5, 0), (20, 5, 0), (20, 10, 0), (15, 10, 0)])
36
assert is_polygon_in_polygon_xy(polygon_contour, polygon_outside) is False
37
38
- polygon_intersecting = Polygon([(10, 10, 0), (10, 5, 0), (15, 5, 0), (15, 10 ,0)])
+ polygon_intersecting = Polygon([(10, 10, 0), (10, 5, 0), (15, 5, 0), (15, 10, 0)])
39
assert is_polygon_in_polygon_xy(polygon_contour, polygon_intersecting) is False
40
41
# shifting the vertices list of the same polygon shouldn't affect the containment check output anymore
0 commit comments