Donate Javascript Clipper Project
This page presents primary boolean operations between two sets of polygons. The subject polygon is "Great Britain" and clip polygon is "Arrows".
Unmodified "Great Britain" has 1857 points in two sub polygons with point counts 702 and 1155. Unmodified "Arrows" has 28 points in 4 sub polygons with 7 points in each. The total point count of both clip and subject polygons is 1885 and the total sub polygon count is 6.
Intersection produced 403 points in 18 sub polygons.
Union produced 1044 points in 16 sub polygons.
Difference produced 1039 points in 21 sub polygons.
Xor produced 1451 points in 22 sub polygons.
These examples are screen captures of Main Demo program, which uses Javascript Clipper library.
Great Britain and Arrows - None
Below we see Subject and Clipping polygons without any modifications.
Great Britain and Arrows - Intersection
Below we see Intersection of both polygons.
Great Britain and Arrows - Union
Below we see Union of both polygons.
Great Britain and Arrows - Difference
Below we see Difference of both polygons.
Great Britain and Arrows - Xor
Below we see Xor of both polygons.