SlopeInterceptLine2D

constructor(slope: Double, yIntercept: Double, createPoint: (Double, Double) -> P)

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


constructor(xIntercept: Double, createPoint: (Double, Double) -> P)

Creates a vertical line given its xIntercept.