iterate points getIntersection.py