yawning_titan.networks.network_creator.check_if_nearby#

yawning_titan.networks.network_creator.check_if_nearby(pos, full_list, value)[source]#

Check if a randomly generated point is close to points already generated.

Parameters:
  • pos – The x,y position as a list.

  • full_list – The full list of positions.

  • value – The separation value.

Returns:

True if nearby, otherwise False.