plane and rectangleshape intersect test