Distance to moved point should be w.r.t. segment.
Distance to moved point should be w.r.t. segment.

Before this fix, the distance to the intersection was measured by the distance to the _line_ goint through some points A and C on the poly-like in question. However, only the _line-segment_ is of course on the poly-like, anything 'just' on the line could be very far indeed from the intended location. Luckily there was already a method that checks this, so it was just a question of swapping out the line method for the line-segment method. (As an aside: Note the parameter-ordering -- that has to be different between the two methods for some reason, since the method now used has the point in the middle instead of at the beginning?)

CURA-9425

Ultimaker/CuraEngine,Ultimaker/CuraEngine