[vtkusers] vtkUnstructuredGrid::GetCellNeighbors
Bill Chivas
noo134 at googlemail.com
Tue Jan 19 05:15:18 EST 2010
Hello all,
i have a grid of hexahedrons and i would like to get the neighbors of a
particular cell.
I found there is a method for that.
GetCellNeighbors (
vtkIdType<http://davis.lbl.gov/Manuals/VTK-4.5/vtkSystemIncludes_8h.html#a109>
*cellId*, vtkIdList<http://davis.lbl.gov/Manuals/VTK-4.5/classvtkIdList.html>*
*ptIds*, vtkIdList<http://davis.lbl.gov/Manuals/VTK-4.5/classvtkIdList.html>*
*cellIds* )
cellId: id of the particular cell for which i want to get the neighbors
ptsIds: ids of the points of that particular cell
cellIds: ids of all cells of the grid?
Am i refering correctly the arguments?
Could someone place a small piece of code?
Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100119/23e0cc31/attachment.htm>
More information about the vtkusers
mailing list