getIntersections argument not present

There should be an argument of pos to be passed for getIntersections function