<div>I'm confused with the parameters of <table><td class="memname">vtkUnstructuredGrid::GetCellNeighbors(vtkIdType cellId, vtkIdList* ptIds, vtkIdList* cellIds).</td></table></div>
<div><table><td></td><td>Let's say i have an unstructured grid of tetrahedra elements.</td></table></div>
<div>And i want to get the neighbors of cell with id==1.</div>
<div> </div>
<div>grid->GetCellNeighbors(cellId, ptIds, cellIds) //cellId should be ==1</div>
<div> </div>
<div> </div>
<div><span>1) cellid is the "cell" with id==1 for which i want its neighbors. As "cell" is the tetrahedron cell with id==1 or one of its faces (triangle cell)?</span></div>
<div><span>2) ptIds are cell's(tetrahedron's) points or one of its faces' points?</span></div>
<div><span>3) cellIds are (neighboring) tetrahedra or (neighboring) faces?</span></div>
<div><span></span> </div>
<div>From an old post i found:</div>
<div>Dominik Szczerba wrote "GetCellNeighbours needs cell face points and not cell points. It returns cell face neighbours and not all neighbours." (old post-2006 year).</div>
<div><br> </div>