(</span><span class="n">group</span><span class="p">,</span> <span class="s2">&quot;__iter__&quot;</span><span class="p">):</span>
                    <span class="k">raise</span> <span class="ne">TypeError</span><span class="p">(</span><span class="s2">&quot;group membership list must be iterable&quot;</span><span class="p">)</span>

                <span class="c1"># Get the vertex indices that constitute the convex hull</span>
                <span class="n">hull</span> <span class="o">=</span> <span cla