<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 "cell" is a e.g. tetrahedron cell or one of its faces?</span></div>
<div><span>2) ptids are cell's points or one of its faces' 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'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"><<a href="mailto:domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>></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>> It is an old post (/Tue Jun 27 04:01:59 EDT 2006/).<br>> Is it correct?<br>> How can i get all neighbors (for cell NOT cell face)?<br>><br>>>OK just for others in future - I figured it out.<br>
>>It is nowhere clearlystated but GetCellNeighbours needs<br>>>cell face points and not cell points.<br>>>It returns cell face neighbours and not all neighbours.<br>>>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>