• Parameters

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

      one 2D line in {vector, origin} form

    • line2: VecLine2

      one 2D line in {vector, origin} form

    • point1: [number, number]

      the point to bring to the first line

    • point2: [number, number]

      the point to bring to the second line

    Returns VecLine2[]