1d86d61782
Return early when there is only one point, since that means there are no segments.
Return early when there is only one point, since that means there are no segments.