Macrosยง
- debug_
airship_ ๐eulerization - debug_
airships ๐
Structsยง
- Airship
Dock Positions - The docking postions at an AirshipDock plot.
- Airship
Docking Approach - Information needed for an airship to travel to and dock at an AirshipDock plot.
- Airship
Docking Position - A docking position (id, position). The docking position id is an index of all docking positions in the world.
- Airship
Route Leg - One leg of an airship route.
- Airship
Spawning Location - Information needed for placing an airship in the world when the world is generated (each time the server starts).
- Airships
- Data for airship operations. This is generated world data.
- Dock
Node - A node on the triangulation of the world docking sites, with data on the nodes that are connected to it.
Enumsยง
- Airship
Dock Platform - The AirshipDock Sites are always oriented along a cardinal direction. The docking platforms are likewise on the sides of the dock perpendicular to a cardinal axis.
- Airship
Docking Side - An airship can dock with its port or starboard side facing the dock.
Staticsยง
- ENSW_
PLATFORMS ๐ - ESNW_
PLATFORMS ๐ - NEWS_
PLATFORMS ๐ - NWES_
PLATFORMS ๐ - SEWN_
PLATFORMS ๐ - SWEN_
PLATFORMS ๐ - WNSE_
PLATFORMS ๐ - WSNE_
PLATFORMS ๐
Traitsยง
- Triangulation
Ext ๐ - Extension functions for Triangulation (from the triangulate crate).
Functionsยง
- add_
edge ๐ - Adds an edge between two nodes in the tesselation graph.
- best_
eulerian_ ๐circuit_ segments - Get the optimal grouping of Eulerian Circuit nodes and edges such that a maximum number of sub-circuits are created, and the length of each sub-circuit is as similar as possible.
- find_
best_ ๐eulerian_ circuit - Find the best Eulerian circuit for the given graph of dock nodes. Try each node as the starting point for a circuit. The best circuit is the one with the longest routes (sub-segments of the circuit), and where the route lengths are equal as possible.
- first_
odd_ ๐node - Find the first node in the graph where the DockNode has an odd number of connections to other nodes.
- remove_
edge ๐ - Removes an edge between two nodes in the tesselation graph.
Type Aliasesยง
- Dock
Node ๐Graph - A map of node index to DockNode, where DockNode contains a list of nodes that the node is connected to.