Calculates a point on the line from fromPoint to toPoint that is distance units along the length of the line.
fromPoint
toPoint
distance
First point
Second point
Distance along the length that the point should be located.
Point on the line, in the form { x:..., y:... }.
{ x:..., y:... }
Calculates a point on the line from
fromPoint
totoPoint
that isdistance
units along the length of the line.