• Parameters

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

      one 2D line in {normal, distance} form, the line the point will be brought onto.

    • line2: UniqueLine

      one 2D line in {normal, distance} form, the line which the perpendicular will be based off.

    • point: [number, number]

      the point to bring onto the line

    Returns UniqueLine[]