[vtkusers] Obtain Points from Polydata

lgriffiths lgriffiths.aero at gmail.com
Wed Jan 15 12:37:46 EST 2014


By triangles I assume you mean the cells? You can use GetCell

Take a look at GetPointCells and GetCellPoints, these will return The cells
conntect to a point, or Points connected to a cell

Remember to use polydata.BuildCells() or polydata.BuildLinks()

Take a look here also if you want to loop over the connectivity:
http://vtk.1045678.n5.nabble.com/Neighbours-of-a-point-in-a-mesh-td1236245.html#a1236246





--
View this message in context: http://vtk.1045678.n5.nabble.com/Obtain-Points-from-Polydata-tp5725372p5725414.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list