• Calculates the gradient of a line between the two points.

    Parameters

    • p1: PointXY

      First point in the line

    • p2: PointXY

      Second point in the line

    Returns number

    The gradient of a line between the two points.

Version :