Composite Intersecting Polygon

Create a composite polygon from the intersection of two polygons. Uses vector analysis and Point-in-polygon: Jordan Curve Theorem.


SVG Source:
Javascript: