hex_direction Function

public pure function hex_direction(idir) result(dir)

Return a direction in pseudo-3D hex space, given a (signed) integer label

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: idir

Return Value type(hex)


Called by

proc~~hex_direction~~CalledByGraph proc~hex_direction hex_neighbors::hex_direction proc~hex_hop hex_neighbors::hex_hop proc~hex_hop->proc~hex_direction proc~hex_nearest hex_neighbors::hex_nearest proc~hex_nearest->proc~hex_hop