def BottomNeighbor(self, tileid):
return tileid if (tileid < self.ncolumns) else (tileid - self.ncolumns)
# Get the list of tiles that lie within the specified bounding box.
# The method finds the center tile and spirals out by finding neighbors
# and recursively checking if tile is inside and checking/adding
# neighboring tiles
评论列表
文章目录