Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Aug 28, 2024
2 parents 93d2a5e + 945967e commit 23427d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/skeletor/skeletonize.html
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ <h6 id="references">References</h6>
</span><span id="by_tangent_ball-228"><a href="#by_tangent_ball-228"><span class="linenos">228</span></a> <span class="n">directed</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
</span><span id="by_tangent_ball-229"><a href="#by_tangent_ball-229"><span class="linenos">229</span></a>
</span><span id="by_tangent_ball-230"><a href="#by_tangent_ball-230"><span class="linenos">230</span></a> <span class="c1"># Make sure that every connected component has at least one valid target</span>
</span><span id="by_tangent_ball-231"><a href="#by_tangent_ball-231"><span class="linenos">231</span></a> <span class="k">for</span> <span class="n">cc</span> <span class="ow">in</span> <span class="n">G</span><span class="o">.</span><span class="n">clusters</span><span class="p">():</span>
</span><span id="by_tangent_ball-231"><a href="#by_tangent_ball-231"><span class="linenos">231</span></a> <span class="k">for</span> <span class="n">cc</span> <span class="ow">in</span> <span class="n">G</span><span class="o">.</span><span class="n">connected_components</span><span class="p">():</span>
</span><span id="by_tangent_ball-232"><a href="#by_tangent_ball-232"><span class="linenos">232</span></a> <span class="k">if</span> <span class="ow">not</span> <span class="n">np</span><span class="o">.</span><span class="n">isin</span><span class="p">(</span><span class="n">cc</span><span class="p">,</span> <span class="n">original_ind</span><span class="p">[</span><span class="o">~</span><span class="n">inv</span><span class="p">])</span><span class="o">.</span><span class="n">any</span><span class="p">():</span>
</span><span id="by_tangent_ball-233"><a href="#by_tangent_ball-233"><span class="linenos">233</span></a> <span class="n">inv</span><span class="p">[</span><span class="n">cc</span><span class="p">[</span><span class="mi">0</span><span class="p">]]</span> <span class="o">=</span> <span class="kc">False</span>
</span><span id="by_tangent_ball-234"><a href="#by_tangent_ball-234"><span class="linenos">234</span></a> <span class="n">centers</span><span class="p">[</span><span class="n">cc</span><span class="p">[</span><span class="mi">0</span><span class="p">]]</span> <span class="o">=</span> <span class="n">mesh</span><span class="o">.</span><span class="n">vertices</span><span class="p">[</span><span class="n">cc</span><span class="p">[</span><span class="mi">0</span><span class="p">]]</span>
Expand Down

0 comments on commit 23427d5

Please sign in to comment.