toio.coordinate_systems module

class toio.coordinate_systems.ToioRelativeCoordinateSystem(origin: Point = Point(x=0, y=0))[source]

Bases: CoordinateSystemABC

__init__(origin: Point = Point(x=0, y=0))[source]
set_origin(origin: Point) None[source]
to_native_angle(angle: int | float) int | float[source]
to_native_x(x: int | float) int | float[source]
to_native_y(y: int | float) int | float[source]
from_native_angle(angle: int | float) int | float[source]
from_native_x(x: int | float) int | float[source]
from_native_y(y: int | float) int | float[source]
class toio.coordinate_systems.VisualProgrammingCoordinateSystem(origin: Point = Point(x=0, y=0))[source]

Bases: CoordinateSystemABC

__init__(origin: Point = Point(x=0, y=0))[source]
set_origin(origin: Point) None[source]
to_native_angle(angle: int | float) int | float[source]
to_native_x(x: int | float) int | float[source]
to_native_y(y: int | float) int | float[source]
from_native_angle(angle: int | float) int | float[source]
from_native_x(x: int | float) int | float[source]
from_native_y(y: int | float) int | float[source]