NetLogo 7.0.0-beta2:

gis:intersects?

gis:intersects? x y

Reports true if the given objects’ spatial representations share at least one point in common, and false otherwise. The objects x and y may be any one of:

  • a VectorDataset, in which case the object’s spatial representation is the union of all the points, lines, or polygons the dataset contains.
  • a VectorFeature, in which case the object’s spatial representation is defined by the point, line, or polygon the feature contains.
  • A turtle, in which case the spatial representation is a point.
  • A link, whose spatial representation is a line segment connecting the two points represented by the turtles the link is connecting.
  • A patch, whose spatial representation is a rectangular polygon.
  • An agentset, whose spatial representation is the union of the representations of all of the agents it contains.
  • A list containing of any of the items listed here, including another list. The spatial representation of such a list is the union of the spatial representations of its contents.

Take me to the full GIS Extension Dictionary