polylines/utils/hit_tester library