[vtkusers] Getting point`s neighborhood

Thiago Franco Moraes tfmoraes at cti.gov.br
Mon Mar 28 09:11:44 EDT 2011


On Mon, Mar 28, 2011 at 8:36 AM, David Doria <daviddoria at gmail.com> wrote:
> 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

Thank you, David. That is what I was looking for.



More information about the vtkusers mailing list