Added example: distance from point to line segment