[vtkusers] Getting point`s neighborhood
David Doria
daviddoria at gmail.com
Mon Mar 28 07:36:50 EDT 2011
On Mon, Mar 28, 2011 at 12:12 AM, Thiago Franco Moraes
<tfmoraes at cti.gov.br> wrote:
> Hi all,
>
> I need to to get the neighborhood of a point in vtkPolydata. The
> neighborhood of a point is all other points that share a edge. Now I'm
> doing this way: Testing all point with point with polydata.IsEdge(p1,
> p2). Is there a better way of doing that?
>
> Thanks!
Is this what you're looking for?
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/VertexConnectivity
David
More information about the vtkusers
mailing list