csc.Direction¶
- class csc.Direction¶
Direction class Implements direction.
Methods
__init__(self, value)inverse(self)Get the inverse direction.
to_string(self)Get the string representation of the direction.
value(self)Get the value of the direction.
- __annotations__ = {}¶
- __module__ = 'csc'¶
- inverse(self: csc.Direction) csc.DirectionValue¶
Get the inverse direction.
- Returns:
The inverse direction.
- Return type:
1import csc 2d = csc.Direction(csc.DirectionValue.In) 3print(d.inverse())
- to_string(self: csc.Direction) str¶
Get the string representation of the direction.
- Returns:
The string representation of the direction.
- Return type:
- value(self: csc.Direction) csc.DirectionValue¶
Get the value of the direction.
- Returns:
The value of the direction.
- Return type:
1import csc 2d = csc.Direction(csc.DirectionValue.In) 3print(d.value())