Module offset_based

Module offset_based 

Source
Expand description

Module for Hex Graph with offset based coordinates. Offset coordinate is the coordinate pointing the same offset with underlying Offset, so converting to the Offset to get the weight of node or edge is just validating. Though, this might be costly for moving the coordinate (move_coord) than axial_based.

Structs§

HexOffset
Offset based coordinates for hex graph.
HexOffsetShape
Shapes for hex graph with offset-based coordinate.

Type Aliases§

ConstHexOffsetShape
Shapes for hex graph with offset-based coordinate with const size. This is ZST.
DiHexGraph
Directed Hex Graph with offset based coordinates.
DiHexGraphConst
Directed Hex Graph with offset based coordinates.
HexGraph
Hex Graph with offset based coordinates.
HexGraphConst
Hex Graph with offset based coordinates.
HexGraphConstLoopEW
Hex Graph with offset based coordinates and loop in e-w direction.
HexGraphLoopEW
Hex Graph with offset based coordinates and loop in e-w direction.