On 10/13/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > 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.
Could rounding still be an issue? I sketched a line w/ m = 1/3 and could see different possible outcomes for certain points on the line in between each 3rd point on the x axis. -- Theerasak -- http://mail.python.org/mailman/listinfo/python-list