Line algorithim for python and numeric

Fredrik Lundh fredrik at pythonware.com
Fri Oct 13 18:05:27 CEST 2006


Theerasak Photha wrote:

> I'm not in kolluge yet and I just learned about linear interpolation
> today---although I don't think it would necessarily apply to this
> problem, where the increments set by the grid might be more discrete
> than the line itself

that's usually solved by stepping along the grid in one direction, and 
interpolating in the other.

</F>




More information about the Python-list mailing list