Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

cells touched in grid on move between cells

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115833] cells touched in grid on move between cells
  • From: Larz <wbsurfver at gmail.com>
  • Date: Sat, 22 Jan 2011 03:21:38 -0500 (EST)

 What is the basic calculation or formula to calculate what cells are
passed through in a grid in a move between cells.

Say I am at x1,y2 and I want to move to x2,y2. I want to calculate all
the cell coordinates I have to pass through in that move. Sorry if my
math is a bit rusty, but offhand I am not sure what the formula is ..


  • Prev by Date: Re: adding a keyboard shortcut for double brackets
  • Next by Date: Re: SetOptions does not work with Grid
  • Previous by thread: Re: Help with non-linear system of equations
  • Next by thread: Re: cells touched in grid on move between cells