• Checks if a line segment is inside a polygon.

    Parameters

    • line: Point[]

      The line segment [start, end].

    • polygon: Point[]

      An array of points representing the polygon.

    Returns boolean

    true if the line segment is inside the polygon, otherwise false.

    Not Exported