• Calculates the quadrant in which the angle between the two points lies.

    Parameters

    • p1: PointXY

      First point in the line

    • p2: PointXY

      Second point in the line

    Returns Quadrant

    The quadrant - 1 for upper right, 2 for lower right, 3 for lower left, 4 for upper left.