<div>Correction:</div>
<div>cellIds: ids of neighboring cells?</div>
<div> </div>
<div>Another question: the "neighboring cells" are hexahedrons (NOT the faces of them), right?<br></div>
<div class="gmail_quote">2010/1/19 Bill Chivas <span dir="ltr"><<a href="mailto:noo134@googlemail.com">noo134@googlemail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Hello all,</div>
<div> </div>
<div>i have a grid of hexahedrons and i would like to get the neighbors of a particular cell.</div>
<div>I found there is a method for that.</div>
<div> </div>
<div>
<table>
<tbody>
<tr>
<td valign="top" nowrap>GetCellNeighbors </td>
<td valign="top">( </td>
<td valign="top" nowrap><a href="http://davis.lbl.gov/Manuals/VTK-4.5/vtkSystemIncludes_8h.html#a109" target="_blank">vtkIdType</a> </td>
<td nowrap><em>cellId</em>, </td></tr>
<tr>
<td nowrap align="right"></td>
<td></td>
<td nowrap><a href="http://davis.lbl.gov/Manuals/VTK-4.5/classvtkIdList.html" target="_blank">vtkIdList</a> * </td>
<td nowrap><em>ptIds</em>, </td></tr>
<tr>
<td nowrap align="right"></td>
<td></td>
<td nowrap><a href="http://davis.lbl.gov/Manuals/VTK-4.5/classvtkIdList.html" target="_blank">vtkIdList</a> * </td>
<td nowrap><em>cellIds</em></td></tr>
<tr>
<td></td>
<td>) </td></tr></tbody></table></div>
<div> </div>
<div>cellId: id of the particular cell for which i want to get the neighbors</div>
<div>ptsIds: ids of the points of that particular cell</div>
<div>cellIds: ids of all cells of the grid?</div>
<div> </div>
<div>Am i refering correctly the arguments?</div>
<div>Could someone place a small piece of code?</div>
<div> </div>
<div>Thanks,</div>
<div>Bill
<table>
<tbody>
<tr>
<td colspan="2"></td></tr></tbody></table></div></blockquote></div><br>