• Calculates the slope and y-intercept of a line passing through two points.

    Parameters

    • point0: Point

      The first point.

    • point1: Point

      The second point.

    Returns [number, number]

    An array containing the slope and y-intercept.

    Not Exported