For each polygon P of a regular grid made of np
  polygons along each axis, the indexes of its neighbours
  are generated: the neighbours are the polygons included
  in the square  made of
  nvois polygons 
  below, above, at the
  right and left sides of P,  in the limit
  of the grid bounds.