<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><tr><td class="md" nowrap valign="top">GetCellNeighbors </td><td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="http://davis.lbl.gov/Manuals/VTK-4.5/vtkSystemIncludes_8h.html#a109">vtkIdType</a> </td>
<td class="mdname" nowrap><em>cellId</em>, </td></tr><tr><td class="md" nowrap align="right"></td><td></td><td class="md" nowrap><a class="el" href="http://davis.lbl.gov/Manuals/VTK-4.5/classvtkIdList.html">vtkIdList</a> * </td>
<td class="mdname" nowrap><em>ptIds</em>, </td></tr><tr><td class="md" nowrap align="right"></td><td></td><td class="md" nowrap><a class="el" href="http://davis.lbl.gov/Manuals/VTK-4.5/classvtkIdList.html">vtkIdList</a> * </td>
<td class="mdname" nowrap><em>cellIds</em></td> </tr><tr><td></td><td class="md">) </td></tr></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><td class="md" colspan="2"></td></table></div>