def flipNormalsWithViewDirection(polyData, viewDirection):
    normals = vnp.getNumpyFromVtk(polyData, 'normals')
    normals[0 > np.dot(normals, viewDirection)] *= -1
dataset/ETHPy150Open RobotLocomotion/director/src/python/director/segmentation.py/flipNormalsWithViewDirection/swapped operands of `>`