dont add segments which would have zero length.
...
fix for point along path in arc segment (was ignoring clockwise/anticlockwise difference)