Orientation#

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

Bases: Enum

Either horizontal or vertical orientation.

Methods

flip()

Flip self, returning the opposite orientation.

Attributes

HORIZONTAL

VERTICAL

Detailed methods

flip()[source]#

Flip self, returning the opposite orientation.

Return type:

Orientation