[z1915] Improve GetNearPoint

(cleaned version of c06e24f)

(based on commit [s1497] - 59770e7)