from typing import Tuple


def get_dimensions(
    x0: float, x1: float, y0: float, y1: float, z0: float, z1: float, res: float = 0.1
) -> Tuple[int, int, int]:
    """
    Mesh dimensions in unit of res.

    Args:
        x0: x min.
        x1: x max.
        y0: y min.
        y1: y max.
        z0: z min.
        z1: z max.
        res: Resolution of the mesh to use in Å

    Returns:
        xsteps, ysteps, zsteps
    """
    xrange = x1 - x0
    yrange = y1 - y0
    zrange = z1 - z0

    xsteps = int(xrange // res)
    ysteps = int(yrange // res)
    zsteps = int(zrange // res)

    return xsteps, ysteps, zsteps