SlopeInterceptLine2D

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

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


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

Creates a vertical line given its xIntercept.