Bases: unittest.case.TestCase
Composite lines are clipped and classified by polygon
Multiple composite lines are clipped by multiple polygons
Multiple composite lines are clipped and classified by polygon
Set of points is correctly separated according to polygon (2)
Points can be classified as either inside or outside polygon (2)
Intersection is direction invariant
This runs through a number of examples and checks that direction of lines don’t matter.
Intersection of lines with coinciding endpoints works
Test that coinciding endpoints are picked up
Large convoluted polygon clipping example works (random points)
Points coinciding with lines are correctly detected (vector version)
Vectorised version
Polygon with hole can be populated by random points (2)
Set of points is correctly separated according to polygon
Numpy version of polygon clipping agrees with python version