SlopeInterceptLine2D

fun <P : Vector2D<P>> SlopeInterceptLine2D(slope: Double, yIntercept: Double, createPoint: (Double, Double) -> P)

Creates a non-vertical line given its slope and yIntercept.


fun <P : Vector2D<P>> SlopeInterceptLine2D(xIntercept: Double, createPoint: (Double, Double) -> P)

Creates a vertical line given its xIntercept.