From: Sharad Jain on
"Tim Butler" <tim23x(a)hotmail.com> wrote in message <eecbd0e.-1(a)webx.raydaftYaTP>...
> I have a two dimensional (432x3) array of data - the columns hold the
> x, y and z co-ords of 432 points which lie on a cylinder. The points
> are in no particular order and the cylinder is not orientated to any
> particular axis. In fact the only information I have about the
> cylinder are the co-ords of these points. I would like to find the
> centre and orientation of the cylinder on which these points lie so
> that I can align the axis of the cylinder to a co-ordinate system of
> my choice. Any help appreciated - I can do the translation it's just
> discovering the orientation I'm stuck on.
>
> Cheers,
> Tim

Hi Tim,
Even I have a similar issue, where in I have data in poly gone files (*.ply). The data is not a cylinders data rather is an randomized data. What I need to do is to fit cylinder to this data. There is no detail about the orientation of this data. However what can be done is that extreme points in the data can be located and a line can be drawn between the two. The same can be used as the axis of the cylinder. The problem is similar to yours now. Please let me know how I can make my way ahead as I am stuck on this.

Best Regards,
Sharad Jain.