[][src]Crate pathfinder

Modules

coordinate

Extra functionality for coordinates.

data

Converts data in to Nodes and Groups.

group

Extra functionality for groups.

map

Functions to manage large numbers of placable entities.

node

Extra functionality for nodes.

shape

Shapes used to calculate areas.

tools

Useful functions not bound to any specific functionality.

Structs

Coordinate

Holds a Coordinate on a x and y plane. It's implemented in Nodes, Groups, HL and the Location trait to enable differennt structures to be drawn.

Group

Holds a set of nodes and applies properties to all child nodes when drawn. The group itself has no displayed output and is not visible. It contains a Node used for Group meta data.

HL

Connection between links. HL stands for HashLink, because it uses hashes for references to other points.

IW

Image wrapper around the Image crate to enable better debugging panics.

Map

High abstraction Map which helps position objects.

Network

Enables traversing through a network of connected nodes. Checking if a path is valid and setting new paths.

Node

A Location object that can be drawn on an image, along with set size and color.

Traits

Draw

Functions required to draw the structure on the image.

Find

Makes it possible to find connected nodes in networks.

Hash

Provides the function to retrieve a hash from a structure.

Location

Enables the structure to be located by X or Y.

MinMax

Enables retrieving the minimum and maximum position for the structure.

Shape

Provides the functions to create a generic shape.