• Checks if a point is inside a polygon.

    Parameters

    • point: Point

      The point to check.

    • polygon: Point[]

      An array of points representing the polygon.

    Returns boolean

    true if the point is inside the polygon, otherwise false.

    Not Exported