package
0.0.0-20250106114920-ea5c62e19b1b
Repository: https://github.com/memmaker/go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DistanceChebyshev computes the maximum norm (infinity-norm).
DistanceManhattan computes the taxicab norm (1-norm).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LineOfSight returns a list of points that are in the line of sight between the source and the target.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewFOV returns new ready to use field of view with a given range of valid positions.
No description provided by the author
NewPathRange returns a new PathFinder for positions in a given range, such as the range occupied by the whole map, or a part of it.
No description provided by the author
No description provided by the author
No description provided by the author
NewRect returns a new Rect with coordinates (x0, y0) for Min and (x1, y1) for Max.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
FOV represents a field of vision.
No description provided by the author
LightNode represents the information attached to a given position in a light map.
Neighbors fetches adjacent positions.
Node represents a position in a dijkstra map with a related distance cost relative to the most close source.
PathRange allows for efficient path finding within a range.
No description provided by the author
No description provided by the author
Rect represents a rectangle in a grid that contains all the positions P such that Min <= P < Max coordinate-wise.
# Interfaces
Astar is the interface that allows to use the A* algorithm used by the AstarPath function.
Dijkstra is the interface that allows to build a dijkstra map using the DijkstraMap function.
Lighter is the interface that captures the requirements for light ray propagation.
Pather is the interface used by algorithms that only need neighbor information.
# Type aliases
No description provided by the author