fromSegment

fun <P : Vector2D<P>> fromSegment(segment: Segment2D<P>): SlopeInterceptLine2D<P>

Creates a line from a non-degenerate segment.