Module pathfinder::coordinate

source ·

Functions

Get a coordinate based of a function.
Get difference in distance.
Get difference in distance that works with negative values.
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.
Rotates the provide Vec around the axis inplace.