• Calculates a point on the line from fromPoint to toPoint that is distance units along the length of the line.

    Parameters

    • fromPoint: PointXY

      First point

    • toPoint: PointXY

      Second point

    • distance: number

      Distance along the length that the point should be located.

    Returns PointXY

    Point on the line, in the form { x:..., y:... }.

Version :