Patcheson the left
Report the coordinates of the
patches at the given distances of the
angle left of their
patchLeft(world, turtles, dist, angle, torus = FALSE) # S4 method for worldNLR,agentMatrix,numeric,numeric patchLeft(world, turtles, dist, angle, torus = FALSE)
AgentMatrix object representing the moving
Numeric. Vector of distances from the
dist must be
of length 1 or of length
Numeric. Vector of angles in degrees by which the
headings should rotate to locate the patches. Must be of length 1 or of
Logical to determine if the
world is wrapped. Default is
torus = FALSE.
ncol = 2) with the first column
pxcor and the second
pycor representing the coordinates of the
dist distances of the
angle to the left of their
The order of the
patches follows the order of the
If a given
dist value is negative, then the
turtle would look backward.
If a given
angle value is negative, then the
turtle would look to the right.
torus = FALSE and the
patch at distance
dist of a
angle degrees to the left of its
heading is outside the
are returned for the
patch coordinates. If
torus = TRUE, the
coordinates from a wrapped
world are returned.
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University. Evanston, IL.