Turtle path intersection algorithms.