def addPointOnPathIfFree(path, pathIndex, pixelTable, point, pointIndex, width):
 if isAddedPointOnPathFree(path, pixelTable, point, pointIndex, width):
  addPointOnPath(path, pathIndex, pixelTable, point, pointIndex, width)

def addPointOnPathIfFree ( path , pathIndex , pixelTable , point , pointIndex , width ) : if isAddedPointOnPathFree ( path , pixelTable , point , pointIndex , width ) : addPointOnPath ( path , pathIndex , pixelTable , point , pointIndex , width )
add the closest point to a path .