Slope Intercept Line2D
fun <P : Vector2D<P>> SlopeInterceptLine2D(slope: Double, yIntercept: Double, createPoint: (Double, Double) -> P)
Content copied to clipboard
Creates a non-vertical line given its slope and yIntercept.
fun <P : Vector2D<P>> SlopeInterceptLine2D(xIntercept: Double, createPoint: (Double, Double) -> P)
Content copied to clipboard
Creates a vertical line given its xIntercept.