<div><span><b class="highlight">GetCellNeighbors</b> </span><span></span><table><td valign="top"><span>( </span></td><td><span> </span><td nowrap valign="top"><span>vtkIdType</span><span> </span></td><td><span> </span><td nowrap>
<em><span>cellId</span></em><span>, </span></td><td><span></span><tr><span></span><td nowrap align="right"></td><td><span></span><td></td><td><span></span><td nowrap><span>vtkIdList</span><span> * </span></td><td><span> </span><td nowrap>
<em><span>ptIds</span></em><span>, </span></td></td></td></td></tr><td><span></span><tr><span></span><td nowrap align="right"></td><td><span></span><td></td><td><span></span><td nowrap><span>vtkIdList</span><span> * </span></td>
<td><span> </span><td nowrap><em><span>cellIds</span></em></td></td></td></td></tr><td><span> </span><tr><span></span><td></td><td><span></span><td><span>) </span></td></td></tr></td></td></td></td></td></table></div>
<div><span></span> </div>
<div><span>1) cellid is the cell i want its neighbors. As &quot;cell&quot; is a e.g. tetrahedron cell or one of its faces?</span></div>
<div><span>2) ptids are cell&#39;s points or one of its faces&#39; points?</span></div>
<div><span>3) cellids are cells (e.g. neighboring tetrahedra) or faces (neighboring faces)?</span></div>
<div><span></span> </div>
<div><span>I&#39;m a little confused!</span></div>
<div><span></span> </div>
<div><span></span> </div>
<div class="gmail_quote">2010/1/20 Dominik Szczerba <span dir="ltr">&lt;<a href="mailto:domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Yes, GetCellNeighbours is the way to go. AFAIR it expect cell FACE ids<br>
and will return all cells containing all given points.<br><br>Dominik<br>
<div>
<div></div>
<div class="h5"><br>Bill Chivas wrote:<br>&gt; It is an old post (/Tue Jun 27 04:01:59 EDT 2006/).<br>&gt; Is it correct?<br>&gt; How can i get all neighbors (for cell NOT cell face)?<br>&gt;<br>&gt;&gt;OK just for others in future - I figured it out.<br>
&gt;&gt;It is nowhere clearlystated but GetCellNeighbours needs<br>&gt;&gt;cell face points and not cell points.<br>&gt;&gt;It returns cell face neighbours and not all neighbours.<br>&gt;&gt;Dominik<br><br></div></div>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br><br>iEYEARECAAYFAktW+JsACgkQ/EBMh9bUuzJuMwCgpx0v8VEqJNbkg2v14dyFUaHC<br>5wcAoNJRWwdua2vxF4mzM+NgTqtyrejP<br>=Uo3b<br>-----END PGP SIGNATURE-----<br></blockquote></div><br>