def select_points_x(glyph, linePos, side='left'):
    for c in glyph.contours:
        for p in c.points:
            # select points to the left of the line
            if side == 'left':
                if p.x <= linePos:
                    p.selected = True
            # select points to the right of the line
            else:
                if p.x >= linePos:
                    p.selected = True
    glyph.update()
Select all points in ``glyph`` to left/right of ``linePos(x)``.
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/modules/glyphutils.py/select_points_x