tor.shift(pts,xsh=0.0,ysh=0.0,rect)
pts
is used.pts
, but after application of a toroidal
shift along the x and y axes.rect
is assumed connected at its top and bottom edges, and at its left and
right sides. A shift of xsh
and ysh
is applied to the
points and the resulting set of points returned.shift