I have 2 polygons, which are made with PoolVector2Arrays.
var PolygonA = PoolVector2Array(a,b,c,d)
var PolygonB = PoolVector2Array(x,y,z)
Now I want to get the intersection points of the two Polygons. (Look at the picture)

I would be very pleased, if somebody could give me an idea how I can get these points.