n right vertex <strong>B</strong>, we check the positions of their left endpoints. If the vertices <strong>A<sub>0</sub></strong>, <strong>A<sub>1</sub></strong>, and <strong>B</strong> form a clockwise pattern, then <strong>A<sub>1</sub>B</strong> is closer to <strong>P</strong> than <strong>A<sub>0</sub>B</strong>.</p>
<h3 id="middle-case"><a class="header" href="#middle-case">Middle Case</a></h3>
<p><img src="overlay/extract/segment_under_segment_ab.svg" alt="Middle Case" /></p>
<p>In this case, one of t