Intersection of sphere and plane