You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3nar/function.py

12 lines
395 B

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))