Ray-casting algorithm: Difference between revisions

m
added whitespace to the task's preamble.
m (→‎{{header|REXX}}: changed/added comments and whitespace, changed indentations.)
m (added whitespace to the task's preamble.)
Line 2:
{{Wikipedia|Point_in_polygon}}
 
<br>
Given a point and a polygon, check if the point is inside or outside the polygon using the [[wp:Point in polygon#Ray casting algorithm|ray-casting algorithm]].