Added computeIntersectionPoint member function