On 20 April 2012 07:53, Viesturs Lācis <viesturs.la...@gmail.com> wrote: > The only thing I do not get, is how to do the reverse math - describe > a line, if (a lot of) points on it are provided. It does not seem to > be problem finding formulas on the web to calculate a coordinates of a > point on a described line. But reversing that seems difficult.
It is relatively straightforward to convert a series of points to a 3D polynomial (a least-squares curve fit will do it) However, that returns a polynomial, which isn't an arc or a line. Then there is the question of what subset of all the points should be fitted at any one time. -- atp The idea that there is no such thing as objective truth is, quite simply, wrong. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users