Module pathfinder::coordinate

source ·

Functions

Get difference in distance.
Get the distance between two Coordinates’.
Constructs a vector of generic structs from a given list convered to Coordinates.
Constructs a randomly positioned coordinate.
Generate a Coordinate from a given Coordinate and randomly places it within a min and max radius.
Generate a Coordinate from a given Coordinate and randomly places it within a radius.