get_squared_distance() is not supported for segment-vector distance.

Closes #817.