implemented a second getCircleIntersection funciton based on diff parameters