<div dir="ltr">On Fri, Oct 21, 2016 at 5:36 PM, SM Rolfe <span dir="ltr"><<a target="_blank" href="mailto:smrolfe@uw.edu">smrolfe@uw.edu</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr">Hello,<div>I have been using the vtkConnectivityFilter successfully on polydata stored as .vtp files. I just used it on a new file, and instead of getting the correct number of components, the number of regions was equal to the number of cells. Looking at files, I don't see any obvious differences. Any insight on what could cause this type of error would be helpful. </div><div>Thanks,</div><div>Sara<br></div></div></blockquote><div><br></div><div>My guess is that the cells don't actually share geometry/points. That is, imagine two triangles that share an edge. This should be only 4 points (ABC and BCD, where the shared edge is BC). If instead the data has 6 points (ABC and DEF), even if the coordinates of B are the same as E and the coordinates of C are the same as F, they are not "connected" in a topological sense.<br></div><div><div><div class="gmail_signature"><br>David</div></div></div></div></div></div>