Arbitrary contour intersection