Direction3D#

class tqec.utils.Direction3D(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

Axis directions in the 3D spacetime diagram.

Methods

all_directions()

Return all the directions.

spatial_directions()

temporal_directions()

from_neighbouring_positions(source, sink)

Attributes

orthogonal_directions

X

Y

Z

Detailed methods

static all_directions()[source]#

Return all the directions.

Return type:

list[Direction3D]

static spatial_directions()[source]#
Return type:

list[Direction3D]

static temporal_directions()[source]#
Return type:

list[Direction3D]

static from_neighbouring_positions(source, sink)[source]#
Parameters:
Return type:

Direction3D