Debian Codegraph @

docs/manual/Polygon__Get_location_of_point___.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Polygon: Get location of point...</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 Polygon: Get location of point...
13 </b></font></table></table>
14 <p>Determines whether a given point is on the <b>I</b>nside, the <b>O</b>utside, on an <b>E</b>dge or on a <b>V</b>ertex of the selected Polygon.</p>
15 <h2>Algorithm</h2>
16 <p>We determine how often a horizontal line extending from the point crosses the polygon. If the number of crossings is even, the point is on the outside, else on the inside. Special care is taken to be able to detect if a point is on the boundary of the polygon. The used algorithm is from <a href="Hormann___Agathos__2001_.html">Hormann & Agathos (2001)</a>.</p>
17 <hr>
18 <address>
19 <p>© djmw 20120220</p>
20 </address>
21 </body>
22 </html>