ining</h3>

<p>This join type is a hybrid between <a href="#16">16-state</a> and
<a href="#161">161-state joining</a>. Partial corners are allowed, but the
difference between inside and filled corners is meaningless. A corner is only
considered connected if one and only one side next to it is also connected.</p>

<p>Templates for 82-state joining need states 187 and 238, but not 255.</p>

<p>To reduce a set of bit flags to a valid 82-state form, use this formula:
<blockquote><code>flags &amp;= (flags &lt;&l