InPoly: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

1 October 2024

  • curprev 07:0307:03, 1 October 2024Habi talk contribs 727 bytes +727 Created page with "{{Welcome| desc=Checks if a point is inside a polygon defined by multiple vertices.| params=<syntaxhighlight lang="lua">(px, py, x1, y1, x2, y2, ...)</syntaxhighlight> <poem>::px, py: The coordinates of the point to be checked. ::x1, y1: The coordinates of the first vertex of the polygon. ::x2, y2: The coordinates of the second vertex of the polygon. ::...: The coordinates of subsequent vertices of the polygon.</poem>| retvals=Returns `true` if the point is inside the po..."