Function isIntersecting

Returns the intersection result between a and b. a can be a CirclePositioned or RectPositioned b can be as above or a Point.