def _write_points(f, points, float_fmt):
    """
    Write points coordinates.
    """
    for i, point in enumerate(points):
        fmt = 'G\t{:8}\t' + '\t'.join(3 * ['{:' + float_fmt + '}']) + '\n'
        f.write(fmt.format(i + 1, *point))
