Add function to interpolate line width between segments
Add function to interpolate line width between segments

This assumes the point is between segments. It works completely based on the distances between the point and the segments. If it's not in between, then it'll pretend it's on the circle at the same distance from A in the position that is on the edge.

Contributes to issue CURA-7828.

Ultimaker/CuraEngine,Ultimaker/CuraEngine