This function does not return a value at its end, but it can happen that pos is close to 1 (e.g. 0.9999999999999) and due to some numerical errors the for loop does not return anything. There is no return value after the loop and thus None is returned instead of e.g. self._segments[-1].point(1)
This function does not return a value at its end, but it can happen that
pos
is close to 1 (e.g. 0.9999999999999) and due to some numerical errors the for loop does not return anything. There is no return value after the loop and thus None is returned instead of e.g.self._segments[-1].point(1)