ofInclusivePoints
fun ofInclusivePoints(point1X: Double, point1Y: Double, point2X: Double, point2Y: Double): LinearFunction
Returns a linear function constructed by (point1X, point1Y) and (point2X, point2Y) within a closed parameter range.
Return
linear function with inclusive starting and stopping points
Parameters
point1X
x value of starting point
point1Y
y value of starting point
point2X
x value of stopping point
point2Y
y value of stopping point