• Parameters

    • polygon: [number, number][]
    • line1: UniqueLine

      one 2D line in {normal, distance} form

    • line2: UniqueLine

      one 2D line in {normal, distance} form

    • point1: [number, number]

      the point to bring to the first line

    • point2: [number, number]

      the point to bring to the second line

    Returns UniqueLine[]