

def hasNonFinitePoints(polyData, arrayName='Points'):
    pts = vnp.getNumpyFromVtk(polyData, arrayName)
    return np.isfinite(arrayName).any()

dataset/ETHPy150Open RobotLocomotion/director/src/python/director/filterUtils.py hasNonFinitePoints/VarMisuse@30/47 `pts`->`arrayName`