[vtkusers] calculation of an angle between two poly data

Hila Hiler hilahiler at gmail.com
Thu Mar 1 12:49:26 EST 2012


Hi all,

I need an advise regarding the algorithm that I should manipulate in order
to calculate the angle between two poly data.
Those poly data are in 3D.

polyData1 represents a set of lines that were assigned like this:

vtkCellArray*  linesContainer;
...
polyData1->SetLines ( linesContainer);

and polyData2 is a vtkTubeFilter.

 - how can I access/extract that polys direction in order to calculate the
angle between them?


any ideas would be very appreciated.

Hila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120301/376cb7df/attachment.htm>


More information about the vtkusers mailing list