Source code for console.interfaces.dimensions

"""Interface class for dimensions."""

from dataclasses import dataclass


[docs] @dataclass(frozen=True) class Dimensions: """Dataclass for definition of dimensional parameters.""" x: float | int # pylint: disable=invalid-name """X dimension.""" y: float | int # pylint: disable=invalid-name """Y dimension.""" z: float | int # pylint: disable=invalid-name """Z dimension."""