def getSpaceIdxAround(center, nbAround, space): if (nbAround < len(space.calculatedSpaceAroundIdx)): return space.calculatedSpaceAroundIdx[nbAround] # TODO: implement l'algo pour trouver les indices subSapce à nbAround autour du centre def selectPointsInRange(points, coord, distance): found = [] return found def foundMaxIndex(dist): return dist.index(max(dist))