distance

Return

the distance from this segment to the point

Parameters

p

a point in 2D space