def mesh_size(mesh, unit_length):
    """
    Return the maximum extent of the mesh along any of the x/y/z axes.

    """
    coords = mesh.coordinates()
    max_extent = max(coords.max(axis=0) - coords.min(axis=0))
    return max_extent * unit_length